Skip to main content

A package for managing dependency groups.

Project description

Busywork

Dependency group support using pyproject.toml. Dependency groups are dependencies that are used in development that the user does not need to install, such as black or mypy.

Usage

Add this to your pyproject.toml

[tool.busywork.groups.linting]
# PEP 440 dependency specification.
requires = ["black", "isort"]

[tool.busywork.groups.typing]
requires = ["mypy", "types-toml"]

[tool.busywork.groups.dev]
# Nested groups
requires = ["nox"]
requires-groups = ["linting", "typing"]

Now install the group:

busywork install --group group-name

Groups can be separated by a comma for multiple groups.

busywork install --group group-one,group-two,group-three

Other options:

busywork install --all  # Install all dependency groups.
busywork install --dependencies  # Install the current project's dependencies.
busywork install --this  # Install the current project. This is the equivalent to `pip install .`

# arguments can also be combined, for example:
busywork install --this --all  # Install the current project and all dependency groups.

Credits

  • Dependency groups are inspired by poetry.
  • The CLI visuals are inspired by nox.

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

busywork-0.1.0b2.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

busywork-0.1.0b2-py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 3

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