{ "info": { "author": "Tuomas Virtanen", "author_email": "katajakasa@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: AsyncIO", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: HTTP Servers" ], "description": ".. image:: https://travis-ci.org/katajakasa/aiohttp-spyne.svg?branch=master\n :target: https://travis-ci.org/katajakasa/aiohttp-spyne\n :alt: Build status\n\nAbout\n=====\n\nAiohttp transport for Spyne RPC library.\n\nRequirements:\n\n* Python >= 3.6\n* Aiohttp >= 3.0.0\n* Spyne >= 2.12.9\n\nSpyne alpha versions should also work.\n\nInstallation\n------------\n\nJust run ``pip install aiohttp-spyne`` :)\n\nExamples\n--------\n\n* Test server: ``python -m examples.hello_world``\n* Threaded test server: ``python -m examples.hello_world_threads``\n* Test client: ``python -m examples.test_client``\n\nUsage\n-----\n\nFirst, initialize your spyne application as normal. Here's an example\nfor a simple SOAP service (See examples for a more complete service setup).\n\n::\n\n spyne_app = spyne.Application(\n [HelloWorldService],\n tns='aiohttp_spyne.examples.hello',\n in_protocol=Soap11(validator='lxml'),\n out_protocol=Soap11())\n\n\nNext, wrap your Spyne application with AIOSpyne. Note that you can run\nyour application entrypoints in a thread by setting the threads parameter.\nIf you want to keep your entrypoints running in the same thread as the\nmain application, just leave this None. If you DO run your entrypoints\nin threads, be aware that some signals sent by spyne will also be run\nin threads, and be extra careful of using your main loop!\n\n::\n\n handler = AIOSpyne(spyne_app, threads=25)\n\n\nLastly, make an aiohttp application as usual, and just bind GET and POST\nentrypoints from AIOSpyne to wherever. Note that both paths need to be\nthe same.\n\nWith GET, if the request address ends ?wsdl or .wsdl, a WSDL schema is\nreturned in a response. Otherwise requests are redirected to spynes\nRPC handler.\n\n::\n\n app = web.Application()\n app.router.add_get('/{tail:.*}', handler.get)\n app.router.add_post('/{tail:.*}', handler.post)\n web.run_app(app, port=8080)\n\nTesting and formatting\n----------------------\n\n1. ``pytest``\n2. ``mypy -p aiohttp_spyne``\n3. ``flake8``\n4. ``black aiohttp_spyne/``\n\nLicense\n-------\n\nLGPL-2.1 -- Please see LICENSE for details.\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/katajakasa/aiohttp-spyne", "keywords": "", "license": "LGPLv2.1", "maintainer": "", "maintainer_email": "", "name": "aiohttp-spyne", "package_url": "https://pypi.org/project/aiohttp-spyne/", "platform": "", "project_url": "https://pypi.org/project/aiohttp-spyne/", "project_urls": { "Homepage": "https://github.com/katajakasa/aiohttp-spyne" }, "release_url": "https://pypi.org/project/aiohttp-spyne/1.0.1/", "requires_dist": [ "aiohttp (<4.0.0,>=3.0.0)", "spyne (>=2.12.9)" ], "requires_python": "", "summary": "Aiohttp transport for Spyne RPC library", "version": "1.0.1" }, "last_serial": 6003084, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9c80c575c58d8a963f44557e91848a80", "sha256": "b4ee8a56a2130c51b98372a16539584e6737b727ea009fd66efa417339f86c24" }, "downloads": -1, "filename": "aiohttp_spyne-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9c80c575c58d8a963f44557e91848a80", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4713, "upload_time": "2017-05-19T22:25:37", "url": "https://files.pythonhosted.org/packages/5c/52/8194a4009b84bab211c99ed50e470f92aeb342d734025ceccef855f973bd/aiohttp_spyne-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a2d32b022fe4e18ac8081066f8e03626", "sha256": "6d265ec8f3d11705ec9fc310d4bc4f7677c63e974edb5ff3695cad27580b9fd6" }, "downloads": -1, "filename": "aiohttp-spyne-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a2d32b022fe4e18ac8081066f8e03626", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3235, "upload_time": "2017-05-19T22:25:39", "url": "https://files.pythonhosted.org/packages/d1/69/ad5feaa20f8241c5a61671bbed12132da0aa384dcba80e7bae936bdc52ae/aiohttp-spyne-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "15eec900b87c44439c7471769c3070d9", "sha256": "421e347de47cae3597f7656f5ec7c83d3ea75183f7fbd5f5a4c7ec0809672bc6" }, "downloads": -1, "filename": "aiohttp_spyne-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "15eec900b87c44439c7471769c3070d9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4842, "upload_time": "2017-08-31T22:07:53", "url": "https://files.pythonhosted.org/packages/51/83/993083c102aaae335f3d9c6a81116d0a83fd94bf57ef5f4408b8e5ae7169/aiohttp_spyne-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4eeb3c215f4776b21b14c9fa248201c0", "sha256": "2dc13eb865a0d13b566644410ad7a3618ea142162383734ec12baaae4aaede17" }, "downloads": -1, "filename": "aiohttp-spyne-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4eeb3c215f4776b21b14c9fa248201c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3351, "upload_time": "2017-08-31T22:07:56", "url": "https://files.pythonhosted.org/packages/62/16/70d19c8669b1117a262ee50429847a39d9632cd6eff02daaaa26c077946d/aiohttp-spyne-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2ff429b5316c929397f50b12f04b84cc", "sha256": "a0aeb3dd976b8c44fe02a69b6793d96034d70de8f2290dbf87a7f20098acb717" }, "downloads": -1, "filename": "aiohttp_spyne-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2ff429b5316c929397f50b12f04b84cc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6152, "upload_time": "2017-12-28T04:15:13", "url": "https://files.pythonhosted.org/packages/ad/3d/e6aecbabbd9b07eb1cd19c5b648be3098c4e5a76636743339a583213817b/aiohttp_spyne-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d868b3f53ddf9274a691ddb81be3d932", "sha256": "0543b5ce2cbee5ea41c91f7202f47d2b1101a3eceda7c0e039f9b1edcf73a692" }, "downloads": -1, "filename": "aiohttp-spyne-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d868b3f53ddf9274a691ddb81be3d932", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3659, "upload_time": "2017-12-28T04:15:13", "url": "https://files.pythonhosted.org/packages/95/35/431f23c20deb03358bc2c21e8ab4f94041e0e1ddcca9964f63723a56f62f/aiohttp-spyne-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "0da82418a8549a2ec1cdf9587693a605", "sha256": "330773599ac0d236cac7e84a3938b73981b8136e5e31872163562ce6911968f5" }, "downloads": -1, "filename": "aiohttp_spyne-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0da82418a8549a2ec1cdf9587693a605", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6652, "upload_time": "2018-06-30T08:16:53", "url": "https://files.pythonhosted.org/packages/7a/61/79f80e8dcd73672a52066af4dd223e2286430467a2c688b028a14f50826f/aiohttp_spyne-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94a6c39d9e4cc2ac4b82f455c08dac0e", "sha256": "2e878e0362a9a036d8ad99b930a22750f70881c69480835b2ace05f7322c3f60" }, "downloads": -1, "filename": "aiohttp-spyne-0.3.0.tar.gz", "has_sig": false, "md5_digest": "94a6c39d9e4cc2ac4b82f455c08dac0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3939, "upload_time": "2018-06-30T08:16:54", "url": "https://files.pythonhosted.org/packages/e7/81/f4cacefcd0f5071586857ba6aadfa39f55961d5a675695435542e2dacdbc/aiohttp-spyne-0.3.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "faa5303b7521dc031179b7ac05ac113e", "sha256": "46f29e5a3352a976a379b9ee365ff191ffbacd3074a1f90156ac062a70d4168c" }, "downloads": -1, "filename": "aiohttp_spyne-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "faa5303b7521dc031179b7ac05ac113e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15357, "upload_time": "2018-10-21T19:58:30", "url": "https://files.pythonhosted.org/packages/91/b3/99eeed03bbc173a110b76fe6e72a3adade17da603757a7f5adda478cf0a1/aiohttp_spyne-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3d2166ae517ba271448766cb10336bb2", "sha256": "ee157c677b01f8320703184088fdb388f761c53440edffcfc79aa213ff6270e6" }, "downloads": -1, "filename": "aiohttp-spyne-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3d2166ae517ba271448766cb10336bb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5359, "upload_time": "2018-10-21T19:58:31", "url": "https://files.pythonhosted.org/packages/f3/7e/d78b3010797a4a9110ab54b4c78917f3d28e985a4c92bd43effc2a741e88/aiohttp-spyne-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c36bfa5e09ffe1c16d1426c6965e4a05", "sha256": "40e9d6011a01bd4370f3a0126346a085ab40fbbaed2e66aaa959e76eaafe216d" }, "downloads": -1, "filename": "aiohttp_spyne-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c36bfa5e09ffe1c16d1426c6965e4a05", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15430, "upload_time": "2019-10-20T14:44:40", "url": "https://files.pythonhosted.org/packages/1c/e6/22ad13309da7b84a6a04d178f9de0fa29ec561a23b4914602f2bafe4b1af/aiohttp_spyne-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4cd863f76ae71324bb34d6a73b5cb29d", "sha256": "e88fd03d1e38ef3b25370d78ea200161ace157b7e4c4e408237cf8301a6ab479" }, "downloads": -1, "filename": "aiohttp-spyne-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4cd863f76ae71324bb34d6a73b5cb29d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5577, "upload_time": "2019-10-20T14:44:42", "url": "https://files.pythonhosted.org/packages/f1/12/b2ce957ec86e15baeea4cf8de4d3d10f478d63f23a0b727a8f2bc2adba2f/aiohttp-spyne-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c36bfa5e09ffe1c16d1426c6965e4a05", "sha256": "40e9d6011a01bd4370f3a0126346a085ab40fbbaed2e66aaa959e76eaafe216d" }, "downloads": -1, "filename": "aiohttp_spyne-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c36bfa5e09ffe1c16d1426c6965e4a05", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15430, "upload_time": "2019-10-20T14:44:40", "url": "https://files.pythonhosted.org/packages/1c/e6/22ad13309da7b84a6a04d178f9de0fa29ec561a23b4914602f2bafe4b1af/aiohttp_spyne-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4cd863f76ae71324bb34d6a73b5cb29d", "sha256": "e88fd03d1e38ef3b25370d78ea200161ace157b7e4c4e408237cf8301a6ab479" }, "downloads": -1, "filename": "aiohttp-spyne-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4cd863f76ae71324bb34d6a73b5cb29d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5577, "upload_time": "2019-10-20T14:44:42", "url": "https://files.pythonhosted.org/packages/f1/12/b2ce957ec86e15baeea4cf8de4d3d10f478d63f23a0b727a8f2bc2adba2f/aiohttp-spyne-1.0.1.tar.gz" } ] }