Electronic Package Descriptor, an abstract model to describe electronic components for my generator of symbols for Kicad.
Project description
Sporniket's electronic package descriptor
[WARNING] Please read carefully this note before using this project. It contains important facts.
Content
- What is Sporniket's electronic package descriptor, and when to use it ?
- What should you know before using Sporniket's electronic package descriptor ?
- How to use Sporniket's electronic package descriptor ?
- Known issues
- Miscellanous
1. What is Sporniket's electronic package descriptor, and when to use it ?
Sporniket's electronic package descriptor is a python library that provide an abstract model and API for helping generate component symbols for EDA suites like Kicad.
Licence
Sporniket's electronic package descriptor is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Sporniket's electronic package descriptor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Release notes
v0.0.7
- Resolves #30 : [bug] a group having some pins recognized as bus hangs
v0.0.6
- Resolves #29 : Deserializer should support missing optionnal fields in meta data
- Narrow down supported python versions matrix : 3.8, 3.9, 3.10
v0.0.5
- Resolves #26 : Supplemental pins layouts : DIM, SIM
- Resolves #27 : Groups with bus pattern MUST have only 'bus' in slots
v0.0.4
- Resolves #24 : [bug][parser] The name of the package should be uppercase and replace some non-alphanumeric characters by '_'
v0.0.3
- The model of an electronic package is complete
- A parser of datasheet written in Markdown format
- A JSON format for serializing and deserializing.
v0.0.2
- The model of a group of pins is complete
v0.0.1
- the model of a pin is complete
2. What should you know before using Sporniket's electronic package descriptor ?
Sporniket's electronic package descriptor is written using python version 3.6, and should work with python version 3.7 up to 3.10.
It relies on the following packages to build and test :
- build
- pytest
It also relies on the following package to enforce source formatting :
- black
see README packaging for further details.
Sporniket's electronic package descriptor maintains a set of specifications :
- A JSON based format : see README json
- A Markdown based datasheet structure : see README datasheet
Do not use Sporniket's electronic package descriptor if this project is not suitable for your project.
3. How to use Sporniket's electronic package descriptor ?
From sources
To get the latest available models, one must clone the git repository, build and install the package.
git clone https://github.com/sporniket/electronic-package-descriptor.git
cd electronic-package-descriptor
python3 -m build && python3 -m pip install --force-reinstall dist/*.whl
Then, import the library in your code :
from electronic_package_descriptor import *
Using pip
pip install electronic-package-descriptor-by-sporniket
Then, import the library in your code :
from electronic_package_descriptor import *
4. Known issues
See the project issues page.
5. Miscellanous
Supplemental documentation :
- README packaging : some technical details about packaging this project.
- README json : the specification of the JSON-based format.
- README datasheet : the specification of the Markdown-based datasheet structure.
Report issues
Use the project issues page.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file electronic-package-descriptor-by-sporniket-0.0.7.tar.gz
.
File metadata
- Download URL: electronic-package-descriptor-by-sporniket-0.0.7.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08a23b1d1e28e238cb5d0bebd42b497339e8b38c0b211d98d1a3c39d762416c7 |
|
MD5 | ed6da4844c54c67c46902567d47aacba |
|
BLAKE2b-256 | d5b4173f24e79a350c666ea5ac938622da244901c37db92f2107bb314b00bd3b |
Provenance
File details
Details for the file electronic_package_descriptor_by_sporniket-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: electronic_package_descriptor_by_sporniket-0.0.7-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8556e83a04e968afa4cd7dab4d48870a10eef1dd7f69eeb58de657d87cc1f334 |
|
MD5 | ec1466e80b780e84b1ce73b6b43777f7 |
|
BLAKE2b-256 | 5eade5f9684be9fc5a10fe79a5b9918db56bae7daf49b46bcba02ee3c8989fe3 |