{"id":30355129,"url":"https://github.com/miosomos/pykagcee","last_synced_at":"2026-05-18T04:03:35.816Z","repository":{"id":271361167,"uuid":"913188335","full_name":"miosomos/pykagcee","owner":"miosomos","description":"Knowledge Graph Constructor for python projects.","archived":false,"fork":false,"pushed_at":"2025-10-16T01:33:26.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T22:22:03.234Z","etag":null,"topics":["knowledge-graph-construction","neo4j","software-engineering"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miosomos.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-07T07:49:02.000Z","updated_at":"2025-10-16T01:33:29.000Z","dependencies_parsed_at":"2025-01-07T08:50:12.181Z","dependency_job_id":"25074a44-641d-444a-9a75-4dcb3964daf1","html_url":"https://github.com/miosomos/pykagcee","commit_stats":null,"previous_names":["perer876/pykagcee","miosomos/pykagcee"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/miosomos/pykagcee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miosomos%2Fpykagcee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miosomos%2Fpykagcee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miosomos%2Fpykagcee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miosomos%2Fpykagcee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miosomos","download_url":"https://codeload.github.com/miosomos/pykagcee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miosomos%2Fpykagcee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33164672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["knowledge-graph-construction","neo4j","software-engineering"],"created_at":"2025-08-19T04:44:20.877Z","updated_at":"2026-05-18T04:03:35.812Z","avatar_url":"https://github.com/miosomos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pykagcee\n\nThis library is used to create a knowledge graph from a python project. \nIt is based on the `modelscope_agent/environment/graph_database` package from the ModelScope-Agent project,\nbut ported to be used as a standalone packaged CLI interface.\n\n## Requirements\n\n- Neo4j DBMS (local or remote). We recommend using the [Neo4j Desktop](https://neo4j.com/download/) application due to its better performance.\n- [uv](https://docs.astral.sh/uv/getting-started/installation/) tool to manage python virtual environment and dependencies.\n\n## Installation\n\nClone the repository and set the environment variables in a `.env`:\n\n```bash\ncp .env.example .env\n```\n\nSet your Neo4j connection details in the `.env` file:\n\n```bash\nNEO4J_URI=bolt://localhost:7687\nNEO4J_USER=neo4j\nNEO4J_PASSWORD=your_password\n```\n\nCreate environment and install dependencies:\n\n```bash\nuv sync\n```\n\n## Usage\n\n### Build single knowledge graph\n\nCreate a knowledge graph for a single Python project.\n\n```bash\nuv run pykagcee build /path/to/single/project\n```\n\n### Build multiple knowledge graphs\n\nCreate knowledge graphs for multiple Python projects under a directory.\n\n```bash\nuv run pykagcee build-all /path/to/multiple/projects --max-workers 8\n```\n\n### Wipe all graphs\n    \nClean all databases.\n\n```bash\nuv run pykagcee wipe\n```\n\n## Modifications\n\nThis project includes modifications made by Perer876:\n\n- 01/07/2025: Extract the `graph_database` package from the `ModelScope-Agent` project and add it to this project.\n- 30/08/2025: Several changes to support the CLI interface and multiple graph creation.\n\n## License\n\nThis project is licensed under the Apache License 2.0. See the LICENSE file for details.\n\n## Acknowledgments\n\nThis project is based on the [ModelScope Agent](https://github.com/modelscope/modelscope-agent) project by Alibaba ModelScope. See the NOTICE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiosomos%2Fpykagcee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiosomos%2Fpykagcee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiosomos%2Fpykagcee/lists"}