Skip to main content

Depcheck is a tool to check package dependencies between predefined layers to make sure that the application always complies with the Hexagonal Architecture principle of creating loosely coupled application components.

Project description

Depcheck: Dependency Checker

pipeline status

Depcheck is a tool to check package-dependencies between predefined layers. In the configuration file(.depcheck.yml) located in the project root, which packages belong to which layers and allowed dependencies between layers are configurable. In this way, you can make sure that the application always complies with the Hexagonal Architecture principle of creating loosely coupled application components.

Usage

Let's say you have a project with the directory structure below:

project_directory
    root_package
        package-1
        package-2
        main.py
    README.md
    .gitignore
    .depcheck.yml
  • Navigate to the project_directory then run depcheck for your project:
    depcheck root_package
    
  • As you can see in the directory structure above, we have .depcheck.yml configuration file in the project directory. If you would like to change the path of the configuration file, use -f or --file argument:
    depcheck root_package -f config/customized_depcheck.yml
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

depcheck-0.1.0.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

depcheck-0.1.0-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page