Metadata-Version: 2.1
Name: electronic-package-descriptor-by-sporniket
Version: 0.0.5
Summary: Electronic Package Descriptor, an abstract model to describe electronic components for my generator of symbols for Kicad.
Home-page: https://github.com/sporniket/electronic-package-descriptor
Author: Sporniket
Author-email: sporniket.studio@gmail.com
Project-URL: Bug Tracker, https://github.com/sporniket/electronic-package-descriptor/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Sporniket's electronic package descriptor

[![Latest version](https://img.shields.io/github/v/release/sporniket/electronic-package-descriptor?include_prereleases)](https://github.com/sporniket/electronic-package-descriptor/releases)
[![Workflow status](https://img.shields.io/github/workflow/status/sporniket/electronic-package-descriptor/Python%20package)](https://github.com/sporniket/electronic-package-descriptor/actions/workflows/python-package.yml)
[![Download status](https://img.shields.io/pypi/dm/electronic-package-descriptor-by-sporniket)](https://pypi.org/project/electronic-package-descriptor-by-sporniket/)

> [WARNING] Please read carefully this note before using this project. It contains important facts.

Content

1. What is **Sporniket's electronic package descriptor**, and when to use it ?
2. What should you know before using **Sporniket's electronic package descriptor** ?
3. How to use **Sporniket's electronic package descriptor** ?
4. Known issues
5. 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.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](https://github.com/sporniket/electronic-package-descriptor/blob/main/README-packaging.md) for further details.

**Sporniket's electronic package descriptor** maintains a set of specifications :

* A JSON based format : see [README json](https://github.com/sporniket/electronic-package-descriptor/blob/main/README-json.md)
* A Markdown based datasheet structure : see [README datasheet](https://github.com/sporniket/electronic-package-descriptor/blob/main/README-datasheet.md)

> 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 :

```python
from electronic_package_descriptor import *
```

### Using pip

```
pip install electronic-package-descriptor-by-sporniket
```

Then, import the library in your code :

```python
from electronic_package_descriptor import *
```

## 4. Known issues
See the [project issues](https://github.com/sporniket/electronic-package-descriptor/issues) page.

## 5. Miscellanous

Supplemental documentation :

* [README packaging](https://github.com/sporniket/electronic-package-descriptor/blob/main/README-packaging.md) : some technical details about packaging this project.
* [README json](https://github.com/sporniket/electronic-package-descriptor/blob/main/README-json.md) : the specification of the JSON-based format.
* [README datasheet](https://github.com/sporniket/electronic-package-descriptor/blob/main/README-datasheet.md) : the specification of the Markdown-based datasheet structure.

### Report issues
Use the [project issues](https://github.com/sporniket/electronic-package-descriptor/issues) page.
