Poethepoet 0.28.0 | Coderz Repository

poethepoet 0.28.0

Last updated:

0 purchases

poethepoet 0.28.0 Image
poethepoet 0.28.0 Images

Free

Languages

Categories

Add to Cart

Description:

poethepoet 0.28.0

Poe the Poet





A batteries included task runner that works well with poetry.
πŸ“– Read the documentation πŸ“–

Features


βœ… Straight forward declaration of project tasks in your pyproject.toml


βœ… Tasks are run in poetry's virtualenv (or another env you specify)


βœ… Shell completion of task names (and global options too for zsh)


βœ… The poe CLI can be used standalone, or as a plugin for poetry


βœ… Tasks can be commands, shell scripts, python expressions, or references to python functions


βœ… Concise commands with extra arguments passed to the task poe [options] task [task_args]


βœ… Easily define CLI arguments for your tasks


βœ… Tasks can specify and reference environment variables, even without a shell


βœ… Tasks are self documenting, with optional help messages (just run poe with no arguments)


βœ… Tasks can be composed into sequences or DAGs


βœ… Works with .env files


βœ… Can be used as a library to embed in other tools


Quick start

Install the Poe the Poet via pipx or another method.

pipx install poethepoet


Define some tasks in your pyproject.toml

[tool.poe.tasks]
test = "pytest --cov=my_app" # a simple command task
serve.script = "my_app.service:run(debug=True)" # python script based task
tunnel.shell = "ssh -N -L 0.0.0.0:8080:$PROD:8080 $PROD &" # (posix) shell based task


Run your tasks via the CLI

$ poe test -v tests/unit # extra CLI arguments are appended to the underlying command
Poe => pytest --cov=my_app
...

If you're using poetry, then poe will automatically use CLI tools and libraries from your poetry managed virtualenv without you having to run poetry run or poetry shell
Poe can also be used without poetry.
Contributing
There's plenty to do, come say hi in the discussions or open an issue! πŸ‘‹
Also check out the CONTRIBUTING guide πŸ€“
License
MIT

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.