{ "info": { "author": "Alec Aivazis", "author_email": "alec@aivazis.com", "bugtrack_url": null, "classifiers": [], "description": "# nautilus-registry\nA module to support an \"impure\" nautilus architecture, taking advantage of a service registry\n\n## Installing\n`nautilus_registry` can be installed from pip:\n\n```bash\npip install nautilus_registry\n```\n\n\n## Connecting a service to consul\nCurrently, `nautilus_registry` only supports consul and does so through a\nservice mixin:\n\n```python\nimport nautilus\nfrom nautilus_registry import RegisterMixin\n\nclass MyService(RegisterMixin, nautilus.Service):\n # ...\n\n```\n\n\nThis mixin registers the service with consul when the service starts and\nhandles the removal of the service from consul aswell.\n\n\n## Referring to the registry in an API\nSchemas that are executed from services with this mixin can access various utility functions through the context:\n\n```python\nclass MyObjectType(graphene.ObjectType):\n\n field = Field(...)\n\n @graphene.with_content\n @graphene.resolve_only_args\n def resolve_field(self, context=None):\n # query the api for some data\n data = context.service.query_api(...)\n```\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/aaivazis/nautilus-registry/tarball/0.1.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AlecAivazis/nautilus-registry", "keywords": "microservice,asyncio,graphql", "license": "", "maintainer": "", "maintainer_email": "", "name": "nautilus-registry", "package_url": "https://pypi.org/project/nautilus-registry/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nautilus-registry/", "project_urls": { "Download": "https://github.com/aaivazis/nautilus-registry/tarball/0.1.0", "Homepage": "https://github.com/AlecAivazis/nautilus-registry" }, "release_url": "https://pypi.org/project/nautilus-registry/0.1.7/", "requires_dist": [ "graphene", "nautilus", "python-consul", "requests" ], "requires_python": "", "summary": "A module for powering a nautilus application with a service registry.", "version": "0.1.7" }, "last_serial": 2186375, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9dc6b0f46cc46a1aa680e8465987afde", "sha256": "d20ce1e7a7843eecd17440e807f0c8fc46d72864f347932da714776ea687233a" }, "downloads": -1, "filename": "nautilus_registry-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9dc6b0f46cc46a1aa680e8465987afde", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10776, "upload_time": "2016-06-22T09:54:40", "url": "https://files.pythonhosted.org/packages/8e/fd/43c314f5f96364caf1240bc00aaf94bebb614dc6535d17099634e2984e11/nautilus_registry-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e21e3ea3b111dff5d2f3d0f1c3ca7b2", "sha256": "50560b923df3d1f85d3944f05208082f4751ebe67e6713498a2770019ecff4b7" }, "downloads": -1, "filename": "nautilus-registry-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7e21e3ea3b111dff5d2f3d0f1c3ca7b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6966, "upload_time": "2016-06-22T09:54:45", "url": "https://files.pythonhosted.org/packages/3c/24/872f2f125fedb3fd3e94b0526f9f1c6449b5a4d488c15b1a40bf7f07c63e/nautilus-registry-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "970e8d3340294a29cb97b2b6bdb3a59a", "sha256": "ebc49bf74bcfb25804a126ec59d85b4148ca1a66524f49cec34ddc15b5c94bfa" }, "downloads": -1, "filename": "nautilus_registry-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "970e8d3340294a29cb97b2b6bdb3a59a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19232, "upload_time": "2016-06-23T05:23:23", "url": "https://files.pythonhosted.org/packages/67/6d/b67388d6c74525d097366f71157a88e06411e94a45e0426bc4c7ff04f80d/nautilus_registry-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b68c587db283bce457a77e0332dea1e", "sha256": "2a04caf246cced8f160c781d22a9f37d68e86e6835941c6f4e10d56b949d0f12" }, "downloads": -1, "filename": "nautilus-registry-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6b68c587db283bce457a77e0332dea1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6997, "upload_time": "2016-06-23T05:23:28", "url": "https://files.pythonhosted.org/packages/79/81/cfc4f50e46b3478001be4096272f27f1021b81ce64a8ccfa182aecaf7e4f/nautilus-registry-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c542ae52019fd01938daf7600613112b", "sha256": "2490fb84b2a6ba1e83ea4033b45f98ea235d1b3d10b563eb4154708444daea65" }, "downloads": -1, "filename": "nautilus_registry-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c542ae52019fd01938daf7600613112b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20572, "upload_time": "2016-06-24T07:38:25", "url": "https://files.pythonhosted.org/packages/f1/cb/14b739d40ca3a13d4612f9ffb303cfe07149f5d496dbd53faf417db74457/nautilus_registry-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e78096e9dcad57efa9987198b5380c49", "sha256": "b0f21df473a80de59301a49c2e5e8e321c4d373b88165c9fdec70730bde246de" }, "downloads": -1, "filename": "nautilus-registry-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e78096e9dcad57efa9987198b5380c49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7545, "upload_time": "2016-06-24T07:38:29", "url": "https://files.pythonhosted.org/packages/ea/d3/f6f6690738470f964a74bfcac20d848bcb49f22be767d6a2b7104ede6296/nautilus-registry-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "d09bc02972b0b9360d87781d7551314e", "sha256": "ac439cf948aca94f0f9d9833188adc38c145b50eb9666ae38d917c404d55c49d" }, "downloads": -1, "filename": "nautilus_registry-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d09bc02972b0b9360d87781d7551314e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19837, "upload_time": "2016-06-24T07:42:29", "url": "https://files.pythonhosted.org/packages/2a/74/cbe5682eb71d8a49965507b8950c8bb93ec596442600917a7699b50e4042/nautilus_registry-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bbcc4625ccc6b94d63d73dd63a8c9a03", "sha256": "82d17ff039b7d23a2b844a4c4aec07b5868087f3589198ac02aa377c5277fe69" }, "downloads": -1, "filename": "nautilus-registry-0.1.3.tar.gz", "has_sig": false, "md5_digest": "bbcc4625ccc6b94d63d73dd63a8c9a03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7303, "upload_time": "2016-06-24T07:42:34", "url": "https://files.pythonhosted.org/packages/93/39/bb4c11d30db0c65908dc05fca0f760aa9fb0721fa82d682961c991d48178/nautilus-registry-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "8044f685eb78b1b96ac7ed7a36b766a6", "sha256": "1db51c0d5f856363c0af3e169846c443d4e60b3307952c6ebf09693472f46652" }, "downloads": -1, "filename": "nautilus_registry-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8044f685eb78b1b96ac7ed7a36b766a6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19837, "upload_time": "2016-06-24T07:44:30", "url": "https://files.pythonhosted.org/packages/16/a5/57e55b5fe4a0811ed3a7061e19b6a2046cae38b6b3b24da3e137bf6c73d6/nautilus_registry-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7325092c2abed0bacee3941b3caed15d", "sha256": "f37d9f885058f15fbe6c13b1a710022da1a2346b44f659cd2b7b66132dfe1f67" }, "downloads": -1, "filename": "nautilus-registry-0.1.4.tar.gz", "has_sig": false, "md5_digest": "7325092c2abed0bacee3941b3caed15d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7304, "upload_time": "2016-06-24T07:44:34", "url": "https://files.pythonhosted.org/packages/7e/68/afae1b3bfa047f5a8167c7ca19e9dbfb3deae10a2ed016a6bf1f13d62666/nautilus-registry-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "e1278c80f08c86576c0086e3b0aed3ce", "sha256": "bedd81502477b07ee2771343c1ea65e46074739ac144a30d2880f9efe8130a96" }, "downloads": -1, "filename": "nautilus_registry-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "e1278c80f08c86576c0086e3b0aed3ce", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19816, "upload_time": "2016-06-25T01:20:05", "url": "https://files.pythonhosted.org/packages/c1/cd/e1d6602f9fd0298c01ac8ff85c90fd275d4608fc1cc3bbdc54615bc69a0d/nautilus_registry-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f93d2cd1bf1110d350ce45ac58f26033", "sha256": "fd779956b915d5a51b799aad5b228e6e9d9c935b309c0367f75a6da8ccafa734" }, "downloads": -1, "filename": "nautilus-registry-0.1.5.tar.gz", "has_sig": false, "md5_digest": "f93d2cd1bf1110d350ce45ac58f26033", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7303, "upload_time": "2016-06-25T01:20:28", "url": "https://files.pythonhosted.org/packages/c3/9d/99d60999c9de0748262ffa89de43feddf2b0102c6021611e749ee1d3c00c/nautilus-registry-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "e5c20f566788668dbfe3e0decb8853b4", "sha256": "24e8180c30b3b8e2a2b78631cb4a2b3a785a529fc5cb19d19105af70853599eb" }, "downloads": -1, "filename": "nautilus_registry-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "e5c20f566788668dbfe3e0decb8853b4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19897, "upload_time": "2016-06-25T03:11:15", "url": "https://files.pythonhosted.org/packages/6f/38/1e2fc6b6c4c88128085d35a135f22cd62f8f2b5c7aef4061ba9a7ac3183c/nautilus_registry-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94d66aeeb3d9d8163294662cd0ba1ff9", "sha256": "e98511c60b4701a07acedab05749b7dbd85a44ee165d48b1ad0db8049a9d9dae" }, "downloads": -1, "filename": "nautilus-registry-0.1.6.tar.gz", "has_sig": false, "md5_digest": "94d66aeeb3d9d8163294662cd0ba1ff9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7369, "upload_time": "2016-06-25T03:11:19", "url": "https://files.pythonhosted.org/packages/c1/aa/2e389ebb915972738763f55f6d16cd396d71efaeb0102343d6f94c1cf29b/nautilus-registry-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "513cba45c454b977242d45ecf155474a", "sha256": "afa106e52584f0f3a7f23b2ed38c9f0867fea83e9cc0dd81cdfddde597cddbab" }, "downloads": -1, "filename": "nautilus_registry-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "513cba45c454b977242d45ecf155474a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19898, "upload_time": "2016-06-25T06:43:45", "url": "https://files.pythonhosted.org/packages/1b/96/43564e7162f5817d9f3c9fd5ceac6c7e6797186744648b5f8ad4c72bf116/nautilus_registry-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1885a5d9eec8b74e6e4c4a11f00d53e1", "sha256": "c0a63b5ee96f9ca4dc5bce9117ab2bd9764c676ea762f68fcf4135237b51d3aa" }, "downloads": -1, "filename": "nautilus-registry-0.1.7.tar.gz", "has_sig": false, "md5_digest": "1885a5d9eec8b74e6e4c4a11f00d53e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7696, "upload_time": "2016-06-25T06:43:48", "url": "https://files.pythonhosted.org/packages/33/79/4aef2c47c63eadd4c5d3c8b8e21d32e0d64a2420f28f7d842ff6bc7fe188/nautilus-registry-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "513cba45c454b977242d45ecf155474a", "sha256": "afa106e52584f0f3a7f23b2ed38c9f0867fea83e9cc0dd81cdfddde597cddbab" }, "downloads": -1, "filename": "nautilus_registry-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "513cba45c454b977242d45ecf155474a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19898, "upload_time": "2016-06-25T06:43:45", "url": "https://files.pythonhosted.org/packages/1b/96/43564e7162f5817d9f3c9fd5ceac6c7e6797186744648b5f8ad4c72bf116/nautilus_registry-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1885a5d9eec8b74e6e4c4a11f00d53e1", "sha256": "c0a63b5ee96f9ca4dc5bce9117ab2bd9764c676ea762f68fcf4135237b51d3aa" }, "downloads": -1, "filename": "nautilus-registry-0.1.7.tar.gz", "has_sig": false, "md5_digest": "1885a5d9eec8b74e6e4c4a11f00d53e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7696, "upload_time": "2016-06-25T06:43:48", "url": "https://files.pythonhosted.org/packages/33/79/4aef2c47c63eadd4c5d3c8b8e21d32e0d64a2420f28f7d842ff6bc7fe188/nautilus-registry-0.1.7.tar.gz" } ] }