Metadata-Version: 2.4
Name: pulumi-django-azure
Version: 1.0.98
Summary: Simply deployment of Django on Azure with Pulumi
License-Expression: MIT
Keywords: django,pulumi,azure
Author: Maarten Ureel
Author-email: maarten@youreal.eu
Requires-Python: >=3.15,<3.16
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.15
Requires-Dist: azure-identity (==1.27.0)
Requires-Dist: azure-keyvault-secrets (==4.12.0)
Requires-Dist: azure-mgmt-cdn (==14.1.0)
Requires-Dist: azure-mgmt-resource (==26.0.0)
Requires-Dist: azure-mgmt-subscription (==3.1.1)
Requires-Dist: babel (==2.18.0)
Requires-Dist: collectfasta (==3.3.5)
Requires-Dist: django (==6.1.3)
Requires-Dist: django-environ (==0.14.0)
Requires-Dist: django-redis (==7.0.0)
Requires-Dist: django-storages[azure] (==1.14.6)
Requires-Dist: django-tasks-rq (==0.12.0)
Requires-Dist: psycopg[binary] (==3.3.9)
Requires-Dist: pulumi (==3.277.0)
Requires-Dist: pulumi-azure (==6.40.2)
Requires-Dist: pulumi-azure-native (==3.32.0)
Requires-Dist: pulumi-random (==4.21.6)
Requires-Dist: redis[hiredis] (==8.1.0)
Requires-Dist: rq (==3.0.0)
Requires-Dist: supervisor (==4.3.0)
Project-URL: Bug Tracker, https://gitlab.com/MaartenUreel/pulumi-django-azure/-/issues
Project-URL: Documentation, https://django-azu.re/
Project-URL: Homepage, https://django-azu.re/
Project-URL: Repository, https://gitlab.com/MaartenUreel/pulumi-django-azure/
Description-Content-Type: text/markdown

# pulumi-django-azure

Opinionated [Pulumi](https://www.pulumi.com/) Azure infrastructure and Django runtime helpers for deploying Django apps on Azure App Service (storage + CDN, Entra-authenticated Postgres, Key Vault, optional Valkey sidecar and tasks, and App Service build/startup scripts).

**Documentation:** [https://django-azu.re](https://django-azu.re)
**For LLMs / agents:** [llms.txt](https://django-azu.re/llms.txt) · [llms-full.txt](https://django-azu.re/llms-full.txt)
**Consumer paste snippets:** [For consuming projects](https://django-azu.re/for-consumers/)

## Install

Requires Python 3.15 (`>=3.15,<3.16`).

```bash
poetry add pulumi-django-azure
```

Git branch pin:

```toml
pulumi-django-azure = { git = "https://gitlab.com/MaartenUreel/pulumi-django-azure.git", branch = "main" }
```

## Imports

Pulumi stacks and Django apps are often **separate projects**. Keep imports scoped:

```python
# Pulumi / infra only
from pulumi_django_azure.django_deployment import DjangoDeployment, HostDefinition
```

```python
# Django app only
from pulumi_django_azure.settings import *  # noqa: F403
from pulumi_django_azure.settings import patch_django_settings_for_azure
```

Full samples and deploy steps live in the docs (getting started, domains, database, secrets, deploy pipeline).

## Links

- [Docs](https://django-azu.re)
- [PyPI](https://pypi.org/project/pulumi-django-azure/)
- [Source (GitLab)](https://gitlab.com/MaartenUreel/pulumi-django-azure/)

## Contributing

Built for sponsored / non-profit Azure use cases; change requests and PRs that improve generality are welcome. Keep docs under `docs/` in sync with behavior — see `AGENTS.md` and `.cursor/rules/`.

