Skip to main content

Kicad-CLI python bindings

Project description

KiCAD CLI python bindings

Strongly typed, auto-generated python bindings for KiCAD's command line interface.

Usage

Setup

pip install kicadcliwrapper

Examples

from kicadcliwrapper.generated.kicad_cli import kicad_cli

# Get version
kicad_cli(
    kicad_cli.version(),
).exec()


# Export pdf for pcb
kicad_cli(
    kicad_cli.pcb(
        kicad_cli.pcb.export(
            kicad_cli.pcb.export.pdf(
                INPUT_FILE="input.kicad_pcb"
            )
        )
    ),
).exec()

For more examples you can check faebryk

Development

git clone https://github.com/faebryk/kicadcliwrapper.git
poetry install

# Re-generate bindings (make sure kicad-cli is installed)
python src/kicadcliwrapper/main.py

See PARSER.md for an explanation of the internal parsing.

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

kicadcliwrapper-1.1.1.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kicadcliwrapper-1.1.1-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

Details for the file kicadcliwrapper-1.1.1.tar.gz.

File metadata

  • Download URL: kicadcliwrapper-1.1.1.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for kicadcliwrapper-1.1.1.tar.gz
Algorithm Hash digest
SHA256 faf209ca4dc0cd468803e1a7594ef3547ae5877b76444640b3bfd1214fcf4b18
MD5 fa2969d4a388afd43db060f4e3de5c82
BLAKE2b-256 13dcf93360191c11455db0d50e4f6d0f3c664ee2e3234de42cf51260cff895b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for kicadcliwrapper-1.1.1.tar.gz:

Publisher: release.yml on atopile/kicadcliwrapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kicadcliwrapper-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kicadcliwrapper-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13f17fd09a963669a2fb482fc92876d30d39bfbf0b3e60a980c0b9041155ff6b
MD5 336c60a01a092d5961571a707f414337
BLAKE2b-256 419dbbbc2bb70157b2b872ab73a51377e8a0df7c5eff79ac59c186d4ec9040b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for kicadcliwrapper-1.1.1-py3-none-any.whl:

Publisher: release.yml on atopile/kicadcliwrapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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