dbt-copilot-python
Helper functions to run Django and Flask applications in AWS Copilot/ECS.
What it is and what it does
dbt-copilot-python is a utility library that bridges Django and Flask applications with AWS Copilot and ECS deployment infrastructure. It provides helper functions to configure common application needs when running in containerized AWS environments: setting up allowed hosts for load balancer health checks, configuring database connections from AWS Secrets Manager, establishing Celery worker health checks, and integrating error tracking with Datadog.
The package is designed to reduce boilerplate configuration code in applications deployed via AWS Copilot. It depends only on requests at runtime, with optional extras for Celery and Datadog error tracking. It supports Python 3.9 through 3.13 and is intended for teams already committed to the AWS Copilot deployment model.
Use it for:
- Configure Django ALLOWED_HOSTS automatically for ALB health checks in ECS
- Load RDS database credentials from AWS Secrets Manager into Django DATABASES settings
- Set up Celery worker health checks in Copilot-managed services
- Attach Datadog error tracking filters to application loggers for centralized monitoring
- Standardize AWS Copilot configuration across multiple Flask or Django projects
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides utility functions for running Django and Flask applications in AWS ECS via AWS Copilot, including configuration helpers for networking, databases, Celery workers, and error tracking.
Yes, if you are already using AWS Copilot to deploy Django or Flask applications and want to reduce configuration boilerplate. The low install friction and active maintenance make it a reasonable choice for that specific use case. However, verify the license terms first, as they are not clearly documented in the package metadata.
Install
dbt-copilot-python on PyPI
pip
pip install dbt-copilot-pythonuv
uv add dbt-copilot-pythonpoetry
poetry add dbt-copilot-pythonInstalling dbt-copilot-python
Before you install
Low install friction with a single runtime dependency (requests). Actively maintained as of 179 days ago. Supports Python 3.9 through 3.13.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata, so you should verify the actual license terms before use.
Quickstart
pip install dbt-copilot-python
from dbt_copilot_python.network import setup_allowed_hosts
ALLOWED_HOSTS = setup_allowed_hosts([])
Requires Python 3.9 or later. Optional Celery and ddtrace dependencies for additional features.
Verify before relying
- Actual license terms and conditions (license_treatment is marked unclear)
- Whether the package is actively maintained beyond the 179-day release window
- Real-world compatibility with current AWS Copilot API versions
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<4.0,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | actively maintained — 179 days since the last release |
| First released | |
| Downloads | 103,344/month — #12,812 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dbt_copilot_python-2.1.0-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
ecs-deployecs-deploy is a CLI tool that simplifies Amazon…
permissive · top 15,000 on PyPI
django-herokuConfigures Django applications for Heroku…
permissive · top 15,000 on PyPI
django-health-checkProvides pluggable health check endpoints for…
permissive · top 5,000 on PyPI
dj-database-urlParses DATABASE_URL environment variables into…
permissive · top 5,000 on PyPI
tenant-schemas-celeryIntegrates Celery task queuing with…
permissive · top 15,000 on PyPI
prefect-awsProvides pre-built blocks, tasks, and workers…
permissive · top 5,000 on PyPI
django-ebhealthcheckAutomatically adds an Elastic Beanstalk…
permissive · top 15,000 on PyPI
py-healthcheckProvides healthcheck and environment-dump…
permissive · top 15,000 on PyPI
awsgi2Bridges WSGI-compatible web frameworks to AWS…
permissive · top 15,000 on PyPI
evergreen.pyA Python client library for the Evergreen API…
permissive · top 5,000 on PyPI