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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dependency_groups-1.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 1a6bfe06f2d1b16402238182c59d20dd77f0163ceb6bc889e4e11fedb37c01ca
MD5 2d723f6bd5638635bc455962375e692b
BLAKE2b-256 8fb66bee005bb33265cfc7dde1fe43c81c7d0cc4b2f3d47d2e0287a373b00661

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dependency_groups-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76d9599ddb835b9d6e70eb432252f6432246f164328264ae0b006408034a8863
MD5 b80b20867bf3d2917240ef499655a2ec
BLAKE2b-256 e292e0211aa907e73bdefbb4f3db35da3fced9bdcbb7ddf2e0f9a2d268c3abe3

See more details on using hashes here.

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