GitHub

Develop Python 3 applications.

Options

Options Id Description Type Default Value
imageVariant Python version (use -trixie, -bookworm, or -bullseye variants on local arm64/Apple Silicon): string 3.13-trixie

This template references an image that was pre-built to automatically include needed devcontainer.json metadata.

  • Image: mcr.microsoft.com/devcontainers/python (source)
  • Applies devcontainer.json contents from image: Yes (source)

Installing or updating Python utilities

This container installs all Python development utilities using pipx to avoid impacting the global Python environment. You can use this same utility add additional utilities in an isolated environment. For example:

pipx install prospector

See the pipx documentation for additional information.


Note: This file was auto-generated from the devcontainer-template.json. Add additional notes to a NOTES.md.

Read the original on github.com ↗