Skip to main content

KinJector

https://img.shields.io/pypi/v/kinjector.svg

Inject/eject JSON/YAML data to/from KiCad Board files.

Features

  • Parameters in one or more JSON or YAML files can be injected into a KiCad PCB file.

  • Parameters from a KiCad PCB file can be extracted and stored in a JSON or YAML file.

  • The currently-supported set of parameters can control the design rules, net classes, assignment of netclasses to particular nets, plotting options, and (X,Y)/orientation/top-bottom-side position of part footprints.

  • Subsets of parameters can be used to restrict the scope of effects upon the PCB.

  • A script is provided to allow injection/ejection of JSON/YAML data to/from a KiCad PCB file. In addition, the kinjector module can be used within other Python scripts to manipulate KiCad PCB files.

History

1.0.0 (2021-09-16)

  • Decided this tool was mature to the point it could be called 1.0.0.

0.0.6 (2020-02-14)

  • yaml.load() will accept a KiCad board file as legal YAML, so place additional checks to detect yaml files and prevent over-writing .kicad_pcb files with YAML.

0.0.5 (2019-06-19)

  • Rearranged hierarchy of board data to more closely reflect KiCad board setup dialog.

0.0.4 (2019-06-10)

  • Added ability to inject/eject plot settings (but not drill settings).

0.0.3 (2019-06-07)

  • Added ability to inject/eject layer enables and visibility.

0.0.2 (2019-05-29)

  • Added ability to inject/eject part (X,Y), orientation, and PCB top/bottom-side.

  • Added ability to inject/eject board design rules.

  • Now works with both JSON and YAML file formats.

  • Unit tests added.

  • Command-line tool added.

  • Documentation added.

0.0.1 (2019-05-15)

  • First release on PyPI.

Metadata

Release files for kinjector 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kinjector 1.0.0
File Size Uploaded
kinjector-1.0.0.tar.gz 409.0 kB Details

Release files / kinjector-1.0.0.tar.gz

Download URL kinjector-1.0.0.tar.gz
Size 409.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c0422d28f9f6d5ea84ce67d431b5ad23d687caabf00f3ea0d98e1753bf52d755
BLAKE2b-256 checksum
How to use checksums
93e57b9d1f9c7d9083ecb37a0431cbc7c04404ed0c67c0b462f2f66b6f374f69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page