Skip to content

Python

Curated name python. Installs CPython plus a set of common tools (linters, formatters, pytest, virtualenv) via the upstream devcontainers/features/python feature.

Terminal window
monoceros init acme --with-languages=python
monoceros add-language acme python:3.12
Terminal window
monoceros remove-language acme python

Or delete the entry from acme.yml by hand and re-run monoceros apply acme - the yml is the source of truth.

Terminal window
monoceros add-language acme python:3.12

Supported: 3.12, 3.11, 3.10, 3.9, 3.8 (also latest).

Set these by adding the feature directly (see Other feature options):

OptionDefaultNotes
versionos-providedPin via the :version suffix instead.
installToolstrueInstalls flake8, black, mypy, pytest, pylint, …
installJupyterlabfalseSet true to add JupyterLab.

Full option list: upstream feature.