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
File details
Details for the file views_query_planning-1.3.1.tar.gz
.
File metadata
- Download URL: views_query_planning-1.3.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0bd3ef62c7c59f50d849bdc279eca85bff7650d550b2f3f5fbf81ffcec6cd49 |
|
MD5 | 0c64835850ae960d415766eb241c4123 |
|
BLAKE2b-256 | 39ecfeeacfc48012480a6b846e634026787b957620f7227e0ee4501a3b4d8ddf |
File details
Details for the file views_query_planning-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: views_query_planning-1.3.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9c2a9012cc365aa907e79ac444b4f349636e9e3a5544cbc7c29e44d24c7e884 |
|
MD5 | 95aad7d675fdcdd87ff285f709708322 |
|
BLAKE2b-256 | 9c1d5b5d8df46758564613c7fd7bea35e38d421e698a648fd57d306350d3eba4 |