Skip to main content

Django design patterns and REST API for citizen science field data collection.

Project description

wq.db

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.

Latest PyPI Release Release Notes Documentation License GitHub Stars GitHub Forks GitHub Issues

Travis Build Status Python Support Django Support

Getting Started

# Recommended: create virtual environment
# python3 -m venv venv
# . venv/bin/activate

# Install entire wq suite (recommended)
pip install wq

# Install only wq.db
pip install wq.db

See the documentation for more information.

Features

wq.db provides the following modules:

wq.db.rest

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 GeoJSON serializer/renderer.

wq.db.patterns

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.

Download files

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

Source Distribution

wq.db-1.0.0rc1.tar.gz (38.0 kB view details)

Uploaded Source

File details

Details for the file wq.db-1.0.0rc1.tar.gz.

File metadata

  • Download URL: wq.db-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 38.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wq.db-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 b01bd89b406780ee38e19312dba2e592878983a0c0286fe006eb72f02ded0984
MD5 bdfd12bd907c649134c1289d4822d2bd
BLAKE2b-256 997c6acb8ba381b3074811b643cecb069e3cdfb43c3ba452a9be4828353a9ce9

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