Generate graphical pinout references for electronic hardware.
Project description
pinout
SVG diagram creation from Python code - pinout provides an easy method of creating pinout diagrams for electronic hardware.
Please visit pinout.readthedocs.io for the full quick start tutorial and detailed documentation on all options provided by the pinout package.
Quick start
pinout can be easily installed with pip and provides some sample files that demonstrate key features.
Install
Using a virtual environment is recommended; Start by installing the pinout package. Either clone this repo and pip install it or install from PyPi:
pip install pinout
# Or upgrade to the latest version
pip install --upgrade pinout
Duplicate sample files
A normal pinout diagram will include a hardware image, stylesheet, data file, and a Python script. Sample files are included with the package and can be duplicated for your use. Open a command line (with enabled virtual environment if you are using one) in the location you plan to work and enter the following:
py -m pinout.manager --duplicate quick_start
# expected output:
# >>> data.py duplicated.
# >>> hardware.png duplicated.
# >>> pinout_diagram.py duplicated.
# >>> styles.css duplicated.
Once you have these file a finished diagram can be generated from a command line py -m pinout.manager --export pinout_diagram.py diagram.svg. An SVG file is created and can be conveniently view in a browser.
For a detailed walk through pinout_diagram.py and more information on pinout please visit pinout.readthedocs.io.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pinout-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pinout-0.1.0-py3-none-any.whl
- Upload date:
- Size: 69.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
866d0b0c458b92d1c2ba1740b0dd7f6ea21faf3018abb7fbb2c83d4cadd23b5a
|
|
| MD5 |
8fad20745959c98ce9e83f25c4449d3c
|
|
| BLAKE2b-256 |
5ee14886d28969842e1d10ab8bcb1a37cede32562177880f12400045b6670e03
|