--- id: pyproject-dependencies version: "1.3.2" license: unclear license_treatment: permissive maintenance: active --- # pyproject-dependencies License: permissive · Maintenance: active · Downloads: 78.7K/mo ## What it is and what it does pyproject-dependencies is a command-line tool that reads Python project metadata and outputs their direct dependencies. It works by parsing pyproject.toml or setup.py files, or by invoking the project's build backend to extract declared requirements. The tool is useful for understanding what a project directly depends on without installing it or running a full dependency resolver. The package depends on build, packaging, tomli, and typing-extensions to handle build backends, version parsing, TOML reading, and type hints. It supports filtering dependencies by name regex and can optionally exclude projects from their own dependency lists when analyzing multiple interdependent projects. Use it for: - Audit direct dependencies of a project before deciding whether to use or contribute to it. - Generate dependency reports for compliance or security scanning workflows. - Extract requirements from projects that don't have a requirements.txt file. - Analyze build-time dependencies separately from runtime dependencies. - Filter and list only specific dependency categories using regex patterns. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Extracts and prints the direct dependencies declared in Python projects by parsing pyproject.toml, setup.py, or invoking build backends. Yes, if you need to inspect or extract Python project dependencies programmatically or from the command line. The low install friction, permissive license, active maintenance, and zero known vulnerabilities make it a safe choice. Not necessary if you only work with projects that already expose their dependencies clearly through standard files. ## Install pip install pyproject-dependencies uv add pyproject-dependencies poetry add pyproject-dependencies ## Installing pyproject-dependencies Before you install: Low friction install with four straightforward runtime dependencies. Active maintenance with a recent commit on 2026-08-10, though the package itself last released on 2023-09-23. License in practice: MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions. Quickstart: pip install pyproject-dependencies pyproject-dependencies /path/to/project # Or with filtering: pyproject-dependencies --name-filter '^requests' /path/to/project Requires Python 3.7 or later. The --no-isolation flag requires the build backend to be available in the current environment. Verify before relying: - Whether the package handles all modern dependency specifiers and conditional dependencies correctly. - Performance characteristics when analyzing projects with large dependency trees. - How well it handles environment markers and extras in dependency declarations. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 78.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags list python project dependencies, extract pyproject.toml dependencies, analyze project requirements, dependency extraction tool, inspect build backend dependencies, pyproject dependencies parser, dependency-analysis, build-backend [View on SkillFed](https://skillfed.io/packages/pyproject-dependencies) · [View on PyPI](https://pypi.org/project/pyproject-dependencies/)