Tools for use [graphene-django](https://github.com/graphql-python/graphene-django)
Project description
Graphene django tools
Tools for use graphene-django
Only support python3.7
Install
pip install graphene-django-tools
MainFeature
Query
ModelField
ModelConnectionField
ModelFilterConnectionField
Map the user model with filter in 10 lines.
Mutation
ModelMutation
ModelCreateMutation
ModelUpdateMutation
example: graphene_django_tools.auth
module
Map the user model with password validation in 40 lines.
Re-implemented Mutation
class
Supports arguments on interface.
class ClientMutationID(graphene.Interface):
"""Mutation with a client mutation id. """
class Arguments:
client_mutation_id = graphene.String()
client_mutation_id = graphene.String()
Data loader integrate
Enable by add 'graphene_django_tools.dataloader.middleware.DataLoaderMiddleware'
to your django settings GRAPHENE['MIDDLEWARE']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file graphene_django_tools-0.18.1.tar.gz
.
File metadata
- Download URL: graphene_django_tools-0.18.1.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a232e301ecbaf444b87d662e620afef83598b21f362d36e0fb3b1ffdaed50e6 |
|
MD5 | ee54cc64d9a1c04549990ec83a2eea94 |
|
BLAKE2b-256 | 4c398b50e3f46424cf521845fed870b7c205557fd08876401bf622981f8958ca |
File details
Details for the file graphene_django_tools-0.18.1-py3-none-any.whl
.
File metadata
- Download URL: graphene_django_tools-0.18.1-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c10b14ba9b39bf0cd52300210b17e3e5f0cdedb60ed8d6299934c88d360fde6e |
|
MD5 | 65ce65ad0c4a2fedf3f073ebd4b25cfa |
|
BLAKE2b-256 | be802da48d74a7271ac02b77290da0485408c89b999a565ccfb48080838dec96 |