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 Distribution

modern_django_starter-0.1.1.tar.gz (27.4 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.1.1-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file modern_django_starter-0.1.1.tar.gz.

File metadata

  • Download URL: modern_django_starter-0.1.1.tar.gz
  • Upload date:
  • Size: 27.4 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.1.1.tar.gz
Algorithm Hash digest
SHA256 432c1f6c70a717ccd45309a345560482e54565b00347e6217e2e0483418d5ec5
MD5 8ec4abb2b8249cbf9ade6c82666083d8
BLAKE2b-256 b314f4f831c62b200731e9027a9125df9da73ce65cd085444d85e92cc86532ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_django_starter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90a5bc1a6479dc3dca8b72d533af9c881c77f348a03f980beae9edf00238f8d2
MD5 246752c07e06937e3a4862019e1c342e
BLAKE2b-256 c602ea43471b62d9a3b045e6b5533aa915a31512083ecd3aeb00b90e78285f45

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