Repository navigation
v1.3.0
euc2k.py — EasyEDA User Contributed To KiCad. A local, strictly 2D converter from public EasyEDA Standard component data to KiCad 8/9/10 libraries.
Changes in v1.3.0
- Clean project branding: euc2k.py for display; euc2k for the Python distribution, import package and sole installed console command.
- Use
euc2k <link>,euc2k fetch ...,euc2k convert ...orpython -m euc2k. Running without arguments opens the existing input prompts. euc2k --versionprintseuc2k 1.3.0. Help begins witheuc2k: EasyEDA User Contributed To KiCad.- Generated KiCad libraries identify their generator as
euc2k. Geometry conversion is unchanged. - Completion/recovery markers, temporary prefixes and environment variables consistently use
.euc2k-*,euc2k-*andEUC2K_*names. - Removed command aliases and special migration paths. Unrecognized marker files do not establish completion: components are rebuilt offline from cached
raw.json. Unrecognized files remain untouched, and replaced library bytes are backed up after identity checks. Publication rollback and source-byte preservation remain in place. - Updated README, API notes, contribution guide, launchers, CI, package metadata and repository URLs. The README retains its demo and includes the requested inspiration and source-rights statements.
Installation
Requires Git and Python 3.11 or newer.
git clone --branch v1.3.0 --single-branch https://github.com/wysemon/euc2k.py.git
cd euc2k.pyWindows CMD:
run https://easyeda.com/component/7db93ef938c54a728e02f6579db05977Linux/macOS:
./run.sh https://easyeda.com/component/7db93ef938c54a728e02f6579db05977The launchers prepare their environment automatically. After installing with pip install -e ., use euc2k <link>. Existing clones can pull the update and run run --version or ./run.sh --version to refresh setup. Explicit cached rebuilding uses euc2k convert <uuid>.
Verification
- Full local offline suite: 921 passed, one native Windows-only test skipped locally, one live test deselected. Obsolete migration-specific tests were retired; cache rebuilding and file preservation have dedicated regression coverage.
- Ruff lint and formatting pass. A fresh non-editable installation exposes only the
euc2kproject command and reports version1.3.0. - CI checks Ubuntu and Windows on Python 3.11/3.12, including native Windows launcher behavior and installed-command execution.
- Native KiCad 8/9/10 integration checks verify imports, upgrades, rendering and pad geometry on Linux.
- The complete repository tree, excluding
.git, contains no disallowed previous project/package/command names. The permitted README inspiration line is retained, including its generated package-metadata copies.
Scope and limitations
Strictly 2D; no model downloads or attachments. Request pacing, retry limits and the two-consecutive-403/429 stop rule are unchanged. No live component fetch was used in the release tests. Manual GUI comparisons and native KiCad on Windows/macOS remain unverified; review component geometry and connectivity before fabrication. This unofficial tool is not affiliated with or endorsed by EasyEDA, JLC or LCSC. Contributed component data retains its authors' rights.