BSD Ports

devel/py-deptry 0.23.0_1 DragonFly

CLI utility to check for unused, missing and transitive dependencies

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
1239.4 KiB, 4207.1 KiB installed

Description

deptry is a command line tool to check for issues with dependencies in a Python project, such as unused or missing dependencies. It supports the following types of projects:

  • Projects that use Poetry and a corresponding pyproject.toml file
  • Projects that use PDM and a corresponding pyproject.toml file
  • Projects that use a requirements.txt file according to the pip standards

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.

In the other systems

SystemPortVersion
DragonFlydevel/py-deptry0.23.0_1
FreeBSDdevel/py-deptry0.25.1_5
HardenedBSDdevel/py-deptry0.25.1_4
GhostBSDdevel/py-deptry0.25.1_4

Install

Binary package:

pkg install py311-deptry

From DPorts:

cd /usr/dports/devel/py-deptry && make install clean

Dependencies

Run dependencies 4

No port depends on this one.