Skip to content

Building reusable queries from SQLAlchemy fragments

License

Notifications You must be signed in to change notification settings

juiceinc/recipe

Repository files navigation

Overview

Legos for SQL

Recipe is an MIT licensed cross-database querying library, written in Python. It allows you to reuse SQL fragments to answer data questions consistently. Extension classes allow you to support data anonymization, automatic generation of where clauses, user permissioning to data, subselects, and response formatting.

Installation

pip install recipe

Documentation

https://recipe.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows
set PYTEST_ADDOPTS=--cov-append
tox
Other
PYTEST_ADDOPTS=--cov-append tox