Skip to main content

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

Metadata

Release files for graphene-sa-optimizer 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for graphene-sa-optimizer 0.0.5
File Size Uploaded
graphene_sa_optimizer-0.0.5.tar.gz 3.2 kB Details

Release files / graphene_sa_optimizer-0.0.5.tar.gz

Download URL graphene_sa_optimizer-0.0.5.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4a8baaef3f027bfdbe84c579f8354ac31add375978354bfe9c1e56dba27d4075
BLAKE2b-256 checksum
How to use checksums
7cf8918ce255c33570451036e8250944229c15677acc8e26c843e872094bb040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page