Skip to main content

Django project generator CLI — production-ready Django projects in one command

Project description

djboost 🚀

PyPI version Python License: MIT

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:

  1. Install Django and scaffold the project
  2. Configure settings.py with 50+ production settings
  3. Generate .env pre-filled with all required keys
  4. Create Dockerfile + docker-compose.yml (web, db, redis, celery)
  5. Set up pytest.ini, .pre-commit-config.yaml, .gitignore
  6. Install all 19 dependencies with version pinning
  7. 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' to INSTALLED_APPS
  • Maps /api/users/ in urls.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

djboost-0.1.4.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djboost-0.1.4-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

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

Hashes for djboost-0.1.4.tar.gz
Algorithm Hash digest
SHA256 67808e57f5f69d6b6b8a99ab4fa2130fa69f6ac0cfc6479dc2682b29521db1e5
MD5 f34c8f2b8cf8ca607ea5a2db6ada2c73
BLAKE2b-256 d13663ccb032832669795a5136cd0300a58d0b270843c5577689ce70913fc56c

See more details on using hashes here.

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

Hashes for djboost-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7e646015bae5a6c550acc0a1713e6c2cae1b6f1eae664e284849399fbe57eaa
MD5 378d330edf6d9ce89a8063a1590468bc
BLAKE2b-256 bb8deb87dd4861f4c0d2438ed9ad8ac8638020619ec60f838536ca9331c4ff4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page