Skip to main content

Static pin mapping site generator for modm device definitions

Reason this release was yanked:

broken import

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-devices is 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-devices package.
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modm_pinout-1.0.0.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modm_pinout-1.0.0-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file modm_pinout-1.0.0.tar.gz.

File metadata

  • Download URL: modm_pinout-1.0.0.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for modm_pinout-1.0.0.tar.gz
Algorithm Hash digest
SHA256 633444f2fe8b89898fc281ef0a2f9c9ba9bfee6df140992add1a61006f0ec8f1
MD5 ba66fa8fb2e49bf5dd685221af9d125d
BLAKE2b-256 765516a447a566ae3fe2451b027286d268619bf4a1377bdb2a27e2a74971d215

See more details on using hashes here.

Provenance

The following attestation bundles were made for modm_pinout-1.0.0.tar.gz:

Publisher: pypi.yaml on modm-io/modm-pinout

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file modm_pinout-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: modm_pinout-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for modm_pinout-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea59a708bca81400ecb698e050dd73050b12c5f75123801c939417bbd0a94b12
MD5 2eb7c1c492a836a599991aad9686d0b5
BLAKE2b-256 7d8f1ba5964e0eec60b72aa6472a7c1afc9c6a602cb3e574f5d8cc913556f0ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for modm_pinout-1.0.0-py3-none-any.whl:

Publisher: pypi.yaml on modm-io/modm-pinout

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page