Skip to main content

A simple library to build compute graphs for logical flows like agents.

Project description

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 testcases for example uses, e.g. test_simple.py.

👥 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!

⚖️ License

Micro-Graph is licensed under the permissive MIT license -- see LICENSE for details.

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

micro_graph-0.2.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

micro_graph-0.2.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file micro_graph-0.2.0.tar.gz.

File metadata

  • Download URL: micro_graph-0.2.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for micro_graph-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d13a93477711aeeef418d07304254b576977bd9c2aed972b2dacb20dee219b03
MD5 b007ff3172d1a52f794cf9dbc789921e
BLAKE2b-256 bdc9425dbcb2180adeeab070733e4fa8c1f2708aa5485b02f3609973ad4bde80

See more details on using hashes here.

Provenance

The following attestation bundles were made for micro_graph-0.2.0.tar.gz:

Publisher: python-publish.yml on penguinmenac3/micro-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file micro_graph-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: micro_graph-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for micro_graph-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88c9561c3ed829fee654476e5ea0a90faf2775060e6928beac7b5a1a70e268b6
MD5 045f77003bcd309a12dd9f69ce83faea
BLAKE2b-256 91279abdb36f88e0584bf0671955c30535789ff280c2009effcd4769e0d3d6ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for micro_graph-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on penguinmenac3/micro-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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