No project description provided
Project description
======= 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.
Project details
Release history Release notifications | RSS feed
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-bldtool-0.0.1.tar.gz.
File metadata
- Download URL: django-bldtool-0.0.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae31d865257f6f4d6bb670e4be4ebca5956f01fafbcc51e5df0f26d350da1f3b
|
|
| MD5 |
aabcaf0e6adefc60459e06dde53b3daa
|
|
| BLAKE2b-256 |
66fab57c62d993ea2ec03d8aa93f000570a35f8adaaf9865da58b1dcd82b127e
|
File details
Details for the file django_bldtool-0.0.1-py3-none-any.whl.
File metadata
- Download URL: django_bldtool-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5502a5a4e8c347a74c93566a571b3002e34f0344ef555a8d8be4d18003b7d104
|
|
| MD5 |
37c4ab2c89a94df91c49d7ef3f8d641f
|
|
| BLAKE2b-256 |
d4fc6f62967928ba70c6de306f95582ccc40894d167a04693be718175d32eff0
|