freshcrate
Skin:/
Home > Developer Tools > dependency-groups

dependency-groups

A tool for resolving PEP 735 Dependency Group data

Why this rank:Release freshnessStrong adoptionHealthy release cadence

Description

Dependency Groups ================= An implementation of Dependency Groups (`PEP 735 <https://peps.python.org/pep-0735/>`_). This is a library which is able to parse dependency groups, following includes, and provide that data as output. Interfaces ---------- ``dependency-groups`` provides the following: - A ``DependencyGroupResolver`` which implements efficient resolution of dependency groups - A ``resolve()`` function which converts a dependency group name to a list of strings (powered by the resolver) - Three CLI commands: - ``python -m dependency_groups GROUPNAME`` prints a dependency group's contents - ``lint-dependency-groups`` loads all dependency groups to check for correctness - ``pip-install-dependency-groups GROUPNAME...`` wraps a ``pip`` invocation to install the contents of a dependency group - A pre-commit hooks which runs ``lint-dependency-groups`` Documentation ------------- Full documentation is available on `the Dependency Groups doc site <https://dependency-groups.readthedocs.io/>`_.

Release History

VersionChangesUrgencyDate
1.3.2- Add support for Python 3.14 and 3.15 - Remove support for Python 3.8 - Correct the type of the ``dependency_groups`` parameter to ``resolve()``, ``resolve_all()``, and ``DependencyGroupsResolver()``. - Raise a clear ``TypeError`` when an ``include-group`` value is not a string (was a cryptic ``TypeError`` from name normalization), and accept any ``Mapping`` for include items, not only ``dict``. - Fix a bug in which ``pip-install-dependency-groups`` failed when the resolved groups were empty. IHigh8/22/2026
1.3.1Imported from PyPI (1.3.1)Low4/21/2026
1.3.0- Bugfix: raise a `TypeError` on non-list groups (was `ValueError`). Thanks @henryiii! - Several improvements to the CLI interfaces! Thanks @henryiii! - Add support for a `cli` extra, as in `pip install "dependency-groups[cli]"`, which ensures that `tomli` is present on older Pythons. - Add support for `dependency-groups` as an entrypoint, as an alias of `python -m dependency_groups`. - The `dependency-groups` command now supports a `--list` flag to list groups instead of resolving theLow11/1/2024
1.2.0- Switch to `flit-core` as the build backend - Add support for supplying multiple dependency groups to the functional `resolve()` API: `resolve(dependency_groups, *groups: str)`. Thanks @henryiii! Low10/29/2024
1.1.0- Add support for Python 3.8 Low10/28/2024
1.0.0- Update metadata to 1.0.0 and "Production" status - Support Python 3.13 Low10/15/2024
0.3.0- Add a new command, `pip-install-dependency-groups`, which is capable of installing dependency groups by invoking `pip` Low10/2/2024
0.2.2- The pre-commit hook sets `pass_filenames: false` - The error presentation in the lint CLI has been improved Low9/11/2024
0.2.1- Bugfix to pre-commit config Low9/11/2024
0.2.0- Add a new CLI component, `lint-dependency-groups`, which can be used to lint dependency groups - Provide a pre-commit hook, named `lint-dependency-groups` Low9/11/2024
0.1.1- Fix a bug in cycle detection for nontrivial cycles Low9/10/2024
0.1.0- Initial release Low9/10/2024

Dependencies & License Audit

Loading dependencies...

Similar Packages

jediAn autocompletion tool for Python that can be used for text editors.master@2026-10-25
mypyOptional static typing for Pythonmaster@2026-10-25
types-jinja2Typing stubs for Jinja2main@2026-10-25
pyhankoTools for stamping and signing PDF filesmaster@2026-10-25
flitA simple packaging tool for simple packages.main@2026-10-24

More from pypi

markitdownUtility tool for converting various files to Markdown
fastapiFastAPI framework, high performance, easy to learn, fast to code, ready for production
djangoA high-level Python web framework that encourages rapid development and clean, pragmatic design.
flaskA simple framework for building complex web applications.

More in Developer Tools

mypyOptional static typing for Python
jediAn autocompletion tool for Python that can be used for text editors.
llxprt-codeAn open-source multi-provider AI assisted CLI development tool. Use whatever LLM you want to code in your terminal.
markitdownUtility tool for converting various files to Markdown