Typed Graph-like Pipeline Builder
A pydantically typed, lightweight graph framework for Python that combines features from Langgraph with static type safety.
A community collection of nodes will be available here.
Overview
- Pydantic Typing:
Built on Pydantic and Generics for 100% strict static type safety. - Inheritance or Protocols:
Extend, specialize and join state and node classes. - Parallel Task Processing:
Multiple nodes can run simultaneously - Dual State Management:
- State with automatic change extraction and conflict detection
- Shared state accessible by all nodes, protected via explicit locking
- Flexible Routing:
Define simple node-to-node edges or dynamic routing based on functions. - Streaming:
A standardized interface for streaming data between nodes. - Hooks Interface:
Customizability and predefined interactive step-by-step debugging class. - Error Edges:
Configure node error handling in the graph.
Installation
PyPI
pip install edgygraph
Python 3.13+ is required
Example Workflow
Import Classes
from edgygraph import State, Shared, Node, START, END, Graph
import asyncio
Create a State
class MyState(State):
capslock: bool = False
Create a Node
class MyNode(Node[MyState, Shared]):
async def __call__(self, state: MyState, shared: Shared) -> None:
if state.capslock:
print("HELLO WORLD!")
else:
print("Hello World!")
Create Instances
state = MyState(capslock=True)
shared = Shared()
node = MyNode()
Create a Graph
graph = Graph[MyState, Shared](
edges=[
(
START,
node,
END,
)
]
)
Run Graph
asyncio.run(graph(state, shared))
More examples can be found in the examples folder
Metadata
Release files for edgygraph 0.0.91
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 |
|---|---|---|---|---|
| edgygraph-0.0.91.tar.gz | 32.4 kB | With provenance | Details for edgygraph-0.0.91.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edgygraph-0.0.91-py3-none-any.whl | Python 3 | none | any | Details for edgygraph-0.0.91-py3-none-any.whl |
Total release size: 58.9 kB
Release files / edgygraph-0.0.91.tar.gz
| Download URL | edgygraph-0.0.91.tar.gz |
|---|---|
| Size | 32.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47eac41c1b8b6c979c76b389b24d9e6f934003a72e605aa3daa0b76395b94889
|
|
BLAKE2b-256 checksum How to use checksums |
fccccd8bd5e35c4d50fe1de1db432a25fc2e0e2cbe2f3e935abfabfb485059ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 1, 2026.
Transparency logRelease files / edgygraph-0.0.91-py3-none-any.whl
| Download URL | edgygraph-0.0.91-py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7eaa623179b0a4c2c18ab37a0a3bec4badb3ed8f7ce955624f72e60e3cd49e2
|
|
BLAKE2b-256 checksum How to use checksums |
a1f0559e181652d347781534272e3c948f74a0adbd6ba4d9f25c9ca611df46b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 1, 2026.
Transparency logSecurity for edgygraph 0.0.91
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 edgygraph-0.0.91.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 1, 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.