Graphene Sql Alchemy Optmizer
(WIP) inspired by https://github.com/tfoxy/graphene-django-optimizer
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| graphene_sa_optimizer-0.0.5.tar.gz | 3.2 kB | Without provenance | Details for graphene_sa_optimizer-0.0.5.tar.gz |
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 |
Security for graphene-sa-optimizer 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.