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

Uploaded Source

Built Distribution

dependency_groups-1.0.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dependency_groups-1.0.0.tar.gz
  • Upload date:
  • Size: 9.4 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.0.0.tar.gz
Algorithm Hash digest
SHA256 cc662b5fdef5ac151d7f69e880daa048069546c8cf70d06dbc9c65c88c17f725
MD5 c7aa26d3050ae7a021cd98839b457fc2
BLAKE2b-256 1d30cc10f868534720bf877d61b5c00479527e5fafb3ab06fb7f8d836da3fa7d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for dependency_groups-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8676925c8865b10c3af98e3bee8483cf8a2907811cacee9c10cc27d61e6a5027
MD5 35066d7edd75bf5133f3b13f33bac776
BLAKE2b-256 906c6f91624f4f3ddd1aecc286c5737207709c61dae44d27fd1b6e15e064977b

See more details on using hashes here.

Provenance

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