Skip to main content

Use GraphQL and SQL Alchemy for efficient database access.

Project description

Graphene Sql Alchemy Optmizer

(WIP) inspired by https://github.com/tfoxy/graphene-django-optimizer

Build Status

Uses graphql schema to generate efficient database access using sql alchemy joins

install

pip install graphene_sa_optimizer

How to use

from graphene_sa_optimizer import get_optimized_options

# This will generate all our options
# to optimize this query and
# pass those optimizations into our query
query.options(*get_optimized_options(ModelClass, info))

Setup for dev

  • Install pipenv
  • run pipenv install
  • run pipenv shell
  • run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for graphene-sa-optimizer, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size graphene_sa_optimizer-0.0.5.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page