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
Release history Release notifications | RSS feed
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)
Built Distribution
busywork-0.1.0b2-py3-none-any.whl
(12.1 kB
view hashes)
Close
Hashes for busywork-0.1.0b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a470d9f76721b3d3e74231602fef186faee3fcb8f3b9684c658ba871986bc856 |
|
MD5 | f69acb9a77827db38fdc6c68ffae2930 |
|
BLAKE2b-256 | 1396d4d37d99be9fb98dd1dbbe4073691a950c3e50345e0436769413becb3f76 |