Static pin mapping site generator for modm device definitions
Project description
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.
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 Distribution
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 modm_pinout-1.0.2.tar.gz.
File metadata
- Download URL: modm_pinout-1.0.2.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97720b1f451b8ebcc247cfff51d765ef5c6e22b464a2825a81ba89d5922dc3bc
|
|
| MD5 |
ea65c6bf55c739a5189025cb36f79f2f
|
|
| BLAKE2b-256 |
15137a287a090d9d0baeff4e7a7798e26c5874fffe83130bc4325d8124c1ced8
|
Provenance
The following attestation bundles were made for modm_pinout-1.0.2.tar.gz:
Publisher:
pypi.yaml on modm-io/modm-pinout
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modm_pinout-1.0.2.tar.gz -
Subject digest:
97720b1f451b8ebcc247cfff51d765ef5c6e22b464a2825a81ba89d5922dc3bc - Sigstore transparency entry: 1554208344
- Sigstore integration time:
-
Permalink:
modm-io/modm-pinout@be4b304fcf18a0cde000b1ca66333d5bbb5fdf0f -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/modm-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@be4b304fcf18a0cde000b1ca66333d5bbb5fdf0f -
Trigger Event:
push
-
Statement type:
File details
Details for the file modm_pinout-1.0.2-py3-none-any.whl.
File metadata
- Download URL: modm_pinout-1.0.2-py3-none-any.whl
- Upload date:
- Size: 49.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fddb8874b26bfe6927f4dd3d5a7ed981d4215cf87b4253bf201ebdf6fec9767
|
|
| MD5 |
c697873df0e834acdd0e6b0f47d881e2
|
|
| BLAKE2b-256 |
79a9de60014f7ef6029280eca84e6aef53bdb2b8fa239c1f52fa2d03d2e8a725
|
Provenance
The following attestation bundles were made for modm_pinout-1.0.2-py3-none-any.whl:
Publisher:
pypi.yaml on modm-io/modm-pinout
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modm_pinout-1.0.2-py3-none-any.whl -
Subject digest:
0fddb8874b26bfe6927f4dd3d5a7ed981d4215cf87b4253bf201ebdf6fec9767 - Sigstore transparency entry: 1554208396
- Sigstore integration time:
-
Permalink:
modm-io/modm-pinout@be4b304fcf18a0cde000b1ca66333d5bbb5fdf0f -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/modm-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@be4b304fcf18a0cde000b1ca66333d5bbb5fdf0f -
Trigger Event:
push
-
Statement type: