Skip to main content

Create node-based workflow

Project description

NodeGraph

PyPI version CI codecov Docs status

A platform for designing node-based workflows.

    pip install --upgrade --user node_graph

Documentation

Check the docs and learn about the features.

Examples

A simple math calculation

from node_graph import NodeGraph
ng = NodeGraph(name="example")
float1 = ng.nodes.new("node_graph.float", value=2.0)
float2 = ng.nodes.new("node_graph.float", value=3.0)
add1 = ng.nodes.new("Operator", operator="+")
ng.links.new(float1.outputs[0], add1.inputs[0])
ng.links.new(float2.outputs[0], add1.inputs[1])
ntdata = ng.to_dict()

License

MIT

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

node_graph-0.1.2.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

node_graph-0.1.2-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file node_graph-0.1.2.tar.gz.

File metadata

  • Download URL: node_graph-0.1.2.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for node_graph-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fd4c78293837fd1dc396a19ab029432d39f1ee6b82cc28c5641f4fbffa8cc1f2
MD5 532a3e56069d5411d1258ac94c1f8360
BLAKE2b-256 4c445846c565d5e3d50f177e10871c3f267e6caf16bc7883e4c6d216fc2c7965

See more details on using hashes here.

File details

Details for the file node_graph-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: node_graph-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for node_graph-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d6f85b411c50a4c8d414c5689973c732c4e39b773becdb2c87948f01f662b61
MD5 906628bdf00bc125acfa412148c065ca
BLAKE2b-256 b8bd1a755d48045a862612cecfbd56dff5faeb64fbe8288b137c3f4282d0e941

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page