{ "info": { "author": "Tommaso De Rossi", "author_email": "daer.tommy@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Information Technology", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "See https://github.com/remorses/tartiflette-apollo-federation-example for an example\nFor now the plugin only supports simple sharing of types with the same fields and merging of the query and mutation fileds,\nIn the near future there will be support for the `@key`directive and a new `@ResolveReference('TypeName')` decorator to resolve the types between servers, similar to how Apollo `__resolveReference` works.\n\nTo suggest other better api ideas on how to implement `__resolveReference` open a issue.\n\n## Installation\n`pip install tartiflette_plugin_apollo_federation`\n\n## Usage\n```py\nfrom tartiflette_aiohttp import register_graphql_handlers\nfrom tartiflette_plugin_apollo_federation import ApolloFederationPlugin\n\ndef run():\n engine_sdl = \"./sdl/\"\n app = register_graphql_handlers(\n app=web.Application(),\n engine_sdl=engine_sdl,\n engine_modules=[\n ApolloFederationPlugin(engine_sdl=engine_sdl)\n ],\n executor_http_endpoint=\"/graphql\",\n graphiql_enabled=True,\n )\n web.run_app(app, port=PORT)\n\nrun()\n```\nThen use `xmorse/apollo-federation-gateway` to glue together your services\n```yml\nversion: '3'\nservices:\n service1:\n build: ./service1\n service2:\n build: ./service2\n gateway:\n image: xmorse/apollo-federation-gateway\n ports:\n - 8000:80\n environment: \n URL_0: \"http://service1:8001/graphql\"\n URL_1: \"http://service2:8002/graphql\"\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/remorses/tartiflette_plugin_apollo_federation", "keywords": "tartiflette,apollo,federation,graphql", "license": "Apache Software License 2.0", "maintainer": "", "maintainer_email": "", "name": "tartiflette-plugin-apollo-federation", "package_url": "https://pypi.org/project/tartiflette-plugin-apollo-federation/", "platform": "", "project_url": "https://pypi.org/project/tartiflette-plugin-apollo-federation/", "project_urls": { "Homepage": "https://github.com/remorses/tartiflette_plugin_apollo_federation" }, "release_url": "https://pypi.org/project/tartiflette-plugin-apollo-federation/0.0.6/", "requires_dist": null, "requires_python": "", "summary": "Plugin to compose your Tartiflette Graphql service in an Apollo federation", "version": "0.0.6" }, "last_serial": 5931562, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c72c23718f4698b44bc31b34e1136845", "sha256": "b0f6b8e992435555ed856448e1f4ce2e066dbbca4e09b9fdcafb0f80c831f054" }, "downloads": -1, "filename": "tartiflette_plugin_apollo_federation-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c72c23718f4698b44bc31b34e1136845", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3126, "upload_time": "2019-09-21T10:03:18", "url": "https://files.pythonhosted.org/packages/0c/86/b8d33049cc829abd35dd9ccdc75b3a0141359afe8893b67620b219b08d5f/tartiflette_plugin_apollo_federation-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "14ce1c05d67b081327e1502e88908018", "sha256": "bceabc0064feee1bd6d58f586ddd97f61d38b9fe07713ed7d49741bf2268dcd8" }, "downloads": -1, "filename": "tartiflette_plugin_apollo_federation-0.0.2.tar.gz", "has_sig": false, "md5_digest": "14ce1c05d67b081327e1502e88908018", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3146, "upload_time": "2019-09-21T10:06:03", "url": "https://files.pythonhosted.org/packages/17/78/fcc57d3aa18e78319e39aa551fbccb020e3aab008be0c7adeea164c6e5b5/tartiflette_plugin_apollo_federation-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "917cc313a3146fb5ddfda01d916b0a97", "sha256": "977930b0fcfa6d6f089a33435c45fb5dff4d55273072f432dafc1ea0dc6dcd1a" }, "downloads": -1, "filename": "tartiflette_plugin_apollo_federation-0.0.3.tar.gz", "has_sig": false, "md5_digest": "917cc313a3146fb5ddfda01d916b0a97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3169, "upload_time": "2019-09-21T10:14:35", "url": "https://files.pythonhosted.org/packages/30/3f/50af77b4104018ad5802707df2b0d8cde6f5ede1993437f324e4d4da1ddc/tartiflette_plugin_apollo_federation-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "0bfb9660598e568b07080781eb214bc1", "sha256": "555878030ffeb87f3544faec98b354ec813a6040907ab703e27f0c836355ec28" }, "downloads": -1, "filename": "tartiflette_plugin_apollo_federation-0.0.4.tar.gz", "has_sig": false, "md5_digest": "0bfb9660598e568b07080781eb214bc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3164, "upload_time": "2019-09-21T10:15:11", "url": "https://files.pythonhosted.org/packages/f3/9e/5476b30ac31ed6f657caf3726b97034d2e63aec0629fcddb8f47851b367d/tartiflette_plugin_apollo_federation-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "3bc803b4fd12c64883e6aa1bcfba25f8", "sha256": "79fa415342accc015a0fb920148c83a98af956583ffebf4c632d1e58ffa74f71" }, "downloads": -1, "filename": "tartiflette_plugin_apollo_federation-0.0.5.tar.gz", "has_sig": false, "md5_digest": "3bc803b4fd12c64883e6aa1bcfba25f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3217, "upload_time": "2019-09-21T10:37:08", "url": "https://files.pythonhosted.org/packages/40/ba/69bb0d320d45d216052405fdeddeaaae3b465b388c26af3ad52efb07f33e/tartiflette_plugin_apollo_federation-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "0b05bb47abf8a3310542a3982dab8c53", "sha256": "ab4fbfc43955e0ac7a84addeb9a35f4e64ef1fe5184c3090cf1dcd0291fdf7c8" }, "downloads": -1, "filename": "tartiflette_plugin_apollo_federation-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0b05bb47abf8a3310542a3982dab8c53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3142, "upload_time": "2019-10-05T09:56:31", "url": "https://files.pythonhosted.org/packages/b3/ec/0e675405e78557187c534e5a14e116603297c66b605de0778cea17eb7ed7/tartiflette_plugin_apollo_federation-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0b05bb47abf8a3310542a3982dab8c53", "sha256": "ab4fbfc43955e0ac7a84addeb9a35f4e64ef1fe5184c3090cf1dcd0291fdf7c8" }, "downloads": -1, "filename": "tartiflette_plugin_apollo_federation-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0b05bb47abf8a3310542a3982dab8c53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3142, "upload_time": "2019-10-05T09:56:31", "url": "https://files.pythonhosted.org/packages/b3/ec/0e675405e78557187c534e5a14e116603297c66b605de0778cea17eb7ed7/tartiflette_plugin_apollo_federation-0.0.6.tar.gz" } ] }