Skip to content

nat-n/poethepoet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0909ae2 Β· Mar 15, 2025
Dec 27, 2024
Mar 15, 2025
Mar 15, 2025
Mar 15, 2025
Nov 4, 2021
Apr 20, 2024
Sep 24, 2023
May 31, 2020
Mar 2, 2025
Jan 9, 2025
Mar 15, 2025

Repository files navigation

Poe the Poet

Poe the Poet

Python versions PyPI version Download stats License

A batteries included task runner that works well with poetry or uv.

πŸ“– Read the documentation πŸ“–


Features

Quick start

  1. Install the Poe the Poet via pipx or another method.
pipx install poethepoet
  1. 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
  1. 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