node-graph


Namenode-graph JSON
Version 0.3.5 PyPI version JSON
download
home_pageNone
SummaryCreate node-based workflow
upload_time2025-09-10 09:39:06
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords graph workflows
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # NodeGraph
[![PyPI version](https://badge.fury.io/py/node-graph.svg)](https://badge.fury.io/py/node-graph)
[![CI](https://github.com/scinode/node-graph/actions/workflows/ci.yaml/badge.svg)](https://github.com/scinode/node-graph/actions/workflows/ci.yaml)
[![codecov](https://codecov.io/gh/scinode/node-graph/branch/main/graph/badge.svg)](https://codecov.io/gh/scinode/node-graph)
[![Docs status](https://readthedocs.org/projects/node-graph/badge)](http://node-graph.readthedocs.io/)



A platform for designing node-based workflows.


```console
    pip install --upgrade --user node_graph
```


## Documentation
Check the [docs](https://node-graph.readthedocs.io/en/latest/) and learn about the features.

## Examples
**A simple math calculation**

```python
from node_graph import NodeGraph, node

@node()
def add(x, y):
    return x + y

ng = NodeGraph(name="example")
add1 = ng.add_node(add, x=1, y=2)
add2 = ng.add_node(add, x=3)
ng.add_link(add1.outputs.result, add2.inputs.y)
ntdata = ng.to_dict()
```

## License
[MIT](http://opensource.org/licenses/MIT)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "node-graph",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "graph, workflows",
    "author": null,
    "author_email": "Xing Wang <xingwang1991@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/da/f6/7a1f69044ffd4b2e82b530540fa85cedcebd5c62120d95d538b978da9fae/node_graph-0.3.5.tar.gz",
    "platform": null,
    "description": "# NodeGraph\n[![PyPI version](https://badge.fury.io/py/node-graph.svg)](https://badge.fury.io/py/node-graph)\n[![CI](https://github.com/scinode/node-graph/actions/workflows/ci.yaml/badge.svg)](https://github.com/scinode/node-graph/actions/workflows/ci.yaml)\n[![codecov](https://codecov.io/gh/scinode/node-graph/branch/main/graph/badge.svg)](https://codecov.io/gh/scinode/node-graph)\n[![Docs status](https://readthedocs.org/projects/node-graph/badge)](http://node-graph.readthedocs.io/)\n\n\n\nA platform for designing node-based workflows.\n\n\n```console\n    pip install --upgrade --user node_graph\n```\n\n\n## Documentation\nCheck the [docs](https://node-graph.readthedocs.io/en/latest/) and learn about the features.\n\n## Examples\n**A simple math calculation**\n\n```python\nfrom node_graph import NodeGraph, node\n\n@node()\ndef add(x, y):\n    return x + y\n\nng = NodeGraph(name=\"example\")\nadd1 = ng.add_node(add, x=1, y=2)\nadd2 = ng.add_node(add, x=3)\nng.add_link(add1.outputs.result, add2.inputs.y)\nntdata = ng.to_dict()\n```\n\n## License\n[MIT](http://opensource.org/licenses/MIT)\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Create node-based workflow",
    "version": "0.3.5",
    "project_urls": {
        "Documentation": "https://node-graph.readthedocs.io",
        "Source": "https://github.com/scinode/node-graph"
    },
    "split_keywords": [
        "graph",
        " workflows"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ad91f94224d7cf24f70918d054d992e8827f7bd8c55afbfaeddbc5871cf47ae7",
                "md5": "6390fd5ea98ab4982cb0fbf68a8f4e14",
                "sha256": "dc20a1c982f0ce41dac426cfe6cc1b20e0c27b0587598906af1e15adb8dc144b"
            },
            "downloads": -1,
            "filename": "node_graph-0.3.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6390fd5ea98ab4982cb0fbf68a8f4e14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 67735,
            "upload_time": "2025-09-10T09:39:05",
            "upload_time_iso_8601": "2025-09-10T09:39:05.643366Z",
            "url": "https://files.pythonhosted.org/packages/ad/91/f94224d7cf24f70918d054d992e8827f7bd8c55afbfaeddbc5871cf47ae7/node_graph-0.3.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "daf67a1f69044ffd4b2e82b530540fa85cedcebd5c62120d95d538b978da9fae",
                "md5": "8cfd3d9dccd3bb083a5976a64328a308",
                "sha256": "78fe78e3d67ffb48639e4cc1329e39edb192cc76e58bfeb5801c21e26bbd212c"
            },
            "downloads": -1,
            "filename": "node_graph-0.3.5.tar.gz",
            "has_sig": false,
            "md5_digest": "8cfd3d9dccd3bb083a5976a64328a308",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 55455,
            "upload_time": "2025-09-10T09:39:06",
            "upload_time_iso_8601": "2025-09-10T09:39:06.689906Z",
            "url": "https://files.pythonhosted.org/packages/da/f6/7a1f69044ffd4b2e82b530540fa85cedcebd5c62120d95d538b978da9fae/node_graph-0.3.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-10 09:39:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "scinode",
    "github_project": "node-graph",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "node-graph"
}
        
Elapsed time: 2.13215s