freshcrate
Home > Developer Tools > dependency-groups

dependency-groups

A tool for resolving PEP 735 Dependency Group data

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.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

azure-coreMicrosoft Azure Core Library for Pythonazure-template_0.1.0b6187637
azure-mgmt-coreMicrosoft Azure Management Core Library for Pythonazure-template_0.1.0b6187637
azure-monitor-opentelemetry-exporterMicrosoft Azure Monitor Opentelemetry Exporter Client Library for Pythonazure-template_0.1.0b6187637
azure-servicebusMicrosoft Azure Service Bus Client Library for Pythonazure-template_0.1.0b6187637
azure-monitor-opentelemetryMicrosoft Azure Monitor Opentelemetry Distro Client Library for Pythonazure-template_0.1.0b6187637