wq.start provides a simple command-line interface (wq start) for starting a new project with the wq framework, with wq.app for the front end and wq.db as the backend component. wq.start also provides commands for generating a default set of offline-capable list, detail, and edit templates. The templates can be generated for existing Django models (via wq maketemplates), or both the models and the templates can be generated from an ODK-style XLSForm (via wq addform).
Usage
# Recommended: create virtual environment
# python3 -m venv venv
# . venv/bin/activate
python3 -m pip install wq
wq start <projectname> [directory]
cd <projectname>/db
wq addform ~/my-odk-form.xlsx
See the Getting Started docs for more information.
Commands
wq start <projectname> [directory]: Create a new Django project (from the wq Django template)wq addform ~/myodk-form.xlsx: Create a new Django app from the provided XLSForm (uses xlsform-converter)wq maketemplates: Create templates for Django models registered with wq.db.rest
Metadata
Release files for wq.start 1.2.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 | |
|---|---|---|---|
| wq.start-1.2.1.tar.gz | 75.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wq.start-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 145.8 kB
Release files / wq.start-1.2.1.tar.gz
| Download URL | wq.start-1.2.1.tar.gz |
|---|---|
| Size | 75.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2eb64f50b7c4c409e3645293a3c3b942846375ef85471a67452bf0822fa1d79d
|
|
BLAKE2b-256 checksum How to use checksums |
f231e795e9b8c7ff1abfe179867a2452b9a1cc2ac6579ba210aa2db44921d3e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2
|
Release files / wq.start-1.2.1-py3-none-any.whl
| Download URL | wq.start-1.2.1-py3-none-any.whl |
|---|---|
| Size | 70.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0223bb1ba1741b3a1b20452488261b37c66365343d073784684e3c5dac5d05b1
|
|
BLAKE2b-256 checksum How to use checksums |
bf753e3c962a46f4132721cc3d8c6dce782bcdb71f444f6a17a83db3829c1771
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2
|