Skip to main content

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.

Metadata

Release files for kicadcliwrapper 1.1.1

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

Source distribution (sdist)

Source distribution for kicadcliwrapper 1.1.1
File Size Uploaded
kicadcliwrapper-1.1.1.tar.gz 48.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kicadcliwrapper 1.1.1
File Interpreter ABI Platform
kicadcliwrapper-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 87.5 kB

Release files / kicadcliwrapper-1.1.1.tar.gz

Download URL kicadcliwrapper-1.1.1.tar.gz
Size 48.7 kB
Tags Source
SHA-256 checksum
How to use checksums
faf209ca4dc0cd468803e1a7594ef3547ae5877b76444640b3bfd1214fcf4b18
BLAKE2b-256 checksum
How to use checksums
13dcf93360191c11455db0d50e4f6d0f3c664ee2e3234de42cf51260cff895b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2025.

Transparency log

Release files / kicadcliwrapper-1.1.1-py3-none-any.whl

Download URL kicadcliwrapper-1.1.1-py3-none-any.whl
Size 38.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13f17fd09a963669a2fb482fc92876d30d39bfbf0b3e60a980c0b9041155ff6b
BLAKE2b-256 checksum
How to use checksums
419dbbbc2bb70157b2b872ab73a51377e8a0df7c5eff79ac59c186d4ec9040b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.1

2 release files

1.0.0

2 release files

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