Metadata-Version: 2.1
Name: graphene-sa-optimizer
Version: 0.0.2
Summary: Use GraphQL and SQL Alchemy for efficient database access.
Home-page: https://github.com/colanconnon/graphene_sa_optimizer
Author: Colan Connon
Author-email: cconnon11@gmail.com
License: MIT
Description: # Graphene Sql Alchemy Optmizer
        (WIP)
        inspired by https://github.com/tfoxy/graphene-django-optimizer
        
        [![Build Status](https://travis-ci.org/colanconnon/graphene_sa_optimizer.svg?branch=master)](https://travis-ci.org/colanconnon/graphene_sa_optimizer)
        
        Uses graphql schema to generate efficient database access using sql alchemy joins
        ## How to use 
        ```python
        from graphene_sa_optimizer import get_optimized_options
        
        # This will generate all our options
        # to optimize this query
        get_optimized_options(ModelClass, info)
        
        # pass those optimizations into our query
        query.options(*get_optimized_options)
        ```
        ## Setup for dev
        * Install `pipenv`
        * run `pipenv install`
        * run `pipenv shell`
        * run `pytest`
        
        
Keywords: graphene sqlalchemy flask graphql
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
