{"id":28455649,"url":"https://github.com/kappa-dev/regraph","last_synced_at":"2025-07-30T02:10:23.050Z","repository":{"id":55123648,"uuid":"62897210","full_name":"Kappa-Dev/ReGraph","owner":"Kappa-Dev","description":"Tool for building graph-based hierarchical knowledge representation systems","archived":false,"fork":false,"pushed_at":"2023-04-07T14:51:47.000Z","size":112192,"stargazers_count":81,"open_issues_count":2,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-06T22:11:15.411Z","etag":null,"topics":["graph","graph-rewriting-library","graph-transformation-systems","hierarchy","knowledge-representation"],"latest_commit_sha":null,"homepage":"http://dev.executableknowledge.org/ReGraph/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kappa-Dev.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}},"created_at":"2016-07-08T15:05:58.000Z","updated_at":"2025-05-26T11:16:23.000Z","dependencies_parsed_at":"2023-02-09T13:16:00.107Z","dependency_job_id":null,"html_url":"https://github.com/Kappa-Dev/ReGraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kappa-Dev/ReGraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kappa-Dev%2FReGraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kappa-Dev%2FReGraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kappa-Dev%2FReGraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kappa-Dev%2FReGraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kappa-Dev","download_url":"https://codeload.github.com/Kappa-Dev/ReGraph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kappa-Dev%2FReGraph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267797616,"owners_count":24145708,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["graph","graph-rewriting-library","graph-transformation-systems","hierarchy","knowledge-representation"],"created_at":"2025-06-06T22:10:16.273Z","updated_at":"2025-07-30T02:10:23.018Z","avatar_url":"https://github.com/Kappa-Dev.png","language":"Python","readme":"# ![alt text](https://github.com/Kappa-Dev/ReGraph/blob/master/regraph_logo.png)\n\n\nGraph rewriting and graph-based knowledge representation library. Documentation is available at http://dev.executableknowledge.org/ReGraph.\n\n## About project\n\nThe **ReGraph** Python library is a generic framework for modelling graph-based systems. In this context models are viewed as graphs and graph transformations --- as a tool to describe both the system evolution and the model evolution [read more about the approach](http://link.springer.com/chapter/10.1007%2F978-3-540-30203-2_30). \n\nReGraph provides various utilities for graph rewriting which can be used for modelling the evolution of a system represented by a graph subject to rewriting. The rewriting functionality is based on the sesqui-pushout rewriting procedure [7]. In addition, the library enables a user to define a typing for models (graphs) that gives specifications for the structure of the models. This later functionality allows both to preserve the specified structure during rewriting and to propagate the changes to the specifications up to the models.\n\n**ReGraph** contains a collection of utilities for rewriting graphs and hierarchies of graphs. It supports two backends: [NetworkX](https://networkx.github.io/) graph objects and on [Neo4j](https://neo4j.com/) property graphs stored in a graph database.\n\n\n## Installation\n\nIn order to install the **ReGraph** library you can either use the latest version in PyPI:\n\n```\npip install regraph\n```\n\nor install from the source by cloning the repository using SSH\n```\ngit clone git@github.com:Kappa-Dev/ReGraph.git\n```\nor using HTTPS\n```\nhttps://github.com/Kappa-Dev/ReGraph.git\n```\n\nInstall the library using Pythin setup tools:\n```\npython setup.py install\n```\n\n\n### Neo4j installation and configuration\n\nIf you want to use the Neo4j-based backend of ReGraph, you need to install the Neo4j database (see installation [instructions](https://neo4j.com/docs/operations-manual/current/installation/)).\n\nMoreover, ReGraph uses the APOC Neo4j plugin, currently not included in the community edition. To install the plugin see the [instructions](https://github.com/neo4j-contrib/neo4j-apoc-procedures/blob/4.0/readme.adoc).\n\nReGraph uses [Neo4j Bolt Driver for Python](https://neo4j.com/docs/api/python-driver/current/#), therefore, having set up your database, you need to provide to ReGraph's API the address of the bolt server (for example, `bolt://127.0.0.1:7687`) and your credentials for connecting the database (i.e. user and password).\n\n\n\n## Run tests\n\n### Nosetests\n```\nnosetests -v -s\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkappa-dev%2Fregraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkappa-dev%2Fregraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkappa-dev%2Fregraph/lists"}