Skip to main content

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

views_query_planning-1.3.1.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

views_query_planning-1.3.1-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page