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:
- Prompts the user for a project name.
- Clones a base Django template repository from GitHub.
- Removes the
.gitdirectory from the cloned repository to eliminate version control history. - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_project_initializer-1.0.0.tar.gz.
File metadata
- Download URL: django_project_initializer-1.0.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03a1aafba5b9c7787e4b05358db957c8ad7b6427a855b8ae9787102cb6e9fd1e
|
|
| MD5 |
d5d7be7893453fa1178ae45cf1f90b22
|
|
| BLAKE2b-256 |
e1c0075eee46369e83dd9ff5e33b1bfe39dd50530821760e69cb099c403e2d58
|
File details
Details for the file django_project_initializer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: django_project_initializer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64e2135af1014a9b0c415f69c961d3fac4f2aec513924b8dc5f48571b18f8eff
|
|
| MD5 |
5e71aed8202b30bf5456438df23e56ce
|
|
| BLAKE2b-256 |
e850f04d0d3f9d587803a56b5b06b317c6345b46b8fc8345f454e185ac12369b
|