Metadata-Version: 2.4
Name: pulumi-django-azure
Version: 1.0.80
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.12,<3.15
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Dist: azure-identity (>=1.25.3,<2.0.0)
Requires-Dist: azure-keyvault-secrets (>=4.11.0,<5.0.0)
Requires-Dist: azure-mgmt-cdn (>=13.1.1,<14.0.0)
Requires-Dist: azure-mgmt-resource (>=26.0.0,<27.0.0)
Requires-Dist: azure-mgmt-subscription (>=3.1.1,<4.0.0)
Requires-Dist: collectfasta (>=3.3.3,<4.0.0)
Requires-Dist: django (>=6.0.7,<7.0.0)
Requires-Dist: django-azure-communication-email (>=1.6.0,<2.0.0)
Requires-Dist: django-environ (>=0.14.0,<0.15.0)
Requires-Dist: django-redis (>=7.0.0,<8.0.0)
Requires-Dist: django-storages[azure] (>=1.14.6,<2.0.0)
Requires-Dist: django-tasks-rq (>=0.12.0,<0.13.0)
Requires-Dist: psycopg[binary] (>=3.3.4,<4.0.0)
Requires-Dist: pulumi (>=3.250.0)
Requires-Dist: pulumi-azure (>=6.38.0,<7.0.0)
Requires-Dist: pulumi-azure-native (>=3.19.0)
Requires-Dist: pulumi-random (>=4.21.0)
Requires-Dist: redis[hiredis] (>=8.0.1,<9.0.0)
Project-URL: Homepage, 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 Redis/tasks, ACS email, 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

```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/`.

