Skip to main content

The Django Project Initializer is a Python script that automates the setup of a new Django project.

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 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.

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

django_project_initializer-1.0.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

django_project_initializer-1.0.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file django_project_initializer-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django_project_initializer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 03a1aafba5b9c7787e4b05358db957c8ad7b6427a855b8ae9787102cb6e9fd1e
MD5 d5d7be7893453fa1178ae45cf1f90b22
BLAKE2b-256 e1c0075eee46369e83dd9ff5e33b1bfe39dd50530821760e69cb099c403e2d58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_project_initializer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64e2135af1014a9b0c415f69c961d3fac4f2aec513924b8dc5f48571b18f8eff
MD5 5e71aed8202b30bf5456438df23e56ce
BLAKE2b-256 e850f04d0d3f9d587803a56b5b06b317c6345b46b8fc8345f454e185ac12369b

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