Project scaffolding tools for creating a new crowdsourcing or citizen science application with the wq framework.
Project description
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
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
File details
Details for the file wq.start-1.2.1.tar.gz
.
File metadata
- Download URL: wq.start-1.2.1.tar.gz
- Upload date:
- Size: 75.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eb64f50b7c4c409e3645293a3c3b942846375ef85471a67452bf0822fa1d79d |
|
MD5 | a774ede2c1d457fac0d9e767cb056379 |
|
BLAKE2b-256 | f231e795e9b8c7ff1abfe179867a2452b9a1cc2ac6579ba210aa2db44921d3e0 |
File details
Details for the file wq.start-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: wq.start-1.2.1-py3-none-any.whl
- Upload date:
- Size: 70.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0223bb1ba1741b3a1b20452488261b37c66365343d073784684e3c5dac5d05b1 |
|
MD5 | a39d9bdecc06fb6e7adc8c109834f7a3 |
|
BLAKE2b-256 | bf753e3c962a46f4132721cc3d8c6dce782bcdb71f444f6a17a83db3829c1771 |