Skip to main content

Library that allows you to support both, KiCAD 6 to 9 in your plugins

Project description

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:

import pcbnew
from pcbnew import EDA_ANGLE

Use:

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:

from pcbnewTransition import KICAD_VERSION, isV6

if isV6():
    # something...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pcbnewtransition-0.5.2.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

pcbnewtransition-0.5.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file pcbnewtransition-0.5.2.tar.gz.

File metadata

  • Download URL: pcbnewtransition-0.5.2.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for pcbnewtransition-0.5.2.tar.gz
Algorithm Hash digest
SHA256 ccb9ef6eed06da624a0872c28db20a1c1a927dd132851fb569f90e154fbe4df2
MD5 91896404f5e3642ca5c7f835afadc564
BLAKE2b-256 dcff9711b884555f6acbeae5b9c169ab5462bdf6c168045b8b548bc1642a16f2

See more details on using hashes here.

File details

Details for the file pcbnewtransition-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pcbnewtransition-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 164097fbcc94a2e9ebbac82d0851650f43e94638b4ccfa1dc4836a4c77769f3a
MD5 7dc3e0850230544e6dc05f9b57d08315
BLAKE2b-256 eff6c9708c695326075a340680239ca38ecff105b9f42bef907a39a1cfae43f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page