Django design patterns and REST API for field data collection.
wq.db is a collection of Python modules for building robust, flexible schemas and REST APIs for use in creating field data collection apps and (more generally) mobile-first websites with progressive enhancement. wq.db is the backend component of wq and is geared primarily for use with wq.app, though it can be used separately. wq.db is built on the Django platform.
The latest version of wq.db is only compatible with Django REST Framework 3. The following library versions are supported:
|Python||Django||Django REST Framework|
|wq.db 0.8.0||2.7 & 3.4||1.7 & 1.8||3.1|
|wq.db 0.7.2||2.7 & 3.4||1.6 & 1.7||2.4|
pip3 install wq.db # Or, if using together with wq.app and/or wq.io pip3 install wq
See the documentation for more information.
wq.db provides the following modules:
Extends the excellent Django REST Framework with a collection of views, serializers, and context processors useful for creating a progresively enhanced website that serves as its own mobile app and its own REST API. The core of the library is an admin-like ModelRouter that connects REST urls to registered models, and provides a descriptive configuration object for consumption by wq.app’s client-side router. wq.db.rest also includes a CRS-aware GeoJSON serializer/renderer.
A collection of design patterns (e.g. identify, relate) that provide long-term flexibility and sustainability for user-maintained data collection applications. These patterns are implemented as installable Django apps.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size wq.db-0.8.2.tar.gz (43.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|