Skip to main content

Python library to read/write KiCad Sexpr file format

Project description

Quick Links

Overview

What is KiCaD-RW ?

A WORK IN PROGRESS…

keywords: kicad, 6, sexpr, python, schema

KiCad-RW is a Python module to read the KiCad version 6 schema file format (.kicad_sch file extension) and to compute the netlist which is not actually stored by KiCad. This module is standalone and independent of the KiCad Python API, thus it don’t require KiCad to work.

Examples of use cases:

  • perform checks on circuit

  • export a BOM

  • generate a customised SPICE netlist, see PySpice

  • generate a LaTeX/Tikz graphic TO BE IMPLEMENTED

  • generate a draft for Circuit_macros, a tool for drawing electric high quality circuits, see CircuitMacrosDumper

  • etc.

KiCad-RW uses the Python library sexpdata to parse the file.

How to go further:

  • KiCad uses Sexpr format, thus we don’t have so many tools and a DTD like for XML

  • We must use an external library to parse Sexpr format: sexpdata actually

  • We must be able to parse the file without the need of KiCad, especially if we think KiCad is a reference EDA software

  • We must not write tons of code to handle this format…

  • We must try to auto-learn the KiCad format from a reference file collection and generate an OO API (fully automatic, jinja template)

Look at this project

Comprehensive bibliography and relevant links on the topic

Where is the Documentation ?

TO BE COMPLETED

Where to get help or talk about KiCaD-RW ?

TO BE COMPLETED:

What are the main features ?

How to install it ?

TO BE COMPLETED

Pull Request Recommendation

To make it easier to merge your pull request, you should divide your PR into smaller and easier-to-verify units.

Please do not make a pull requests with a lot of modifications which are difficult to check.

Credits

Authors: Fabrice Salvaire and contributors

News

V0 2020-05-xx

Started project…

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

KiCadRW-0.1.tar.gz (118.5 kB view details)

Uploaded Source

Built Distribution

KiCadRW-0.1-py2.py3-none-any.whl (45.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file KiCadRW-0.1.tar.gz.

File metadata

  • Download URL: KiCadRW-0.1.tar.gz
  • Upload date:
  • Size: 118.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for KiCadRW-0.1.tar.gz
Algorithm Hash digest
SHA256 a1c1a509cc7896ad9ebf8d047ab246cb91c982ab5964db2e89e2388d800707b2
MD5 2ee0133c72381631a4c2adb35aab9504
BLAKE2b-256 f322628630bc6a265a03d32fe6d46d05ac91ef305320c36ca749639e93642f43

See more details on using hashes here.

File details

Details for the file KiCadRW-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: KiCadRW-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 45.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for KiCadRW-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2620a95f3e1c40508c83e43c5d98b184a022c6ac3123c836eaecc7dc4dfeb202
MD5 123c65be0235eb4abd50840758536684
BLAKE2b-256 83c8d303d4bab4c13fae9c9c17359a9fae1baaddca0127592132d3cb576abf20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page