parts2kicad
Extracts KiCad symbols, footprints and 3D models from SamacSys partlib zip files as you download them for instance via Mouser or Farnell.
If you have a zip file containing the component X123 this is achieved as follows.
X123.kicad_sym(schematic symbol) → gets added tomylibrary.kicad_symX123.kicad_mod(pcb footprint) → gets copied tomylibrary.pretty/X123.kicad_modX123.stp(3D model) → gets copied tomylibrary.3dshapes/X123.stp
So that you can keep all your downloaded stuff together at one place and do not have to fiddle inside the symbol libraries by yourself.
The path to the 3D model in the footprint file is set to a relative path of the form ../mylibrary.3dshapes/X123.stp.
Thus, you can move your lib freely around your hard drive. Only if you rename it, the links from footprint to 3D model break.
The script is mainly intended for Unixoid users (the official downloading tool only runs on Windows) and those who prefer command line over graphical UI.
Installation
So far via PyPi: pip install parts2kicad.
Usage
Usage is as easy as typing
$ p2k some.zip -t mylibrary.kicad_sym
You can also glob over a bunch of zip archives:
$ p2k ~/downloads/*.zip -t mylibrary.kicad_sym
Project Pages
Technical Background
All in all the main ingredient is a whitespace aware S-Expression parser. It is needed
for adding Symbols to the .kicad_sym library files without destroying the format.
The format is normally (and also by KiCad specification) nicely indented, so
that manual editing is also possible. Footprints and 3D models are luckily
managed on file level.
Metadata
Release files for parts2kicad 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| parts2kicad-0.1.4.tar.gz | 7.7 kB | Without provenance | Details for parts2kicad-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| parts2kicad-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for parts2kicad-0.1.4-py3-none-any.whl |
Total release size: 19.0 kB
Release files / parts2kicad-0.1.4.tar.gz
| Download URL | parts2kicad-0.1.4.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f68ad484e2a5857581bba2646abffbeba943190b6cc1faa065444abe01059525
|
|
BLAKE2b-256 checksum How to use checksums |
afef856d32a7ffdb56cae70a5bf9e4d872220606d93924c955f443f2740b9488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / parts2kicad-0.1.4-py3-none-any.whl
| Download URL | parts2kicad-0.1.4-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9de8c74376bb329ef1354182ab93e4459e7364c0ad84931669a7751d74bdae77
|
|
BLAKE2b-256 checksum How to use checksums |
3dea9237a5400fc5c80e1ef14c2b7dd6e976150b32a4a5715fa4c4a73592180b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for parts2kicad 0.1.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.