Django project generator CLI — production-ready Django projects in one command
Project description
djboost 🚀
One command. Production-ready Django.
djboost generates a fully-configured Django project in seconds — DRF, JWT, Celery, Redis, WebSockets, Docker, Swagger, and more. All pre-wired and ready to go. No boilerplate. No config hunting.
pip install djboost
djboost create project myproject
That's it. Your project is ready.
What you get
| Feature | Details |
|---|---|
| REST API | Django REST Framework + Simple JWT pre-configured |
| API Docs | Swagger UI + ReDoc at /api/schema/swagger-ui/ |
| Async Tasks | Celery + Redis, including Celery Beat schedule |
| WebSockets | Django Channels + Daphne ASGI server |
| Database | PostgreSQL config ready (SQLite default for dev) |
| Environment | python-decouple with fully pre-filled .env |
| Docker | Dockerfile + docker-compose.yml with 4 services |
| Security | CORS, CSRF, XSS headers, throttling all configured |
| Static Files | Whitenoise for efficient static file serving |
| Code Quality | pre-commit with black, flake8, isort |
| Testing | pytest + pytest-django with coverage |
| CI/CD | GitHub Actions and GitLab CI pipelines |
| Exception Handling | Global DRF handler → {"success": false, "message": "..."} |
Quick Start
1 — Create a virtual environment
python -m venv env
# Windows
env\Scripts\activate
# Mac / Linux
source env/bin/activate
2 — Install djboost
pip install djboost
3 — Create your project
Navigate to an empty folder and run:
djboost create project myproject
This single command will:
- Install Django and scaffold the project
- Configure
settings.pywith 50+ production settings - Generate
.envpre-filled with all required keys - Create
Dockerfile+docker-compose.yml(web, db, redis, celery) - Set up
pytest.ini,.pre-commit-config.yaml,.gitignore - Install all 19 dependencies with version pinning
- Freeze
requirements.txt
Creating Apps
cd myproject
djboost create app users
This creates apps/users/ and auto-generates:
apps/users/
views.py ← APIView boilerplate (List + Detail)
serializers.py ← ModelSerializer template
urls.py ← URL patterns
tests.py ← Test boilerplate
models.py
admin.py
apps.py ← name auto-set to 'apps.users'
Also automatically:
- Adds
'apps.users'toINSTALLED_APPS - Maps
/api/users/inurls.py
CI/CD Pipelines
Add or remove CI/CD any time — it's modular.
djboost add cicd github # GitHub Actions
djboost add cicd gitlab # GitLab CI
djboost remove cicd github
djboost remove cicd gitlab
Running Your Project
python manage.py migrate
python manage.py runserver
| URL | Description |
|---|---|
http://127.0.0.1:8000/ |
Health check |
http://127.0.0.1:8000/admin/ |
Django Admin |
http://127.0.0.1:8000/api/schema/swagger-ui/ |
Swagger UI |
http://127.0.0.1:8000/api/schema/redoc/ |
ReDoc |
With Docker
docker-compose up --build
Spins up PostgreSQL, Redis, Celery worker, and Daphne ASGI server.
CLI Reference
djboost --version
djboost --help
djboost create project [NAME] Create a new Django project (default: core)
djboost create app NAME Create a new app inside apps/
djboost add cicd github|gitlab Add CI/CD pipeline
djboost remove cicd github|gitlab Remove CI/CD pipeline
Requirements
- Python 3.10+
- Virtual environment (djboost will warn you if not activated)
License
MIT — Munjur Alom
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djboost-0.1.4.tar.gz.
File metadata
- Download URL: djboost-0.1.4.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67808e57f5f69d6b6b8a99ab4fa2130fa69f6ac0cfc6479dc2682b29521db1e5
|
|
| MD5 |
f34c8f2b8cf8ca607ea5a2db6ada2c73
|
|
| BLAKE2b-256 |
d13663ccb032832669795a5136cd0300a58d0b270843c5577689ce70913fc56c
|
File details
Details for the file djboost-0.1.4-py3-none-any.whl.
File metadata
- Download URL: djboost-0.1.4-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7e646015bae5a6c550acc0a1713e6c2cae1b6f1eae664e284849399fbe57eaa
|
|
| MD5 |
378d330edf6d9ce89a8063a1590468bc
|
|
| BLAKE2b-256 |
bb8deb87dd4861f4c0d2438ed9ad8ac8638020619ec60f838536ca9331c4ff4d
|