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.24.4.tar.gz (51.3 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.24.4-py3-none-any.whl (66.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poethepoet-0.24.4.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for poethepoet-0.24.4.tar.gz
Algorithm Hash digest
SHA256 ff4220843a87c888cbcb5312c8905214701d0af60ac7271795baa8369b428fef
MD5 5f67ea07c00753a88641d3d8a7584d03
BLAKE2b-256 945c4423aebd519970edf11fbaa3adccda0846f6f198bbb5afc5ad3c082fa1b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: poethepoet-0.24.4-py3-none-any.whl
  • Upload date:
  • Size: 66.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for poethepoet-0.24.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fb4ea35d7f40fe2081ea917d2e4102e2310fda2cde78974050ca83896e229075
MD5 dc072ccc7f7cd3259b590a609a368a76
BLAKE2b-256 543adad576f88106411587c3f51f6e22a884109da8c24ac5bc3cc44b7bd54990

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