j0ono0/pinout
关于
An open source Python package that generates hardware pinout diagrams as SVG images.
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
探索相关项目
加载中…