Skip to main content

A starter kit to quickly scaffold Django projects.

Project description

🛠️ my-django-starter

A command-line utility for scaffolding and launching Django projects with a complete, modular, and automated setup pipeline.


🚀 Overview

my-django-starter is a developer-friendly tool that automates the initial setup of Django projects. It handles everything from virtual environment creation to Django installation, project scaffolding, app setup, settings configuration, and server execution — all in one seamless command-line flow.


📦 Features

  • 📁 Creates a new Django project and apps
  • ⚙️ Sets up virtual environments automatically
  • 🧪 Detects your OS and adjusts commands accordingly
  • 📝 Configures settings, media files, environment variables
  • 📄 Generates requirements.txt
  • 📄 Manages environement variables
  • 🧙 Renders a stylish home page template
  • 👤 Creates a superuser for the admin dashboard
  • 🚀 Launches the development server instantly

🔧 How It Works

The tool works through a step-based pipeline system:

Each setup task is a separate module:

  • Banner() – Displays a welcome banner
  • OSDetector() – Detects the operating system
  • VirtualEnvCreator() – Creates a Python virtual environment
  • DjangoInstaller() – Installs Django via pip
  • ProjectCreator() – Scaffolds a new Django project
  • AppCreator() – Adds one or more Django apps
  • SettingsModifier() – Updates project settings
  • EnvManager() – Creates and populates a .env file
  • RequirementsGenerator() – Freezes dependencies
  • HomePageRenderer() – Adds a responsive landing page
  • MediaFileHandler() – Configures media/static paths
  • MigrationManager() – Applies database migrations
  • AdminSetup() – Creates an admin superuser
  • ServerRunner() – Launches the Django development server

⚙️ Usage

$ pip install my-django-starter

$ mydjango

It will:

  1. Create a new virtual environment
  2. Install Django
  3. Scaffold your project and apps
  4. Configure everything (settings, env, admin)
  5. Launch your Django server

📜 License

MIT License

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

my_django_starter-0.1.3.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

my_django_starter-0.1.3-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file my_django_starter-0.1.3.tar.gz.

File metadata

  • Download URL: my_django_starter-0.1.3.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for my_django_starter-0.1.3.tar.gz
Algorithm Hash digest
SHA256 63121fc217d07332b520a86e687264b025b0dc4e8d5c08b899a0107045d24351
MD5 141101404f8523c5d0186d8d8a61f6a7
BLAKE2b-256 fdb87dd2d9e11f3815d8b260734c87b0bf1c7a6755d976237445e3662c6fc4e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for my_django_starter-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e35498fe01d7e3c5dc3bebbf5ef17a236a6bfe73a7367fbcb49750f7fd8db196
MD5 0b4081fb45287869429422cf9e8cb3ff
BLAKE2b-256 38ffaf4cef96e5699a1a4f3d42f2dc0d4c489ccfdf9d9468d2880710200cce65

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