Skip to main content

Django design patterns and REST API for 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.

Build Status PyPI Package

Tested on Python 2.7 and 3.4, with Django 1.6 and 1.7.

Getting Started

pip install wq.db
# Or, if using together with wq.app and/or wq.io
pip install wq

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 (app.py) includes an admin-style Router 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.

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.

wq.db.contrib

Like Django itself, wq.db includes a contrib module that provides additional functionality not considered to be part of the “core” library, including a file manager, a search API, and a chart backend.

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

wq.db-0.7.0.tar.gz (42.9 kB view details)

Uploaded Source

File details

Details for the file wq.db-0.7.0.tar.gz.

File metadata

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

File hashes

Hashes for wq.db-0.7.0.tar.gz
Algorithm Hash digest
SHA256 dc4b1354b204f449956614469a354e770ee1caaf9f79c0b145eefd272aba8320
MD5 d200f57f55ec2f941b6e265e7121e343
BLAKE2b-256 a7338c4e73e561aa5c59e234dd7bd3a28624f9a0ce42e33a9c94cf2d745a9b50

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