skillfed

dockerflow

Python tools and helpers for Mozilla's Dockerflow

dockerflow v2026.3.4 101.4K downloads/30d#12,941 on PyPI40
Copyleft license MPL 2.0 Active released

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 dockerflow

uv

uv add dockerflow

poetry

poetry add dockerflow

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web Environment :: MozillaFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Framework :: FastAPIFramework :: FlaskIntended Audience :: DevelopersLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP

Tags

dockerflow health checksmozilla dockerflow patterndocker deployment helpersweb app health endpointscontainer orchestration tools
docker-deploymenthealth-checkscontainerization

More WWW/HTTP packages