Skip to main content

The Django Project Initializer is a helper Python script that initializes a Modified Django project with mysql and python-stubs out-of-the-box.

Project description

Django Project Initializer

Author: AdrianJames27

Overview

The Django Project Initializer is a Python script that automates the setup of a new Django project. It performs the following tasks:

  1. Prompts the user for a project name.
  2. Clones a base Modified Django template repository from GitHub.
  3. Removes the .git directory from the cloned repository to eliminate version control history.
  4. Renames the project directory to the specified project name.

Requirements

  • Python 3.12: Ensure Python is installed on your system.

Error Handling

  • The script includes basic error handling for common interruptions:
  • KeyboardInterrupt: Handles manual interruption (e.g., pressing Ctrl+C).
  • EOFError: Handles unexpected end of input.
  • General Exceptions: Catches other unforeseen errors and provides an error message.

Install Script (pip)

pip install django_project_initializer

Create a Django Project

django-init

License

  • This project is licensed under the GPL-3.0 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.

django_project_initializer-1.0.4-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file django_project_initializer-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_project_initializer-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 32aae1d41daa7f286a77983a76ab79ff3036f4738ee119df4b5a6e5696a386c2
MD5 eab6c05a2fc1844f73f37d4bb2dbd778
BLAKE2b-256 c52d322df4da57c93f36ca6ecfc5b70ab53c4586a36763880d82cd6b4e292fd8

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