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.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

dependency_groups-1.3.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dependency_groups-1.3.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dependency_groups-1.3.0.tar.gz
Algorithm Hash digest
SHA256 5b9751d5d98fbd6dfd038a560a69c8382e41afcbf7ffdbcc28a2a3f85498830f
MD5 c462ff25709929dbca9e2b1222be6b3b
BLAKE2b-256 b457cd53c3e335eafbb0894449af078e2b71db47e9939ce2b45013e5a9fe89b7

See more details on using hashes here.

Provenance

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

Publisher: publish_to_pypi.yaml on sirosen/dependency-groups

Attestations:

File details

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

File metadata

File hashes

Hashes for dependency_groups-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1abf34d712deda5581e80d507512664d52b35d1c2d7caf16c85e58ca508547e0
MD5 c0c3777357d8e1a1f78713bca56153ef
BLAKE2b-256 992c3e3afb1df3dc8a8deeb143f6ac41acbfdfae4f03a54c760871c56832a554

See more details on using hashes here.

Provenance

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

Publisher: publish_to_pypi.yaml on sirosen/dependency-groups

Attestations:

Supported by

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