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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faf209ca4dc0cd468803e1a7594ef3547ae5877b76444640b3bfd1214fcf4b18
|
|
| MD5 |
fa2969d4a388afd43db060f4e3de5c82
|
|
| BLAKE2b-256 |
13dcf93360191c11455db0d50e4f6d0f3c664ee2e3234de42cf51260cff895b9
|
Provenance
The following attestation bundles were made for kicadcliwrapper-1.1.1.tar.gz:
Publisher:
release.yml on atopile/kicadcliwrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kicadcliwrapper-1.1.1.tar.gz -
Subject digest:
faf209ca4dc0cd468803e1a7594ef3547ae5877b76444640b3bfd1214fcf4b18 - Sigstore transparency entry: 252094117
- Sigstore integration time:
-
Permalink:
atopile/kicadcliwrapper@441a1c2d7f4f7c0479e85bb59d09bb4455a3a035 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/atopile
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@441a1c2d7f4f7c0479e85bb59d09bb4455a3a035 -
Trigger Event:
release
-
Statement type:
File details
Details for the file kicadcliwrapper-1.1.1-py3-none-any.whl.
File metadata
- Download URL: kicadcliwrapper-1.1.1-py3-none-any.whl
- Upload date:
- Size: 38.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13f17fd09a963669a2fb482fc92876d30d39bfbf0b3e60a980c0b9041155ff6b
|
|
| MD5 |
336c60a01a092d5961571a707f414337
|
|
| BLAKE2b-256 |
419dbbbc2bb70157b2b872ab73a51377e8a0df7c5eff79ac59c186d4ec9040b5
|
Provenance
The following attestation bundles were made for kicadcliwrapper-1.1.1-py3-none-any.whl:
Publisher:
release.yml on atopile/kicadcliwrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kicadcliwrapper-1.1.1-py3-none-any.whl -
Subject digest:
13f17fd09a963669a2fb482fc92876d30d39bfbf0b3e60a980c0b9041155ff6b - Sigstore transparency entry: 252094120
- Sigstore integration time:
-
Permalink:
atopile/kicadcliwrapper@441a1c2d7f4f7c0479e85bb59d09bb4455a3a035 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/atopile
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@441a1c2d7f4f7c0479e85bb59d09bb4455a3a035 -
Trigger Event:
release
-
Statement type: