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.2.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.2-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_django_starter-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 41d9070cba12dbac6d7b44591d3dcdb577b45231a0515568d7e4e780eefa61dc
MD5 87b7ae7620b5f80bdd8987e34914c888
BLAKE2b-256 21695636a7234fee1b505791fccba2d7c669c4a344219f8e578b481be941aacb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_django_starter-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88515c03a734d562d15df0183823d4088dd18a8fc8366ffb6c21cdd6bad89aa2
MD5 7a8cc6d993116440270513870c041133
BLAKE2b-256 16733c607755f2921932d8025010ea6c610242aa4126019abd0a74b1cd04d562

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