pio-env-graph
⚠️ Early development — this project is in beta. The core functionality works but the API and CLI flags may change between releases. Feedback and bug reports are welcome.
Visualize extends dependencies between sections in platformio.ini as a Graphviz DOT graph.
Install
From PyPI (once published):
pip install pio-env-graph
From GitHub:
pip install git+https://github.com/eagafonov/pio-env-graph.git
From source:
pip install -e .
Usage
pio-env-graph # auto-discovers ./platformio.ini
pio-env-graph /path/to/platformio.ini # explicit path
pio-env-graph -o graph.dot # write to file
pio-env-graph | dot -Tpng -o graph.png # render to PNG
pio-env-graph -d LR # left-to-right (default: RL)
pio-env-graph --refs # include ${section.key} references
pio-env-graph | dot -Tpng | display - # render and display immediately
Directions: RL (right-to-left, default), LR, TB, BT.
Examples
Default (RL)
Top to bottom
pio-env-graph -d TB
With ${section.key} references
pio-env-graph --refs
Development
The Makefile handles venv setup automatically on first run:
make test # run tests
make lint # check formatting + lint
make format # auto-format code
Or set up manually:
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
pip install -r requirements-dev.txt
Metadata
Release files for pio-env-graph 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pio_env_graph-0.1.1.tar.gz | 339.6 kB | With provenance | Details for pio_env_graph-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pio_env_graph-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pio_env_graph-0.1.1-py3-none-any.whl |
Total release size: 347.0 kB
Release files / pio_env_graph-0.1.1.tar.gz
| Download URL | pio_env_graph-0.1.1.tar.gz |
|---|---|
| Size | 339.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cb105cf079655bb548af0130509fb7d6fd16f2b90ca686398b012ee0d967e91
|
|
BLAKE2b-256 checksum How to use checksums |
b835041e3b612f0411bcc8e174ca2b1def107696ba519f41c1537d80a5570883
|
| 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 Apr 19, 2026.
Transparency logRelease files / pio_env_graph-0.1.1-py3-none-any.whl
| Download URL | pio_env_graph-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfff029dda17d050fdd9a792ce5cf6e449cc7c03d4e4b3c8ca13f1a61c2ac511
|
|
BLAKE2b-256 checksum How to use checksums |
8d62a8001cd02997f3c7f39f5f5006d7f3099da0d577117d9c797ea8f8e03088
|
| 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 Apr 19, 2026.
Transparency logSecurity for pio-env-graph 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pio_env_graph-0.1.1.tar.gz
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 Apr 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.