Micro-Graph
If all the fancy langgraph etc. libraries are too heavyweight and complex for you, look no further.
A tiny library allowing you to build graphs for executing workflows. It is focused purely on minimalism, simplicity and ease of understanding. It does not need any dependencies.
🛠️ Installation
pip install micro-graph
# to also install `micro_graph.ai` dependencies
pip install micro-graph[ai]
👨💻 Usage
See the examples or tests for example uses.
👥 Contributing
Feel free to make this code better by forking, improving the code and then pull requesting.
However, the goal of this repo is to be the minimal functionallity required and implementing it without any external dependencies. Please keep this in mind if you modify this repo.
Keep it simple!
Setup
Install dev dependencies and pre-commit hooks
pip install -e .[dev,ai]
pre-commit install
This will automatically run ruff check . and pytest before each commit.
⚖️ License
Micro-Graph is licensed under the permissive MIT license -- see LICENSE for details.
Metadata
Release files for micro-graph 0.3.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 |
|---|---|---|---|---|
| micro_graph-0.3.1.tar.gz | 13.3 kB | With provenance | Details for micro_graph-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| micro_graph-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for micro_graph-0.3.1-py3-none-any.whl |
Total release size: 25.8 kB
Release files / micro_graph-0.3.1.tar.gz
| Download URL | micro_graph-0.3.1.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c3ae52f270ad8e002d7f2dc1a5e2c07c7ff7f98974bec22f2d86b5e585d3ad3
|
|
BLAKE2b-256 checksum How to use checksums |
b119d282ac0c5a9a38ef2a4dd20ac96b83ee4e0fc98b7f76022d890968957c5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Aug 3, 2025.
Transparency logRelease files / micro_graph-0.3.1-py3-none-any.whl
| Download URL | micro_graph-0.3.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82eb4e7d2ecf984d944233df305ea1adf977ad7ffd39f98421d7f4ad91419b64
|
|
BLAKE2b-256 checksum How to use checksums |
6ff31a4ce259bfee9164498e354ea316fbc6346d63f2167391c21eafc2a60b4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Aug 3, 2025.
Transparency logSecurity for micro-graph 0.3.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for micro_graph-0.3.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 Aug 3, 2025.
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.