depgather
Get a list of deps given a pyproject.toml, uv.lock, requirements.txt etc
Decision gist · record as of 2026-08-14
Yes, if you need to programmatically extract dependencies from Python project files. The package has low install friction, active maintenance, MIT licensing, no known vulnerabilities, and a clear single purpose. It's a straightforward utility with minimal dependencies—install it when you're building tooling that requires dependency introspection.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later.
- Low friction install with four runtime dependencies (loguru, pydantic, requirements-parser, tomli).
- Active maintenance as of 2026-06-21 with a recent release cycle.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.
last release 2026-06-17 (58 days) · last repo commit 2026-06-21
0 known vulnerabilities (OSV.dev, 2026-08-14) · 94,160 downloads/mo, #13,340 on PyPI
Alternatives
Verify before relying
pip install depgather
from depgather import get_deps
deps = get_deps('pyproject.toml')- Whether the package handles all dependency specifier formats (extras, version constraints, environment markers) or only basic cases.
- Performance characteristics when parsing large or complex lock files.
- Whether it supports all modern Python packaging formats beyond the three mentioned in the summary.
What it is and what it does
DepGather is a utility library that reads Python project dependency declarations from multiple file formats and returns a structured list of dependencies. It handles pyproject.toml, uv.lock, requirements.txt, and related formats, making it useful when you need programmatic access to a project's declared dependencies without parsing files manually.
The package wraps loguru for logging, pydantic for data validation, requirements-parser for parsing requirements files, and tomli for TOML parsing. It's designed for developers who need to introspect or analyze Python project dependencies as part of a larger tool or workflow—such as dependency auditing, migration scripts, or build system integration.
Use it for
- Audit all dependencies in a project by reading pyproject.toml or requirements.txt programmatically.
- Build a dependency migration tool that reads from one format and writes to another.
- Analyze lock file contents (uv.lock) to understand pinned versions across a project.
- Integrate dependency discovery into a build or CI/CD script without shell parsing.
- Generate dependency reports or graphs by extracting structured dependency data.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to programmatically extract dependencies from Python project files.
The package has low install friction, active maintenance, MIT licensing, no known vulnerabilities, and a clear single purpose. It's a straightforward utility with minimal dependencies—install it when you're building tooling that requires dependency introspection.
Install
depgather on PyPI
Before you install
Low friction install with four runtime dependencies (loguru, pydantic, requirements-parser, tomli). Active maintenance as of 2026-06-21 with a recent release cycle.
Requires Python 3.12 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.
Quickstart
pip install depgather
from depgather import get_deps
deps = get_deps('pyproject.toml')
Verify before relying
- Whether the package handles all dependency specifier formats (extras, version constraints, environment markers) or only basic cases.
- Performance characteristics when parsing large or complex lock files.
- Whether it supports all modern Python packaging formats beyond the three mentioned in the summary.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packageslogurupydanticrequirements-parsertomli |
| Maintenance | Actively maintained 58 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 94,160 / month, #13,340 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: Implementation :: CPythonTopic :: SecurityTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: depgather-0.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “extract dependencies from pyproject.toml”
- depgatherExtracts and lists dependencies from multiple Python project file…
- pyproject-dependenciesExtracts and prints the direct dependencies declared in Python…
- dparseParses Python dependency files (requirements.txt, conda.yml, tox.ini,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also gemfileparser2 · uv-secure · requirements-detector · pip-check-reqs · hatch-requirements-txt · licensecheck · nox-uv · pip-tools · dparse · prophecy-libs