{"id":26520616,"url":"https://github.com/markgacoka/codepropertygraph","last_synced_at":"2025-03-21T12:23:00.763Z","repository":{"id":42015699,"uuid":"453618923","full_name":"markgacoka/codepropertygraph","owner":"markgacoka","description":"A Python implementation of a language-agnostic Code Property Graph","archived":false,"fork":false,"pushed_at":"2024-06-10T02:10:06.000Z","size":880,"stargazers_count":16,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T19:49:00.035Z","etag":null,"topics":["code-property-graph","cpg","graph-traversal","python","static-analysis"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/codepropertygraph/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markgacoka.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"markgacoka"}},"created_at":"2022-01-30T07:47:56.000Z","updated_at":"2025-01-12T12:04:12.000Z","dependencies_parsed_at":"2022-08-12T02:30:49.041Z","dependency_job_id":null,"html_url":"https://github.com/markgacoka/codepropertygraph","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgacoka%2Fcodepropertygraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgacoka%2Fcodepropertygraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgacoka%2Fcodepropertygraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgacoka%2Fcodepropertygraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markgacoka","download_url":"https://codeload.github.com/markgacoka/codepropertygraph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566931,"owners_count":20473451,"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":["code-property-graph","cpg","graph-traversal","python","static-analysis"],"created_at":"2025-03-21T12:23:00.208Z","updated_at":"2025-03-21T12:23:00.758Z","avatar_url":"https://github.com/markgacoka.png","language":"Python","readme":"### Installation\nTo install the repository, you need to clone it and run it inside a virtual environment. Running `main.py` generates a Code Property Graph of the simple addition script inside `examples/` and saves it to `output/`.\n```\ngit clone https://github.com/markgacoka/codepropertygraph.git\ncd codepropertygraph\n\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\n## Running the Application\n```\npython main.py\n```\n\n## Testing\nRun all tests\n```\npytest codepropertygraph/tests\n```\n\n## Updating Library\n\n1. Upgrade the version number in `codepropertygraph/setup.py`\n```\n--\u003e VERSION=\"x.x.x\"\n```\n\n2. Upload to Pypi\n```\npython setup.py sdist bdist_wheel\ntwine upload dist/*\n```\n\nIf API token is requested, go to `.env` as `PYPI_API_TOKEN`.\n\nFor first time contributors, read the [CONTRIBUTING](https://github.com/markgacoka/codepropertygraph/blob/main/CONTRIBUTING.md) page.\n","funding_links":["https://github.com/sponsors/markgacoka"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkgacoka%2Fcodepropertygraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkgacoka%2Fcodepropertygraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkgacoka%2Fcodepropertygraph/lists"}