Python
Curated name python. Installs CPython plus a set of common tools (linters,
formatters, pytest, virtualenv) via the upstream
devcontainers/features/python
feature.
Add it
Section titled “Add it”monoceros init acme --with-languages=pythonmonoceros add-language acme python:3.12Remove it
Section titled “Remove it”monoceros remove-language acme pythonOr delete the entry from acme.yml by hand and re-run monoceros apply acme -
the yml is the source of truth.
Pinning a version
Section titled “Pinning a version”monoceros add-language acme python:3.12Supported: 3.12, 3.11, 3.10, 3.9, 3.8 (also latest).
Key options
Section titled “Key options”Set these by adding the feature directly (see Other feature options):
| Option | Default | Notes |
|---|---|---|
version | os-provided | Pin via the :version suffix instead. |
installTools | true | Installs flake8, black, mypy, pytest, pylint, … |
installJupyterlab | false | Set true to add JupyterLab. |
Full option list: upstream feature.