Skip to main content

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

  1. Build the bldtool installer from srouce

    • cd
    • python setup.py sdist
  2. 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', ]

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

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

  1. django
  2. django_rest_framework
  3. typescript for js-react components.
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-bldtool-0.0.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

django_bldtool-0.0.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

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

Hashes for django-bldtool-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ae31d865257f6f4d6bb670e4be4ebca5956f01fafbcc51e5df0f26d350da1f3b
MD5 aabcaf0e6adefc60459e06dde53b3daa
BLAKE2b-256 66fab57c62d993ea2ec03d8aa93f000570a35f8adaaf9865da58b1dcd82b127e

See more details on using hashes here.

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

Hashes for django_bldtool-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5502a5a4e8c347a74c93566a571b3002e34f0344ef555a8d8be4d18003b7d104
MD5 37c4ab2c89a94df91c49d7ef3f8d641f
BLAKE2b-256 d4fc6f62967928ba70c6de306f95582ccc40894d167a04693be718175d32eff0

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