skillfed

dbt-copilot-python

Helper functions to run Django and Flask applications in AWS Copilot/ECS.

dbt-copilot-python v2.1.0 103.3K downloads/30d#12,812 on PyPI
License unclear Active released

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-python

uv

uv add dbt-copilot-python

poetry

poetry add dbt-copilot-python

Installing 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

Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

django flask aws ecs copilotaws copilot deployment helpersecs application configurationcelery health check awsdjango database secrets manageraws copilot python utilitiesflask ecs deployment
aws-deploymentdjango-flaskecs-copilot

More Application Frameworks packages