{ "info": { "author": "Inspired Solutions", "author_email": "contacto@inspiredsolutions.pe", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries" ], "description": "# OpenCrud Graphene Django implementation\n\n## Usage\n\n```python\nimport graphene\nfrom graphene_django.types import DjangoObjectType\n\nfrom django.contrib.auth import models as auth_models\nfrom graphene import Node\n\nfrom opencrud.connection import WithOpenCrudConnection\nfrom opencrud.list import OpenCrudDjangoFilterListField\nfrom opencrud.filter import OpenCrudDjangoFilterConnectionField\nfrom opencrud.field import OpenCrudDjangoField\n\n\nclass User(DjangoObjectType):\n @WithOpenCrudConnection(auth_models.User)\n class Meta:\n filter_fields = ('id', 'email', )\n interfaces = (Node, )\n\n\nclass Query(graphene.ObjectType):\n user = OpenCrudDjangoField(User)\n users = OpenCrudDjangoFilterListField(User)\n users_connection = OpenCrudDjangoFilterConnectionField(User)\n```\n\n## Contributing\n\nAfter cloning this repo, ensure dependencies are installed by running:\n\n```sh\npip install -e \".[test]\"\n```\n\nAfter developing, the full test suite can be evaluated by running:\n\n```sh\npy.test opencrud --cov=opencrud # Use -v -s for verbose mode\n```\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/inspired-solutions/graphene-django-opencrud", "keywords": "api graphql protocol rest relay graphene opencrud", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "graphene-django-opencrud", "package_url": "https://pypi.org/project/graphene-django-opencrud/", "platform": "any", "project_url": "https://pypi.org/project/graphene-django-opencrud/", "project_urls": { "Homepage": "https://github.com/inspired-solutions/graphene-django-opencrud" }, "release_url": "https://pypi.org/project/graphene-django-opencrud/1.0.0/", "requires_dist": [ "graphene-django", "django-filter (>=2)", "Django (>=2)", "coverage; extra == 'test'", "django-filter (>=2); extra == 'test'", "djangorestframework; extra == 'test'", "graphene-django; extra == 'test'", "pytest; extra == 'test'", "pytest-cov; extra == 'test'", "pytest-django; extra == 'test'" ], "requires_python": "", "summary": "Opencrud Graphene Django implementation", "version": "1.0.0" }, "last_serial": 4391974, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "f3d82aac549c913c300530638d4fab77", "sha256": "aec74f0f0ff5e1fe3defbecf0ab1a18352d0cf52f397bbc33571b29de0924202" }, "downloads": -1, "filename": "graphene_django_opencrud-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f3d82aac549c913c300530638d4fab77", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12098, "upload_time": "2018-10-18T21:18:18", "url": "https://files.pythonhosted.org/packages/05/0c/ac23e3cdbc9c162e76846a2f4906cb6a59ae98f671beee667644c96fe079/graphene_django_opencrud-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0bf54c3f7179b953066ca610fec47b22", "sha256": "afe182dc21f876e623428280bab98ac67b018d899692860d55bd1a76380e928b" }, "downloads": -1, "filename": "graphene-django-opencrud-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0bf54c3f7179b953066ca610fec47b22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8496, "upload_time": "2018-10-18T21:18:19", "url": "https://files.pythonhosted.org/packages/e4/89/dc3e744377c9bf078b179816e4c77d9c113f8ad2395e5fcc032909f1c8c5/graphene-django-opencrud-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f3d82aac549c913c300530638d4fab77", "sha256": "aec74f0f0ff5e1fe3defbecf0ab1a18352d0cf52f397bbc33571b29de0924202" }, "downloads": -1, "filename": "graphene_django_opencrud-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f3d82aac549c913c300530638d4fab77", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12098, "upload_time": "2018-10-18T21:18:18", "url": "https://files.pythonhosted.org/packages/05/0c/ac23e3cdbc9c162e76846a2f4906cb6a59ae98f671beee667644c96fe079/graphene_django_opencrud-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0bf54c3f7179b953066ca610fec47b22", "sha256": "afe182dc21f876e623428280bab98ac67b018d899692860d55bd1a76380e928b" }, "downloads": -1, "filename": "graphene-django-opencrud-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0bf54c3f7179b953066ca610fec47b22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8496, "upload_time": "2018-10-18T21:18:19", "url": "https://files.pythonhosted.org/packages/e4/89/dc3e744377c9bf078b179816e4c77d9c113f8ad2395e5fcc032909f1c8c5/graphene-django-opencrud-1.0.0.tar.gz" } ] }