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.2.tar.gz (51.1 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.2-py3-none-any.whl (65.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poethepoet-0.24.2.tar.gz
  • Upload date:
  • Size: 51.1 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.2.tar.gz
Algorithm Hash digest
SHA256 f600ecdbf58b474f7dba273060b194242566ffccb41d75f5b0d1cb8f5aa8bf2e
MD5 3b0157dcd52732580a20f1b351793fed
BLAKE2b-256 44d9a2cb91218dc7dbacce14c010a1d955705eac3d59905befd7b2e56db7b6cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: poethepoet-0.24.2-py3-none-any.whl
  • Upload date:
  • Size: 65.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 affaf7669542f54df05ed1e2be3d24028c9f4bd2ea514813fae7f01c5ca6e686
MD5 caa06663bf0edec8561717002657b50d
BLAKE2b-256 2fac152fd6cac5c808acb6298173f532210a78a7241a0e00c266413e9fdcfb1a

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