Python (Poetry)

Package installer: Poetry

Framework
Python (Poetry)
Category
Languages
Publisher
Jetify
{
  "packages": [
    "python@latest",
    "poetry@latest"
  ],
  "shell": {
    "init_hook": [
      "poetry install"
    ],
    "scripts": {
      "run_test": "poetry run python -m poetry_demo",
      "test": "poetry run pytest"
    }
  }
}

Python with Poetry Example

Poetry automatically configures a virtual environment for installing your Python packages. This environment can be activated by running poetry shell from within your poetry project.

For more information, see the Poetry Docs

How to Run

In this directory, run:

devbox shell

This will automatically activate your poetry shell via the init_hook.

To exit the poetry shell, use exit. To exit your devbox shell, use exit again.

Configuration

Since Poetry automatically configures a virtual environment for you, no additional Devbox configuration is needed. You can mange your packages and projects.

README.md

Level up your dev environment

Checkout the Devbox and Launchpad open-source codebases on Github. Feature requests are always welcome.
Try Devbox Cloud
YOUR INPUT COUNTS

Join the community

Discuss ideas, uses and builds with the Jetpack team and others.