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.0.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.0-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poethepoet-0.26.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ba964c242676501acc4ed87e71ce4984a752a7bd0684acf13fa34655d9a715eb
MD5 e1263f3134260b4cbb974f6e5047fdd0
BLAKE2b-256 e430e5b556400d17e8745520ae161e1a3f3867517f9670c9ac909a9fde9ac9a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: poethepoet-0.26.0-py3-none-any.whl
  • Upload date:
  • Size: 72.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d37d543e8ec5fb1d51e04b6c26439fc07c342e541d40fcbe67a3a3189a877db3
MD5 5aa600d641d4eeee9df3351de8fdc562
BLAKE2b-256 4aff40ea4e039bf75f99d44d0b77a036b2fd6b08f2dea1a423db8a43457bd513

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