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.1
  • 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

modern_django_starter-0.1.3-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for modern_django_starter-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 55463e81f8ee38f73934983a70f764d655f1ef90c7ea0ac4dd70bfc832136b6e
MD5 fc89d787ae7e58f55531e377c19d5999
BLAKE2b-256 a51c5679e4cafc77a3825c47292595d47236a2ef0936b24852c07f00931e1dda

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