{"id":17149359,"url":"https://github.com/leon-thomm/ryvencore","last_synced_at":"2025-04-11T01:01:30.100Z","repository":{"id":43005786,"uuid":"323153571","full_name":"leon-thomm/ryvencore","owner":"leon-thomm","description":"Node editor Python backend","archived":false,"fork":false,"pushed_at":"2024-05-19T13:38:53.000Z","size":25170,"stargazers_count":30,"open_issues_count":3,"forks_count":16,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-19T14:40:52.308Z","etag":null,"topics":["flow","python","visual-scripting"],"latest_commit_sha":null,"homepage":"https://leon-thomm.github.io/ryvencore/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leon-thomm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-20T19:56:28.000Z","updated_at":"2024-05-20T16:54:10.992Z","dependencies_parsed_at":"2024-03-10T14:48:11.826Z","dependency_job_id":"197a7d6a-679b-49fc-96a8-d659ad3d4e6e","html_url":"https://github.com/leon-thomm/ryvencore","commit_stats":{"total_commits":219,"total_committers":3,"mean_commits":73.0,"dds":0.0091324200913242,"last_synced_commit":"1b18db245e19b1db7195aef82236b4ec7dd609b5"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon-thomm%2Fryvencore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon-thomm%2Fryvencore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon-thomm%2Fryvencore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon-thomm%2Fryvencore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leon-thomm","download_url":"https://codeload.github.com/leon-thomm/ryvencore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322600,"owners_count":21084336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flow","python","visual-scripting"],"created_at":"2024-10-14T21:32:57.723Z","updated_at":"2025-04-11T01:01:30.010Z","avatar_url":"https://github.com/leon-thomm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./docs/img/logo.png\" alt=\"drawing\" width=\"70%\"/\u003e\n\u003c/p\u003e\n\nAn experimental Python library for graph-based processing, designed for flow-based/node-based visual scripting editors. It is the backbone of the [Ryven](https://github.com/leon-thomm/Ryven) project, but it can very much be used in other contexts as well.\n\nWhile ryvencore is written purely in Python, it is very lightweight and highly compatible. It can be compiled with Cython, see the `setup_cython.py` file. The performance seems comparable so far, but the code hasn't been optimized for Cython yet, so there might be a lot of potential. Please consider contributing. ryvencore also seems compatible with most Python ports to WebAssembly, even the Cython compiled ryvencore.\n\n### Installation\n\n```\npip install ryvencore\n```\n\nor from sources:\n```\ngit clone https://github.com/leon-thomm/ryvencore\ncd ryvencore\npip install .\n```\n\n### Usage\n\nAs an experimental library, the API is not fully stable and small breaking changes over time should be expected. Generally, the API is defined by what is included in the [docs](https://leon-thomm.github.io/ryvencore/).\n\n### Examples\n\n**loading a project** e.g. exported from Ryven\n\n```python\nimport ryvencore as rc\nimport json\nimport sys\n\nif __name__ == '__main__':\n    # project file path\n    fpath = sys.args[1]\n\n    # read project file\n    with open(fpath, 'r') as f:\n        project: dict = json.loads(f.read())\n\n    # run ryvencore\n    session = rc.Session()\n    session.load(project)\n\n    # access the first flow\n    f = session.flows[0]\n    \n    # and the last node that was created\n    my_node = f.nodes[-1]\n\n    # and execute it\n    my_node.update()\n```\n\n### Features\n\nThe main features include\n\n- **load \u0026 save** from and into JSON\n- **a simple and powerful nodes system** which lets you do anything, simple and unrestricted\n- **data *and* exec flow support** - unlike lots of other solutions out there, ryvencore supports exec flows\n- **variables system** with subscribe and update mechanism to build nodes that automatically adapt to change of data\n- **built-in logging** based on python's `logging` module\n- **actions system for nodes** (WIP)\n\n### Licensing\n\nryvencore is licensed under the [LGPL License](github.com/leon-thomm/ryvencore/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleon-thomm%2Fryvencore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleon-thomm%2Fryvencore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleon-thomm%2Fryvencore/lists"}