node-graph


Namenode-graph JSON
Version 0.2.11 PyPI version JSON
download
home_pageNone
SummaryCreate node-based workflow
upload_time2025-07-12 08:22:53
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/8d/21/46d5659cf6d893f4136c703c30922d59257d138842bb21e26a2008e74596/node_graph-0.2.11.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.2.11",
    "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": "b5164012307728b00469fa8ff137ac97b63baa1c5a51a272c2d5cc0dfdc38a51",
                "md5": "c1c15caa36f5e86e4adbcfdf4e3d4bec",
                "sha256": "876255a3adc36af3c66720605ce59a3cd82b9205de217d6da8166dd1eaa45855"
            },
            "downloads": -1,
            "filename": "node_graph-0.2.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c1c15caa36f5e86e4adbcfdf4e3d4bec",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 49985,
            "upload_time": "2025-07-12T08:22:52",
            "upload_time_iso_8601": "2025-07-12T08:22:52.448125Z",
            "url": "https://files.pythonhosted.org/packages/b5/16/4012307728b00469fa8ff137ac97b63baa1c5a51a272c2d5cc0dfdc38a51/node_graph-0.2.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8d2146d5659cf6d893f4136c703c30922d59257d138842bb21e26a2008e74596",
                "md5": "d8f461ce1ddadf2d48c53dfddf100b0b",
                "sha256": "52973ab95d608c3c75aa0e5ce38eea56d5cf9809c300c2f6cec0d34ef1c84e7c"
            },
            "downloads": -1,
            "filename": "node_graph-0.2.11.tar.gz",
            "has_sig": false,
            "md5_digest": "d8f461ce1ddadf2d48c53dfddf100b0b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 40264,
            "upload_time": "2025-07-12T08:22:53",
            "upload_time_iso_8601": "2025-07-12T08:22:53.699420Z",
            "url": "https://files.pythonhosted.org/packages/8d/21/46d5659cf6d893f4136c703c30922d59257d138842bb21e26a2008e74596/node_graph-0.2.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-12 08:22:53",
    "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: 0.51048s