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

Uploaded Source

Built Distribution

dependency_groups-1.2.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dependency_groups-1.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 7fa2b0fa6674c17ded3da9c084b37d12011eef1f51c51a325265e821c2a16fd2
MD5 de0191617254d09b75f0a4401060903e
BLAKE2b-256 1391ce8ff6412c8c3bef53b7974ecdca015383dd30490ba4dbab96086c3529c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dependency_groups-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14b5a351dcb76b8bd73347d4f46ac18fb8a52bbd8ac2eece00db7bb640ec728a
MD5 3e07d282e4d074e4a79d9f231b933199
BLAKE2b-256 db827d40b140b68bb5d9ae825c9f13cb512e735e97ca69f432a86421930fd3ad

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