django-query 0.2.1

Tools for mocking Django-style endpoints
Documentation

django-query

This crate is a toolkit for assembling a mock instance of a Django-style API, although some of the parts may be useful beyond just mocking. The tools provided depend on the available features.

There are the following features:

  • "filter" - Filtering values of a type using django filters.
  • "sort" - Sort values of a type using django orderings.
  • "row" - Convert a type into a row in tabular JSON output.
  • "wiremock" - Wiremock endpoints to expose data; implies "filter", "row" and "sort".