======= bldtool
bldtool is a Django app to that adds management commands to support developers with standard quality and build support. These buildtools assume python django server side, and TypeScript/react client side.
Quick start
-
Build the bldtool installer from srouce
- cd
- python setup.py sdist
-
Create your django site and vm
- virtualenv -p python3.8 env
- . env/bin/activate
- pip install django
- django-admin startproject
- cd site
- pip install dist/django-bldtool-X.Y.tar.gz
- Add "bldtool" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'bldtool', ]
-
Run "python manage.py qc" and update the errors until it runs clean. In particular update the manage.py so that the setting import exception does not need to be covered: except ImportError as exc: # pragma: no cover
-
When creating new apps be sure to:
- Remove the generated files you will not be using.
- Update the generated files with docstrings to pass lint.
Project Requirements
This tool assumes:
- django
- django_rest_framework
- typescript for js-react components.
- The client side is not a single page react application, but is served with typical django templates that may have react components as the body of some pages.
Management Commands
lint ^^^^ This runs pylint on all python files on all the modules. It also runs jslint on all typescript files.
coverage ^^^^^^^^ This runs tests and generates a coverage report on all apps.
qc ^^^
This runs both lint and coverage.
Metadata
Release files for django-bldtool 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-bldtool-0.0.1.tar.gz | 13.7 kB | Without provenance | Details for django-bldtool-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_bldtool-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for django_bldtool-0.0.1-py3-none-any.whl |
Total release size: 28.7 kB
Release files / django-bldtool-0.0.1.tar.gz
| Download URL | django-bldtool-0.0.1.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae31d865257f6f4d6bb670e4be4ebca5956f01fafbcc51e5df0f26d350da1f3b
|
|
BLAKE2b-256 checksum How to use checksums |
66fab57c62d993ea2ec03d8aa93f000570a35f8adaaf9865da58b1dcd82b127e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / django_bldtool-0.0.1-py3-none-any.whl
| Download URL | django_bldtool-0.0.1-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5502a5a4e8c347a74c93566a571b3002e34f0344ef555a8d8be4d18003b7d104
|
|
BLAKE2b-256 checksum How to use checksums |
d4fc6f62967928ba70c6de306f95582ccc40894d167a04693be718175d32eff0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for django-bldtool 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.