{"repo":"osprey-oss/deptry","free":true,"listed":false,"github":"https://github.com/osprey-oss/deptry","clone":"git clone https://github.com/osprey-oss/deptry.git","description":"Find unused, missing and transitive dependencies in a Python project.","language":"Python","stars":1461,"topics":["dependencies","poetry","python","cicd","pep621","rust"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"deptry is a command line tool to check for issues with dependencies in a Python project, such as unused or missing dependencies. It supports projects using Poetry, pip, PDM, uv, and more generally any project supporting PEP 621 specification. Dependency issues are detected by scanning for imported modules within all Python files in a directory and its subdirectories, and comparing those to the dependencies listed in the project's requirements. --- Documentation - Contributing --- Quickstart Installation To add deptry to your project, run one of the following commands: Warning : When using pip to install deptry , make sure you install it within the virtual environment of your project. Installing deptry globally will not work, since it needs to have access to the metadata of the packages in the virtual environment. Prerequisites deptry should be run within the root directory of the project to be scanned, and the project should be running in its own dedicated virtual environment. Usage To scan your project for dependency issues, run: Example output could look as follows: Configuration deptry can be configured by using additional command line arguments, or by adding a [tool.deptry] section in pyproject.toml . For more information, see the Usage and Configuration documentations. --- Repository initiated with osprey-oss/cookiecutter-poetry.","default_branch":null,"files":null,"tree":[],"storefront":"/r/osprey-oss","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/osprey-oss/deptry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}