KiPI
A tool for downloading and installing kiCad packages, primarily for KiCad v5.
Runs on Windows, should run on Linux (MacOs might also work).
Description
Currently supports footprints, symbols and templates. Configurations for KiCad official v5 libraries and templates, SparkFun, DigiKey and Walter Lain libraries.
Typically where available, point releases are downloaded as a zip file. Otherwise, latest versions of git repositories can be cloned locally.
This script can use git to:
Clone a repository if you don’t have it
Pull the latest repository if you already have it locally (does an update).
Content types:
Footprints can be installed to fp-lib-table.
Symbols can be installed to sym-lib-table.
Templates are copied to ~/Documents/kicad/templates
3dmodels are copied to ${KISYS3DMOD}
Scripts are copied to ${APPDATA}/kicad/scripting
Existing xx-lib-table will be saved to xx-lib-table-old.
Usage
kipi [options] <package spec> [<version>]
Package spec contains the packages to download/install. Version is a valid version from the package file or “latest”.
Options are:
- -h, --help
shows a help screen on the command line
- -v, --verbose
show verbose messages
- -q, --quiet
don’t show logging
- -t, --test
dry run, don’t perform actions
- --config <local folder>
configure kipi. The local folder is the folder you want all your local data put in.
- --download
download package data only
- --install
install package data into KiCad (implies download)
- --list
list installed packages
- --remove
remove an installed package from KiCad
- --update
update installed packages
Example Usage
kipi –config c:\kicad_data
kipi -v –install https://raw.githubusercontent.com/bobc/kicad-getlibs/master/packages/kicad-official-libraries-v5-no-3d.yml
Dependencies
You need to have git installed to clone/update local git repositories.
Otherwise it should just run with a standard distribution of python 2.x, there are no special libraries used.
Bugs/Feature Requests
Please raise issue on github.
Credits
KiPI is derived from project https://github.com/hairymnstr/kicad-getlibs.
Content Types
Content type |
Kicad v4 |
KiCad v5 |
|---|---|---|
footprint |
Yes |
Yes |
symbol |
No |
Yes |
3dmodel |
Yes* |
Yes* |
template |
Yes |
Yes |
script |
No |
Yes |
Footprint
Footprints are installed in global fp-lib-table.
Symbol
[v5] Symbols are installed in global sym-lib-table.
[v4] Installing symbols is not supported because sym-lib-table is not supported in v4
3dmodel
3dmodels can be installed if KISYS3DMOD is a writable location by user and does not require admin permissions. On Windows the default path c:\program files... is not writable, so the user must re-configure KISYS3DMOD to writable location, e.g “C:\kicad_data\3dmodels”
Template
Templates are installed to user’s templates folder.
Script
Scripts may be pcbnew scripts or footprints wizards.
[v5] Scripts are copied to global kicad/scripting folder.
[v4] May work on Linux but does not work on Windows since v4 does not have a search path for user scripts.
Metadata
Release files for kipi 0.2.1
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 |
|---|---|---|---|---|
| kipi-0.2.1.tar.gz | 38.0 kB | Without provenance | Details for kipi-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kipi-0.2.1-py2-none-any.whl | Python 2 | none | any | Details for kipi-0.2.1-py2-none-any.whl |
Total release size: 77.8 kB
Release files / kipi-0.2.1.tar.gz
| Download URL | kipi-0.2.1.tar.gz |
|---|---|
| Size | 38.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
536b75ae57a57bf24615547159a3598a7d5f233e4351e924c970a2293e63e2ee
|
|
BLAKE2b-256 checksum How to use checksums |
b0bfb98b3cfa7083021188cbeead1615d8e6ac7db04221d4e4f608c16e0f10f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / kipi-0.2.1-py2-none-any.whl
| Download URL | kipi-0.2.1-py2-none-any.whl |
|---|---|
| Size | 39.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
235f7241083ef478a8a74b05acce8653e68067ed83e1aa54940b71e81e8073be
|
|
BLAKE2b-256 checksum How to use checksums |
3aa5eec7e702cd89d14b92b57af48b01e36484220c2ac7a2750d7941d95b16f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for kipi 0.2.1
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.