Skip to main content

A CLI tool for generating Django 5.x projects with HTMX, AlpineJS, and more

Project description

Modern Django Starter 🚀

PyPI version PyPI Python Downloads

A CLI tool for generating Django 5.x projects with HTMX, AlpineJS, and more. Streamline your setup with customizable options for Docker, databases, cloud providers, and frontend pipelines. Build modern, reactive Django apps faster!

Installation

Install from PyPI:

pip install modern-django-starter

📦 PyPI Package: https://pypi.org/project/modern-django-starter/

Quick Start

Generate a new Django project:

modern-django-starter create my_awesome_project

Or with options:

modern-django-starter create my_project --output-dir /path/to/projects

Features

  • Django 5.x
  • HTMX for dynamic HTML updates
  • AlpineJS for lightweight JavaScript interactions
  • Django-allauth for authentication
  • HyperScript for easy DOM manipulation
  • TailwindCSS and DaisyUI for styling
  • Docker support (optional)
  • PostgreSQL database
  • Cloud provider integration options
  • Email provider integration
  • Django Rest Framework (DRF) support
  • Frontend pipeline options
  • Celery for background task processing
  • Sentry for error tracking
  • CI tool integration options

Prerequisites

  • Python 3.8+
  • pip

Optional:

  • Node.js and npm (for frontend pipelines)
  • Docker (for containerized development)

Development Installation

If you want to contribute or install from source:

  1. Clone this repository:

    git clone https://github.com/CasualEngineerZombie/modern-django-starter.git
    cd modern-django-starter
    
  2. Install in development mode:

    pip install -e .
    

Usage

Generate a new Django project:

modern-django-starter create my_awesome_project

Or specify an output directory:

modern-django-starter create my_project --output-dir /path/to/projects

The CLI will guide you through configuration options interactively.

Configuration Options

  • Docker support
  • PostgreSQL version
  • Cloud provider (AWS, Azure, GCP, Render, Railway, PythonAnywhere, Flyio, Dokku, Heroku, or none)
  • Email provider
  • Asynchronous support
  • Django Rest Framework
  • Frontend pipeline
  • Celery
  • Sentry
  • CI tools

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

modern-django-starter-0.2.2.tar.gz (35.2 kB view details)

Uploaded Source

Built Distribution

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

modern_django_starter-0.2.2-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file modern-django-starter-0.2.2.tar.gz.

File metadata

  • Download URL: modern-django-starter-0.2.2.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for modern-django-starter-0.2.2.tar.gz
Algorithm Hash digest
SHA256 786846eb365903d57ebfdbbf3ee85140f56516512672913a13d5f34e481fd6e6
MD5 5c35e2b74121a3fbb61dbe75a7fd85a2
BLAKE2b-256 2e38a96c08e816b4e946456d67f4ce4bc480cf8a0ddec6dc296c8087ef4fd943

See more details on using hashes here.

File details

Details for the file modern_django_starter-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for modern_django_starter-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b7d8c8c48c1925134fb8262b49c2edc86029cddb3d1d30495de7488c25f7335e
MD5 60e7ec138a2493e25d91ce13e3ce7965
BLAKE2b-256 4209b25e5de38613e2414f2e581feedf1b8f374acfa5d64e35d514eeafeeceaa

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