├── .coveragerc ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .readthedocs.yaml ├── AUTHORS.rst ├── CODE_OF_CONDUCT.md ├── LICENSE ├── MANIFEST.in ├── README.rst ├── docs ├── Makefile ├── api │ ├── django.rst │ ├── fastapi.rst │ ├── flask.rst │ ├── index.rst │ ├── logging.rst │ ├── sanic.rst │ └── version.rst ├── authors.rst ├── changelog.rst ├── conf.py ├── development.rst ├── django.rst ├── fastapi.rst ├── flask.rst ├── index.rst ├── logging.rst ├── requirements.txt └── sanic.rst ├── pyproject.toml ├── pytest.ini ├── setup.cfg ├── setup.py ├── src └── dockerflow │ ├── __init__.py │ ├── checks │ ├── __init__.py │ ├── messages.py │ └── registry.py │ ├── django │ ├── __init__.py │ ├── apps.py │ ├── checks.py │ ├── middleware.py │ ├── signals.py │ └── views.py │ ├── fastapi │ ├── __init__.py │ ├── middleware.py │ └── views.py │ ├── flask │ ├── __init__.py │ ├── app.py │ ├── checks │ │ ├── __init__.py │ │ └── messages.py │ └── signals.py │ ├── health.py │ ├── logging.py │ ├── sanic │ ├── __init__.py │ ├── app.py │ └── checks.py │ └── version.py ├── tests ├── __init__.py ├── conftest.py ├── constraints │ ├── django-3.2.txt │ ├── django-4.2.txt │ ├── django-5.1.txt │ ├── django-5.2.txt │ ├── fastapi-0.100.txt │ ├── flask-2.0.txt │ ├── flask-2.1.txt │ ├── flask-2.2.txt │ ├── flask-2.3.txt │ ├── flask-3.0.txt │ ├── sanic-21.txt │ ├── sanic-22.txt │ └── sanic-23.txt ├── core │ ├── test_checks.py │ ├── test_logging.py │ └── test_version.py ├── django │ ├── __init__.py │ ├── django_checks.py │ ├── settings.py │ ├── test_django.py │ └── urls.py ├── fastapi │ └── test_fastapi.py ├── flask │ ├── migrations │ │ ├── README │ │ ├── alembic.ini │ │ ├── env.py │ │ └── script.py.mako │ └── test_flask.py ├── requirements │ ├── default.txt │ ├── django.txt │ ├── docs.txt │ ├── fastapi.txt │ ├── flask.txt │ ├── lint.txt │ └── sanic.txt └── sanic │ └── test_sanic.py └── tox.ini /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/.coveragerc -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /AUTHORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/AUTHORS.rst -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/README.rst -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/api/django.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/api/django.rst -------------------------------------------------------------------------------- /docs/api/fastapi.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/api/fastapi.rst -------------------------------------------------------------------------------- /docs/api/flask.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/api/flask.rst -------------------------------------------------------------------------------- /docs/api/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/api/index.rst -------------------------------------------------------------------------------- /docs/api/logging.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/api/logging.rst -------------------------------------------------------------------------------- /docs/api/sanic.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/api/sanic.rst -------------------------------------------------------------------------------- /docs/api/version.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/api/version.rst -------------------------------------------------------------------------------- /docs/authors.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/authors.rst -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/changelog.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/development.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/development.rst -------------------------------------------------------------------------------- /docs/django.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/django.rst -------------------------------------------------------------------------------- /docs/fastapi.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/fastapi.rst -------------------------------------------------------------------------------- /docs/flask.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/flask.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/logging.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/logging.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/sanic.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/docs/sanic.rst -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/pytest.ini -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/setup.py -------------------------------------------------------------------------------- /src/dockerflow/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/__init__.py -------------------------------------------------------------------------------- /src/dockerflow/checks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/checks/__init__.py -------------------------------------------------------------------------------- /src/dockerflow/checks/messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/checks/messages.py -------------------------------------------------------------------------------- /src/dockerflow/checks/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/checks/registry.py -------------------------------------------------------------------------------- /src/dockerflow/django/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/django/__init__.py -------------------------------------------------------------------------------- /src/dockerflow/django/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/django/apps.py -------------------------------------------------------------------------------- /src/dockerflow/django/checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/django/checks.py -------------------------------------------------------------------------------- /src/dockerflow/django/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/django/middleware.py -------------------------------------------------------------------------------- /src/dockerflow/django/signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/django/signals.py -------------------------------------------------------------------------------- /src/dockerflow/django/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/django/views.py -------------------------------------------------------------------------------- /src/dockerflow/fastapi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/fastapi/__init__.py -------------------------------------------------------------------------------- /src/dockerflow/fastapi/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/fastapi/middleware.py -------------------------------------------------------------------------------- /src/dockerflow/fastapi/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/fastapi/views.py -------------------------------------------------------------------------------- /src/dockerflow/flask/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/flask/__init__.py -------------------------------------------------------------------------------- /src/dockerflow/flask/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/flask/app.py -------------------------------------------------------------------------------- /src/dockerflow/flask/checks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/flask/checks/__init__.py -------------------------------------------------------------------------------- /src/dockerflow/flask/checks/messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/flask/checks/messages.py -------------------------------------------------------------------------------- /src/dockerflow/flask/signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/flask/signals.py -------------------------------------------------------------------------------- /src/dockerflow/health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/health.py -------------------------------------------------------------------------------- /src/dockerflow/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/logging.py -------------------------------------------------------------------------------- /src/dockerflow/sanic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/sanic/__init__.py -------------------------------------------------------------------------------- /src/dockerflow/sanic/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/sanic/app.py -------------------------------------------------------------------------------- /src/dockerflow/sanic/checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/sanic/checks.py -------------------------------------------------------------------------------- /src/dockerflow/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/src/dockerflow/version.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/constraints/django-3.2.txt: -------------------------------------------------------------------------------- 1 | Django>=3.2,<4.0 2 | -------------------------------------------------------------------------------- /tests/constraints/django-4.2.txt: -------------------------------------------------------------------------------- 1 | Django>=4.2,<4.3 2 | -------------------------------------------------------------------------------- /tests/constraints/django-5.1.txt: -------------------------------------------------------------------------------- 1 | Django>=5.1,<5.2 2 | -------------------------------------------------------------------------------- /tests/constraints/django-5.2.txt: -------------------------------------------------------------------------------- 1 | Django>=5.2,<5.3 2 | -------------------------------------------------------------------------------- /tests/constraints/fastapi-0.100.txt: -------------------------------------------------------------------------------- 1 | fastapi>=0.100 -------------------------------------------------------------------------------- /tests/constraints/flask-2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/constraints/flask-2.0.txt -------------------------------------------------------------------------------- /tests/constraints/flask-2.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/constraints/flask-2.1.txt -------------------------------------------------------------------------------- /tests/constraints/flask-2.2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/constraints/flask-2.2.txt -------------------------------------------------------------------------------- /tests/constraints/flask-2.3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/constraints/flask-2.3.txt -------------------------------------------------------------------------------- /tests/constraints/flask-3.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/constraints/flask-3.0.txt -------------------------------------------------------------------------------- /tests/constraints/sanic-21.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/constraints/sanic-21.txt -------------------------------------------------------------------------------- /tests/constraints/sanic-22.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/constraints/sanic-22.txt -------------------------------------------------------------------------------- /tests/constraints/sanic-23.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/constraints/sanic-23.txt -------------------------------------------------------------------------------- /tests/core/test_checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/core/test_checks.py -------------------------------------------------------------------------------- /tests/core/test_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/core/test_logging.py -------------------------------------------------------------------------------- /tests/core/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/core/test_version.py -------------------------------------------------------------------------------- /tests/django/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/django/django_checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/django/django_checks.py -------------------------------------------------------------------------------- /tests/django/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/django/settings.py -------------------------------------------------------------------------------- /tests/django/test_django.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/django/test_django.py -------------------------------------------------------------------------------- /tests/django/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/django/urls.py -------------------------------------------------------------------------------- /tests/fastapi/test_fastapi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/fastapi/test_fastapi.py -------------------------------------------------------------------------------- /tests/flask/migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /tests/flask/migrations/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/flask/migrations/alembic.ini -------------------------------------------------------------------------------- /tests/flask/migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/flask/migrations/env.py -------------------------------------------------------------------------------- /tests/flask/migrations/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/flask/migrations/script.py.mako -------------------------------------------------------------------------------- /tests/flask/test_flask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/flask/test_flask.py -------------------------------------------------------------------------------- /tests/requirements/default.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/requirements/default.txt -------------------------------------------------------------------------------- /tests/requirements/django.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/requirements/django.txt -------------------------------------------------------------------------------- /tests/requirements/docs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/requirements/docs.txt -------------------------------------------------------------------------------- /tests/requirements/fastapi.txt: -------------------------------------------------------------------------------- 1 | fastapi 2 | asgiref 3 | httpx -------------------------------------------------------------------------------- /tests/requirements/flask.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/requirements/flask.txt -------------------------------------------------------------------------------- /tests/requirements/lint.txt: -------------------------------------------------------------------------------- 1 | ruff 2 | twine 3 | check-manifest 4 | -------------------------------------------------------------------------------- /tests/requirements/sanic.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/requirements/sanic.txt -------------------------------------------------------------------------------- /tests/sanic/test_sanic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tests/sanic/test_sanic.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/python-dockerflow/HEAD/tox.ini --------------------------------------------------------------------------------