Generate queries for relational databases
Project description
Views Query Planning
This package exposes a class views_query_planning.QueryComposer
that makes it
possible to generate queries against a relational database using a network
representation of the database. Such networks can be inferred using the
views_query_planning.join_network
function that takes a dictionary of
sqlalchemy
tables and returns a networkx.DiGraph
that can be passed to the
composer.
For an example service that uses the QueryComposer class to expose columns in a relational DB RESTfully, see base_data_retriever.
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
Built Distribution
Close
Hashes for views_query_planning-1.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0bd3ef62c7c59f50d849bdc279eca85bff7650d550b2f3f5fbf81ffcec6cd49 |
|
MD5 | 0c64835850ae960d415766eb241c4123 |
|
BLAKE2b-256 | 39ecfeeacfc48012480a6b846e634026787b957620f7227e0ee4501a3b4d8ddf |
Close
Hashes for views_query_planning-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9c2a9012cc365aa907e79ac444b4f349636e9e3a5544cbc7c29e44d24c7e884 |
|
MD5 | 95aad7d675fdcdd87ff285f709708322 |
|
BLAKE2b-256 | 9c1d5b5d8df46758564613c7fd7bea35e38d421e698a648fd57d306350d3eba4 |