build-django
Command line utility to build Django projects
Features
- Async
- Flexible
Installation
pip install build-django
Usage
build-django my_project --dir my_project_path --debug --hosts localhost,127.0.0.1,example.com --python python3 --migrate --git --commit --commit-message "My first commit!" --packages bjcli djangorestframework
| Argument | Description | Required | Default | Type |
|---|---|---|---|---|
| --version | Show version and exit | False | False | bool |
| --dir | Django project directory | False | ./ | str |
| --debug | Should initialize env with DEBUG=True | False | False | bool |
| --no-compile | pip: Do not compile Python source files to bytecode | False | False | bool |
| --hosts | List of comma sperated Django ALLOWED_HOSTS values | False | '' | str |
| --python | Python command for initializing virtual environment. If not set, the Python used to run the program will be used | False | None | str |
| --migrate | Should apply initial migrations after project built | False | False | bool |
| --git | Should initialize git repository | False | False | bool |
| --commit | Should create initial commit after project built and git initialized | False | False | bool |
| --commit-message | Initial commit message | False | 'Initial commit' | str |
| --packages | List of additional pip packages to be installed | False | [] | [str] |
| --use-ssl | Enable SSL support for reverse proxy (production only) | False | False | bool |
Metadata
Release files for build-django 3.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| build-django-3.3.0.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| build_django-3.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / build-django-3.3.0.tar.gz
| Download URL | build-django-3.3.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
130b5aa024c0988ac2229406fb452a674030bdb0cf1733419fdf78e1edef838f
|
|
BLAKE2b-256 checksum How to use checksums |
50d9621fa219eaa5399d3bfce576763c8e9d4ddb5aafd2a557312e84fa759215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.11.0
|
Release files / build_django-3.3.0-py3-none-any.whl
| Download URL | build_django-3.3.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bacc0bc2a83c56167bcf658d69f4d9e8460f1d7c885e894eec6f0154fefb50c
|
|
BLAKE2b-256 checksum How to use checksums |
d3ef07dd69ca421001367e1427d1b1f8349485936918501588f838e3afc30ca1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.11.0
|