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 details)
Built Distribution
File details
Details for the file busywork-0.1.0b2.tar.gz
.
File metadata
- Download URL: busywork-0.1.0b2.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4379ad00ba416bbeb09e58b7e4013942e25e316f2c2e7fc2cf6303fbc40e92 |
|
MD5 | 7d055701cc15083d7357752d8db0520c |
|
BLAKE2b-256 | 24e10ae992fbf529973f98f70fcd5298e3a316d57c81f8c017588ec9ecb235a1 |
File details
Details for the file busywork-0.1.0b2-py3-none-any.whl
.
File metadata
- Download URL: busywork-0.1.0b2-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a470d9f76721b3d3e74231602fef186faee3fcb8f3b9684c658ba871986bc856 |
|
MD5 | f69acb9a77827db38fdc6c68ffae2930 |
|
BLAKE2b-256 | 1396d4d37d99be9fb98dd1dbbe4073691a950c3e50345e0436769413becb3f76 |