Skip to main content

A tool for resolving PEP 735 Dependency Group data

Project description

An implementation of Dependency Groups (PEP 735).

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dependency_groups-1.3.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

dependency_groups-1.3.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file dependency_groups-1.3.1.tar.gz.

File metadata

  • Download URL: dependency_groups-1.3.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dependency_groups-1.3.1.tar.gz
Algorithm Hash digest
SHA256 78078301090517fd938c19f64a53ce98c32834dfe0dee6b88004a569a6adfefd
MD5 5290791a7098c196c81c94fea205ecba
BLAKE2b-256 6255f054de99871e7beb81935dea8a10b90cd5ce42122b1c3081d5282fdb3621

See more details on using hashes here.

Provenance

The following attestation bundles were made for dependency_groups-1.3.1.tar.gz:

Publisher: publish_to_pypi.yaml on pypa/dependency-groups

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dependency_groups-1.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dependency_groups-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51aeaa0dfad72430fcfb7bcdbefbd75f3792e5919563077f30bc0d73f4493030
MD5 1d0ec3ab11b5e9f484ac5a228bde0718
BLAKE2b-256 99c7d1ec24fb280caa5a79b6b950db565dab30210a66259d17d5bb2b3a9f878d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dependency_groups-1.3.1-py3-none-any.whl:

Publisher: publish_to_pypi.yaml on pypa/dependency-groups

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page