{ "info": { "author": "NateScarlet@Gmail.com", "author_email": "NateScarlet@Gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Graphene django tools\n\nTools for use [`graphene-django`](https://github.com/graphql-python/graphene-django)\n\nOnly support python3.7\n\n## Install\n\n`pip install graphene-django-tools`\n\n## MainFeature\n\n### Query\n\n- `ModelField`\n- `ModelConnectionField`\n- `ModelFilterConnectionField`\n\n[example schema](https://github.com/NateScarlet/graphene-django-tools/blob/0.18.1/test_site/api/schema.py)\n\nMap the user model with filter in 10 lines.\n\n![](https://github.com/NateScarlet/graphene-django-tools/blob/0.18.1/pic/20181012161945.png)\n![](https://github.com/NateScarlet/graphene-django-tools/blob/0.18.1/pic/20181012162201.png)\n\n### Mutation\n\n- `ModelMutation`\n- `ModelCreateMutation`\n- `ModelUpdateMutation`\n\nexample: [`graphene_django_tools.auth` module](https://github.com/NateScarlet/graphene-django-tools/blob/0.18.1/graphene_django_tools/auth.py)\n\nMap the user model with password validation in 40 lines.\n\n![](https://github.com/NateScarlet/graphene-django-tools/blob/0.18.1/pic/20181011195459.png)\n![](https://github.com/NateScarlet/graphene-django-tools/blob/0.18.1/pic/20181011200840.png)\n![](https://github.com/NateScarlet/graphene-django-tools/blob/0.18.1/pic/20181012184432.png)\n\n### Re-implemented `Mutation` class\n\nSupports arguments on interface.\n\n```python\nclass ClientMutationID(graphene.Interface):\n \"\"\"Mutation with a client mutation id. \"\"\"\n\n class Arguments:\n client_mutation_id = graphene.String()\n\n client_mutation_id = graphene.String()\n```\n\n### Data loader integrate\n\nEnable by add `'graphene_django_tools.dataloader.middleware.DataLoaderMiddleware'` to your django settings `GRAPHENE['MIDDLEWARE']`\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/NateScarlet/graphene-django-tools", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "graphene-django-tools", "package_url": "https://pypi.org/project/graphene-django-tools/", "platform": "", "project_url": "https://pypi.org/project/graphene-django-tools/", "project_urls": { "Homepage": "https://github.com/NateScarlet/graphene-django-tools" }, "release_url": "https://pypi.org/project/graphene-django-tools/0.18.1/", "requires_dist": [ "graphene-django (~=2.2.0)", "isodate (~=0.6.0)" ], "requires_python": "", "summary": "Tools for use [graphene-django](https://github.com/graphql-python/graphene-django)", "version": "0.18.1" }, "last_serial": 5510639, "releases": { "0.17.0": [ { "comment_text": "", "digests": { "md5": "168a521b32f82c9e0b7b821ff75ec33b", "sha256": "72999ee259b9dcde4f3fe577cd3b17e301e69481954317eeb56e899682d07da5" }, "downloads": -1, "filename": "graphene_django_tools-0.17.0-py3-none-any.whl", "has_sig": false, "md5_digest": "168a521b32f82c9e0b7b821ff75ec33b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20714, "upload_time": "2019-01-31T11:00:30", "url": "https://files.pythonhosted.org/packages/af/2f/09f13e4fc6085a9ee05731ccd7a130d76384fb8e0adb761cc283e5f93e60/graphene_django_tools-0.17.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4e3a7561a4c55019e386000864da75e7", "sha256": "f781f33996f59488612e34739ae5130aecc7759bbb96523af12453e8417d6a01" }, "downloads": -1, "filename": "graphene_django_tools-0.17.0.tar.gz", "has_sig": false, "md5_digest": "4e3a7561a4c55019e386000864da75e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13678, "upload_time": "2019-01-31T11:00:32", "url": "https://files.pythonhosted.org/packages/f2/b6/a3b9ea6283125ea10ac29443cf8564407270b98a9f40b0e557e1a8cf5f17/graphene_django_tools-0.17.0.tar.gz" } ], "0.18.1": [ { "comment_text": "", "digests": { "md5": "65ce65ad0c4a2fedf3f073ebd4b25cfa", "sha256": "c10b14ba9b39bf0cd52300210b17e3e5f0cdedb60ed8d6299934c88d360fde6e" }, "downloads": -1, "filename": "graphene_django_tools-0.18.1-py3-none-any.whl", "has_sig": false, "md5_digest": "65ce65ad0c4a2fedf3f073ebd4b25cfa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24158, "upload_time": "2019-07-10T07:50:21", "url": "https://files.pythonhosted.org/packages/be/80/2da48d74a7271ac02b77290da0485408c89b999a565ccfb48080838dec96/graphene_django_tools-0.18.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee54cc64d9a1c04549990ec83a2eea94", "sha256": "8a232e301ecbaf444b87d662e620afef83598b21f362d36e0fb3b1ffdaed50e6" }, "downloads": -1, "filename": "graphene_django_tools-0.18.1.tar.gz", "has_sig": false, "md5_digest": "ee54cc64d9a1c04549990ec83a2eea94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15009, "upload_time": "2019-07-10T07:50:23", "url": "https://files.pythonhosted.org/packages/4c/39/8b50e3f46424cf521845fed870b7c205557fd08876401bf622981f8958ca/graphene_django_tools-0.18.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "65ce65ad0c4a2fedf3f073ebd4b25cfa", "sha256": "c10b14ba9b39bf0cd52300210b17e3e5f0cdedb60ed8d6299934c88d360fde6e" }, "downloads": -1, "filename": "graphene_django_tools-0.18.1-py3-none-any.whl", "has_sig": false, "md5_digest": "65ce65ad0c4a2fedf3f073ebd4b25cfa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24158, "upload_time": "2019-07-10T07:50:21", "url": "https://files.pythonhosted.org/packages/be/80/2da48d74a7271ac02b77290da0485408c89b999a565ccfb48080838dec96/graphene_django_tools-0.18.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee54cc64d9a1c04549990ec83a2eea94", "sha256": "8a232e301ecbaf444b87d662e620afef83598b21f362d36e0fb3b1ffdaed50e6" }, "downloads": -1, "filename": "graphene_django_tools-0.18.1.tar.gz", "has_sig": false, "md5_digest": "ee54cc64d9a1c04549990ec83a2eea94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15009, "upload_time": "2019-07-10T07:50:23", "url": "https://files.pythonhosted.org/packages/4c/39/8b50e3f46424cf521845fed870b7c205557fd08876401bf622981f8958ca/graphene_django_tools-0.18.1.tar.gz" } ] }