`graph-topper` is a small extension to the `lang-graph` library that allows for graph definitions via decorators, bringing flow-control and logic to one place.
Project description
graph_topper
graph-topper is a small extension to the langgraph library that allows for graph definitions via decorators,
bringing flow-control and logic to one place.
Mostly a hobby project, but aims to fulfill all expectations of a fully fledged python library, such as clean code, tests, docs and a pypi release.
✨ Features
- Define node logic and node connections in one place
- Stops circular references in the graph via native python syntax (node directionality is implied by the order in which the methods are defined)
- More compact graph definition (define node and incoming edges in one line)
- Avoids error-prone string references (by using method names by default)
- Retains all functionality of
langgraph
📦 Installation
pip install graph_topper
⚡ Quick Examples
Comparing graph_topper to pure langgraph
🤝 Contributing
Contributions are welcome! Feel free to open issues, suggest improvements, or submit pull requests.
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 graph_topper-0.1.1.tar.gz.
File metadata
- Download URL: graph_topper-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1f7d9da04ed906b8bc1fcc7dd27cc64010f9395fe31990e841da150dbf90922
|
|
| MD5 |
634dbfdfe2545ebcf374dbf304057522
|
|
| BLAKE2b-256 |
ca58c9fa8e0fd1ab202e99aed0ed60153a83f971e07b189f80da63fc6a688fb8
|
File details
Details for the file graph_topper-0.1.1-py3-none-any.whl.
File metadata
- Download URL: graph_topper-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f022cd64fba3087ec1dfcade4921081f92ce7be24b693fc56f991517a01f05d
|
|
| MD5 |
33e11447968a46e9b118c136840d86e7
|
|
| BLAKE2b-256 |
7533aaffae47d320116ef5aaf1bdf7f7e99dbd927ae8e0fe9f4e92c30e49df26
|