# docker-library/python

Docker Official Image packaging for Python

Repository: https://github.com/docker-library/python
Canonical: https://ross.abutalabs.com/products/docker-library-python
Homepage: https://www.python.org/
Language: Dockerfile
License: MIT
License Family: permissive
Last push: 2026-08-13T07:57:21+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4457, "days_push": 20, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2772, forks 1110 (observed 2026-08-28T04:07:19.090048+00:00)

## What it is
The Docker Official Image packaging repository for the `python` base image on Docker Hub. It contains the Dockerfiles and build scripts maintained by the Docker community to produce trusted Python runtime images.

## Use cases
- run python scripts in a docker container
- base image for python web app dockerfile
- pin a specific python version in ci
- containerize a python application
- slim python docker image for production
- python runtime for kubernetes deployments

## When to choose
- you need a trusted, regularly updated Python base image for containers
- you want official multi-architecture Python images for CI or production
- you want reproducible Python environments across machines

## When to avoid
- you need the Python interpreter itself, not container packaging
- you require a custom Python build with specific compile flags
- you want a minimal distroless image not based on these official variants

## Facets
- artifact type: infra-config
- maturity: stable
- function: container-runtime, developer-tools, deployment
- domain: developer-tools, programming-languages
- platform: cross-platform
- tags: docker-official-image, python-runtime, container-base-image, dockerfile, devops, containers, docker, linux

## Member repositories
- docker-library/python (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:19.090048+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:16:37.588477+00:00, confidence not recorded.
  - readme: https://github.com/docker-library/python (fetched 2026-08-28T04:07:19.090048+00:00, sha f3a4d5501b80)
  - homepage: https://www.python.org/ (fetched 2026-08-29T09:55:57.882223+00:00, sha b9170c299def)
- Data as of 2026-08-30T08:39:29.467469+00:00.
