django-carch
Un générateur Django avancé pour projets en Clean Architecture + DDD + Design Patterns + DevOps.
🚀 Fonctionnalités
- Génération de projet Django avec architecture propre
- Structure hexagonale orientée Clean Architecture
- Création automatique des apps avec DTOs, Use Cases, Repositories
- Génération d’un README de documentation technique
- Configuration Docker, Makefile, .env, GitHub Actions, etc.
- Support Sentry, Celery, Swagger (drf-spectacular)
📦 Installation
pip install django django-carch
📂 Utilisation
django-carch
🧱 Structure générée
| Dossier | Rôle métier et technique |
|---|---|
| core/use_cases/ | Cas d’usage métier déclaratifs |
| core/exceptions/ | Exceptions spécifiques au domaine |
| core/types/ | Types ou constantes métiers |
| dtos/ | Objets de transfert de données (entrée/sortie) |
| models/ | Entités Django (base de données) |
| services/ | Orchestration métier (via use cases & repos) |
| repositories/interfaces/ | Interfaces d’accès à la base |
| repositories/implementations/ | Implémentations ORM ou appel API |
| validators/ | Règles de validation métier |
| infrastructure/ | Intégrations externes (API, Firebase, etc.) |
| api/v1/views/ | Vues DRF exposant les services métier |
| api/v1/serializers/ | Mapping des données pour les APIs |
| api/v1/urls/ | Définition des endpoints REST |
| api/v1/access_policy/ | Gestion des permissions DRF |
| helpers/ | Fonctions utilitaires communes |
| signals/ | Hooks et signaux Django |
| tests/unit/ | Tests unitaires des use cases et services |
| tests/integration/ | Tests de bout-en-bout |
| admin/ | Configuration avancée de l’admin Django |
⚙️ Fonctionnalités DevOps
- 📦 Docker & Docker Compose
- 🌿 GitHub Actions CI avec PostgreSQL
- 🐍 Environnement virtuel et Makefile
- 📄 Fichier
.envgénéré automatiquement - 🌼 Flower pour Celery
- 📈 Monitoring avec Sentry
- 🧩 Swagger & Redoc via
drf-spectacular
📖 Documentation automatique
À chaque génération de projet, un fichier README.md est créé avec toute la documentation, architecture, commandes et bonne pratiques à suivre.
👨💻 Auteur
Développé par Jean Marie Daniel Vianney Guedegbe
🔗 GitHub : https://github.com/daniel10027
Ce package est conçu pour générer des bases solides, maintenables et prêtes pour la production pour vos projets Django modernes.
django_carch
Metadata
Release files for django-carch 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_carch-1.0.4.tar.gz | 8.2 kB | Without provenance | Details for django_carch-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_carch-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for django_carch-1.0.4-py3-none-any.whl |
Total release size: 17.4 kB
Release files / django_carch-1.0.4.tar.gz
| Download URL | django_carch-1.0.4.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44e217e94b48a357ef106f8bf853a79053e22c5936883b9da726d562c444b22f
|
|
BLAKE2b-256 checksum How to use checksums |
3485aca59ae5fc8a670553b1af329b304f695d6377824eee0d9e2fb5815a405c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / django_carch-1.0.4-py3-none-any.whl
| Download URL | django_carch-1.0.4-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8201777c5ac0b3c52b95a36208cd3b56add47532c55349c435918e1101f3fd2d
|
|
BLAKE2b-256 checksum How to use checksums |
0a57483abc5e827c5b22b2c35559e2c2b3ed7a8030128a9c8e88037483661f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for django-carch 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.