Skip to main content

easyeda2kicad.py

A Python script that convert any electronic components from LCSC or EasyEDA to a Kicad library

Installation

git clone https://github.com/uPesy/easyeda2kicad.py.git
cd easyeda2kicad.py/
pip install requirements.txt

The script uses only one external library pydantic for data validation.

Usage

All librairies are saved in easyeda2kicad.py/output_lib :

  • easyeda2kicad.lib for symbol library
  • easyeda2kicad.pretty/ for footprint library

Cli usage :

# For symbol + footprint
python easyeda2kicad.py --symbol --footprint --lcsc_id=C2040
# For symbol only
python easyeda2kicad.py --symbol --lcsc_id=C2040
# For footprint only
python easyeda2kicad.py --footprint --lcsc_id=C2040

Add libraries in Kicad

Before configuring KiCad, run at least once time the script to create lib files

  • In KiCad, Go to Preferences > Configure Paths, and add the environment variables EASYEDA2KICAD : path/to/easyeda2kicad.py/ouput_lib
  • Go to Preferences > Manage Symbol Libraries, and Add the global library easyeda2kicad : ${EASYEDA2KICAD}/easyeda2kicad.lib
  • Go to Preferences > Manage Footprint Libraries, and Add the global library easyeda2kicad : ${EASYEDA2KICAD}/easyeda2kicad.pretty
  • Enjoy 😉

Notes

It's still in development : all features are not implemented. I'm not a Python expert and don't have a lot of free time for coding. I need your help to improve the code base architecture, adding unit tests and adding in the pip repo Feel free to contribute on the dev branch 🙂

Some stuffs to be done:

  • Improve the readme
  • Refactoring the code
  • Add unit testing and code coverage badge
  • Adding in the Python repo to install it with pip
  • Call the script directly from the terminal without using python easyeda2kicad.py

Inspirations

  • KiPart - A utility that generates single and multi-unit symbols from a CSV file containing all the pin information for one or more parts.

Metadata

Release files for easyeda2kicad 0.0.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 easyeda2kicad 0.0.1
File Size Uploaded Provenance Actions
easyeda2kicad-0.0.1.tar.gz 30.4 kB Without provenance Details for easyeda2kicad-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 62.1 kB

Release files / easyeda2kicad-0.0.1.tar.gz

Download URL easyeda2kicad-0.0.1.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a0d979c14860046d662d053364e0aaee653009619084d429064b4ac36df1b4ac
BLAKE2b-256 checksum
How to use checksums
40936f9dcf5d20f286f9d54c344622f20315b5521662bd4cf1e9d8108ed47e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / easyeda2kicad-0.0.1-py3-none-any.whl

Download URL easyeda2kicad-0.0.1-py3-none-any.whl
Size 31.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ddf8138ae808c5414b34beedbe267468d9c4790e2c3254da3d2dc18ec3f85d0
BLAKE2b-256 checksum
How to use checksums
41e5ea3e2cd4ee43defc1ec3bbc25027e2cc3b9ba01054067fbf72db0098c02e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Security for easyeda2kicad 0.0.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.

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