Metadata-Version: 2.4
Name: pcbnewtransition
Version: 0.5.2
Summary: Library that allows you to support both, KiCAD 6 to 9 in your plugins
Home-page: https://github.com/yaqwsx/pcbnewTransition
Author: Jan Mrázek
Author-email: email@honzamrazek.cz
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# Pcbnew Transition

This library allows you to easily support KiCAD 8, 7 and 6 in your KiCAD
plugins. It basically monkeypatches KiCAD Python module, so it matches KiCAD 8
API.
## Usage

Instead of:

```python
import pcbnew
from pcbnew import EDA_ANGLE
```

Use:

```python
from pcbnewTransition import pcbnew
from pcbnewTransition.pcbnew import EDA_ANGLE
```

And then, use the API for KiCAD 8. In case you need to distinguish the versions,
you can:

```python
from pcbnewTransition import KICAD_VERSION, isV6

if isV6():
    # something...
```
