Skip to main content

`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

PyPI - Version

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 comparison

🤝 Contributing

Contributions are welcome! Feel free to open issues, suggest improvements, or submit pull requests.

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

graph_topper-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

graph_topper-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

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

Hashes for graph_topper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e1f7d9da04ed906b8bc1fcc7dd27cc64010f9395fe31990e841da150dbf90922
MD5 634dbfdfe2545ebcf374dbf304057522
BLAKE2b-256 ca58c9fa8e0fd1ab202e99aed0ed60153a83f971e07b189f80da63fc6a688fb8

See more details on using hashes here.

File details

Details for the file graph_topper-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for graph_topper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f022cd64fba3087ec1dfcade4921081f92ce7be24b693fc56f991517a01f05d
MD5 33e11447968a46e9b118c136840d86e7
BLAKE2b-256 7533aaffae47d320116ef5aaf1bdf7f7e99dbd927ae8e0fe9f4e92c30e49df26

See more details on using hashes here.

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