{"id":23380550,"url":"https://github.com/flix-tech/depcheck","last_synced_at":"2025-04-10T22:44:08.830Z","repository":{"id":47545044,"uuid":"357141886","full_name":"flix-tech/depcheck","owner":"flix-tech","description":"Python code quality package that helps in defining and restricting how components of your code may interact","archived":false,"fork":false,"pushed_at":"2023-06-06T09:07:23.000Z","size":101,"stargazers_count":8,"open_issues_count":4,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T19:39:52.430Z","etag":null,"topics":["clean-architecture","deptrac","hexagonal-architecture","jdepend","layered-architecture"],"latest_commit_sha":null,"homepage":"","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/flix-tech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-12T09:56:18.000Z","updated_at":"2024-09-15T14:26:56.000Z","dependencies_parsed_at":"2022-08-24T14:37:45.675Z","dependency_job_id":null,"html_url":"https://github.com/flix-tech/depcheck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fdepcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fdepcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fdepcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fdepcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flix-tech","download_url":"https://codeload.github.com/flix-tech/depcheck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312190,"owners_count":21082637,"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":["clean-architecture","deptrac","hexagonal-architecture","jdepend","layered-architecture"],"created_at":"2024-12-21T20:16:44.659Z","updated_at":"2025-04-10T22:44:08.808Z","avatar_url":"https://github.com/flix-tech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Depcheck: Dependency Checker](https://images2.imgbox.com/da/85/J5OEzbAH_o.jpg)\n\nDepcheck is a command line code-quality tool which supports adopting a layered architecture\nby making it possible to specify dependency constraints between packages of your own Python application.\nThe tool aims to achieve the same goals as [Deptrac][deptrac] in PHP and [JDepend][jdepend] in Java\n\n## Install\n- Via [`poetry`][poetry] (recommended): Install with `poetry add depcheck`\n- Via `pip`: Install from [Pypi][pypi-link] via `pip install depcheck`\n\n## Usage\nTo run via CLI you run:\n```shell\ndepcheck \u003croot_dir\u003e -f \u003cconfig_file\u003e\n\n# Or, with poetry\npoetry run depcheck \u003croot_dir\u003e -f \u003cconfig_file\u003e\n```\n\nThe `example` directory demonstrates how the tool works.\n\n```shell\ncd example\n\npoetry run depcheck example -f .depcheck.ok.yml  # This should be correct\npoetry run depcheck example -f .depcheck.errors.yml  # This should give errors\n```\n\nTo understand how to configure the tool, look inside the YML files. The `-f` argument is optional.\nImplicitly, the tool will look for `.depcheck.yml`.\n\n**NOTE:** Package directories should contain `__init__.py` to be recognized as a package!\n\n\n## Contributing\nAll contributions are welcomed! See our [CONTRIBUTING.md][contribution] document.\n\n\n\u003c!-- Links --\u003e\n[hexagonal-architecture]: https://en.wikipedia.org/wiki/Hexagonal_architecture_(software)\n[upgrade-python-version]: ./docs/upgrade-python-version.md\n[update-project-dependencies]: ./docs/upgrade-python-version.md\n[pypi-link]: https://pypi.org/project/depcheck/\n[contribution]: ./CONTRIBUTING.md\n[deptrac]: https://github.com/qossmic/deptrac\n[jdepend]: https://github.com/clarkware/jdepend\n[poetry]: https://python-poetry.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflix-tech%2Fdepcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflix-tech%2Fdepcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflix-tech%2Fdepcheck/lists"}