modm-pinout
modm-pinout builds a static pin-mapping site from device definitions provided by modm-devices.
The generated output contains:
- one HTML page per device
- shared CSS and JavaScript assets
- shared JSON datasets grouped by source XML
- an index page for device lookup
- a manifest describing generated pages and datasets
The package installs a CLI named modm_pinout.
Please note that this code was vibe-coded, since we're not good at web development.
modm-devicesis still written by humans though and it shows lol.
Installation
python -m pip install modm-pinout
For local development:
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .
Usage
Generate one device page:
modm_pinout stm32c011f4p6 -o build
Generate all supported devices:
modm_pinout --all -o build
Output Layout
The generated site uses this structure:
build/
index.html
manifest.json
assets/
data/
devices/
Notes
- Device metadata and XML inputs are loaded from the installed
modm-devicespackage. - Templates and frontend assets are bundled as package data inside
modm_pinout. - The package and CLI naming are generic so additional device families can be integrated later.
Metadata
Release files for modm-pinout 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| modm_pinout-1.0.7.tar.gz | 46.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| modm_pinout-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 99.0 kB
Release files / modm_pinout-1.0.7.tar.gz
| Download URL | modm_pinout-1.0.7.tar.gz |
|---|---|
| Size | 46.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fa2502ce1cae03c49b960bf2e0a59295c37607a6c2c4ae995aee2a9db4c9a19
|
|
BLAKE2b-256 checksum How to use checksums |
91bd2dff717e61089916745db6fbbd0c7d6eb132b8e140da2e0075818c6b5beb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 17, 2026.
Transparency logRelease files / modm_pinout-1.0.7-py3-none-any.whl
| Download URL | modm_pinout-1.0.7-py3-none-any.whl |
|---|---|
| Size | 52.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
933f8a7212b32f6da32510966adfdf16cb5e0d02554056025bcdaa13297a43d5
|
|
BLAKE2b-256 checksum How to use checksums |
37134d2f04e6483dc654db56de43402c0d2e46030b53292f6e596e477430f1a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 17, 2026.
Transparency log