dockerflow
Python tools and helpers for Mozilla's Dockerflow
What it is and what it does
Dockerflow is a Python package that implements Mozilla's Dockerflow pattern—a standardized approach for containerized web applications to expose health checks and deployment metadata. It provides framework-specific helpers for Django, Flask, and FastAPI, allowing you to quickly add the required HTTP endpoints that container orchestrators and load balancers expect during deployment and runtime monitoring.
The package handles the boilerplate of implementing version endpoints, readiness checks, and liveness probes without requiring you to write custom logic for each framework. It's designed for teams running containerized Python web services who want to follow Mozilla's established patterns for graceful deployment and health signaling.
Use it for:
- Add standardized health check endpoints to a Django application for Kubernetes or Docker Swarm deployments
- Implement version reporting and deployment metadata endpoints in Flask microservices
- Enable FastAPI services to signal readiness and liveness to container orchestrators
- Ensure consistent health check behavior across multiple Python web frameworks in a microservices architecture
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides helpers and tools for implementing Mozilla's Dockerflow pattern in Python web applications, enabling standardized health checks and deployment lifecycle management.
Yes. The package is actively maintained, has no security vulnerabilities, installs with zero dependencies, and supports current Python versions (3.9–3.13). It's well-suited if you're deploying Python web apps in containers and want to follow Mozilla's established Dockerflow conventions without writing custom health check logic.
Install
dockerflow on PyPI
pip
pip install dockerflowuv
uv add dockerflowpoetry
poetry add dockerflowInstalling dockerflow
Before you install
Low friction installation with no runtime dependencies. Active maintenance as of March 2026, with recent commits and stable production status.
License in practice
Licensed under MPL 2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package.
Quickstart
pip install dockerflow
from dockerflow.django import get_version
version = get_version()
Requires Python 3.9 or later. Framework-specific integrations available for Django, Flask, and FastAPI.
Verify before relying
- Specific health check endpoints and their exact behavior across supported frameworks
- Whether Dockerflow integrates with container orchestration platforms beyond basic HTTP endpoints
- Performance characteristics when handling high-frequency health check requests
Package facts
| License | MPL 2.0 (copyleft) |
| Python support | supports the current Python release (<4,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 163 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 101,385/month — #12,941 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dockerflow-2026.3.4-py2.py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
mozrunnerMozrunner manages the lifecycle of Mozilla…
copyleft · top 15,000 on PyPI
swimlaneSwimlane is a Python driver for the Swimlane…
agpl · top 15,000 on PyPI
django-health-checkProvides pluggable health check endpoints for…
permissive · top 5,000 on PyPI
mozprocessProvides utilities for spawning, managing, and…
copyleft · top 15,000 on PyPI
fastapi-healthAdds a health check endpoint to FastAPI…
permissive · top 15,000 on PyPI
mozfileProvides file and directory utilities for…
copyleft · top 15,000 on PyPI
port-oceanPort Ocean is a CLI framework and runtime for…
permissive · top 15,000 on PyPI
mozlogProvides structured logging for Python…
copyleft · top 15,000 on PyPI
fastapi-healthchecksAdds configurable health check endpoints to…
permissive · top 15,000 on PyPI
model-hosting-container-standardsProvides standardized FastAPI-based handlers…
permissive · top 5,000 on PyPI