A task runner that works well with poetry.
Project description
A task runner that works well with poetry.
Features
Straight foward declaration of project tasks in your pyproject.toml (kind of like npm scripts)
Task are run in poetry’s virtualenv by default
Short and sweet commands poe [options] task [task_args]
Installation
pip install poethepoet
Usage
Define tasks in your pyproject.toml
[tool.poe.tasks]
test = pytest --cov=poethepoet
Run tasks with the poe cli
poe test
Additional argument are passed to the task so
poe test -v tests/favorite_test.py
results in
pytest --cov=poethepoet -v tests/favorite_test.py
You can also run it like so if you fancy
python -m poethepoet
Contributing
Please do.
TODO
make the cli more friendly with colors and supportive helpful messages
support running tasks outside of poetry’s virtualenv (or in another?)
the abiltiy to declare specific arguments for a task
test better
task aliases
more nuanced awareness of virtualenv
Licence
MIT. Go nuts.
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
Built Distribution
Hashes for poethepoet-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ff5e08fc43c6d4ab817d0a74a489cecb6835443deb091ebf0070b9503037a91 |
|
MD5 | 9873e2a3cc5f45050b087b7b452dc7a7 |
|
BLAKE2b-256 | 3c423094d996c8e4b98ef68d1c8816b6b4c546f34c0f0aad9bbe430e4bdb8be8 |