Skip to main content

A task runner that works well with poetry.

Project description

Poe the Poet

Poe the Poet

PyPI version PyPI version PyPI version PyPI version

A batteries included task runner that works well with poetry.

📖 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

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

poethepoet-0.26.1.tar.gz (56.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poethepoet-0.26.1-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

Details for the file poethepoet-0.26.1.tar.gz.

File metadata

  • Download URL: poethepoet-0.26.1.tar.gz
  • Upload date:
  • Size: 56.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for poethepoet-0.26.1.tar.gz
Algorithm Hash digest
SHA256 aaad8541f6072617a60bcff2562d00779b58b353bd0f1847b06d8d0f2b6dc192
MD5 b84c9e2192a7dca4de44d4af3f162a3d
BLAKE2b-256 c2e34a7ad13b30ca22398eed9da9b5ad361b0e5bcb1e2bf8db266b962d98897d

See more details on using hashes here.

File details

Details for the file poethepoet-0.26.1-py3-none-any.whl.

File metadata

  • Download URL: poethepoet-0.26.1-py3-none-any.whl
  • Upload date:
  • Size: 72.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for poethepoet-0.26.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa43b443fec5d17d7e76771cccd484e5285805301721a74f059c483ad3276edd
MD5 ddcfb352b115ace0daef4df11eb9aaa5
BLAKE2b-256 f47948b1f2891883272e510761d0555916b857ea0a51865bc10bf3bb24fb2b58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page