BSD Ports

devel/py-requirements-detector 1.3.2 DragonFly

Find and list requirements of a Python project

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

Description

Requirements Detector is a simple Python tool which attempts to find and list the requirements of a Python project.

When run from the root of a Python project, it will try to ascertain which libraries and the versions of those libraries that the project depends on.

It uses the following methods in order, in the root of the project:

  1. Parse setup.py (if this is successful, the remaining steps are skipped)
  2. Parse pyproject.yoml (if a tool.poetry.dependencies section is found, the remaining steps are skipped)
  3. Parse requirements.txt or requirements.pip
  4. Parse all *.txt and *.pip files inside a folder called requirements
  5. Parse all files in the root folder matching *requirements*.txt or reqs.txt (so for example, pip_requirements.txt would match, as would requirements_common.txt)

In the other systems

The newest version among them is 1.6.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-requirements-detector1.3.2 behind since 2026-08-31none known-[email protected]-
FreeBSDdevel/py-requirements-detector1.6.0 newestnone known-[email protected]2026-08-31
HardenedBSDdevel/py-requirements-detector1.6.0 newestno data-[email protected]-
GhostBSDdevel/py-requirements-detector1.6.0 newestno data-[email protected]-

Install

Binary package:

pkg install py311-requirements-detector

From DPorts:

cd /usr/dports/devel/py-requirements-detector && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4
Required by 1