{ "info": { "author": "Stanislav Prokop", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries" ], "description": "deasync provides a decorator called `deasync` for Python 3.5 (or higher) to make async functions synchronous in places where only synchronous functions are expected, for example in `unittest.TestCase`:\n\n.. code:: python\n\n from asyncio import sleep\n from unittest import TestCase\n from deasync import deasync\n\n\n async def function42():\n await sleep(0.001)\n return 42\n\n\n class TestFunction42(TestCase):\n @deasync\n async def test_function42(self):\n result = await function42()\n self.assertEquals(42, result)", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/prokopst/deasync", "keywords": "async await deasync desynchronize", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "deasync", "package_url": "https://pypi.org/project/deasync/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/deasync/", "project_urls": { "Homepage": "https://github.com/prokopst/deasync" }, "release_url": "https://pypi.org/project/deasync/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "deasync decorator to make async functions/methods synchronous.", "version": "1.0.1" }, "last_serial": 2595539, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8f1d1f7003f385b7d37c31ed1e2c19d4", "sha256": "c26aa246928d1ebe4c9c0ab41ee13770a030186794ef4861a1f14b67445855da" }, "downloads": -1, "filename": "deasync-0.1.0-py3-none-any.whl", "has_sig": true, "md5_digest": "8f1d1f7003f385b7d37c31ed1e2c19d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3001, "upload_time": "2017-01-17T21:28:30", "url": "https://files.pythonhosted.org/packages/d8/b4/2ba23606a3b4a00f062d158dcd25be89408dc10b5f6e57f8b4c6daa88e54/deasync-0.1.0-py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "35e04779f266f87b01acd7fcbc0de522", "sha256": "a28af1e8f2f6da02f1e0dca94ec7489c38a6f62980514ae2f15be8218adc9c2b" }, "downloads": -1, "filename": "deasync-1.0.0-py3-none-any.whl", "has_sig": true, "md5_digest": "35e04779f266f87b01acd7fcbc0de522", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3496, "upload_time": "2017-01-18T14:57:14", "url": "https://files.pythonhosted.org/packages/46/c9/56833dbad0a5ced7f09c10d173813e812e4b892f1a7dcb5a0f9ed59d6931/deasync-1.0.0-py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "abcb6f3f9b00d6216d0bc09bd59f2174", "sha256": "dd747220f656fdcd0ca60b042cb82883257f7dc8393eabf37fdcf380630c132f" }, "downloads": -1, "filename": "deasync-1.0.1-py3-none-any.whl", "has_sig": true, "md5_digest": "abcb6f3f9b00d6216d0bc09bd59f2174", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3503, "upload_time": "2017-01-18T15:32:24", "url": "https://files.pythonhosted.org/packages/a8/f1/2649dbacefa57f6485079e6139306aa4e838a83c465e8f13a1ec31900c6c/deasync-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54e5997f94fe97797e9b86179236108d", "sha256": "f2fb7b986b478ad86dccac21d97c7a6f5faaf6547f5db7436fb43d82bbd64d24" }, "downloads": -1, "filename": "deasync-1.0.1.zip", "has_sig": true, "md5_digest": "54e5997f94fe97797e9b86179236108d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4207, "upload_time": "2017-01-24T15:24:44", "url": "https://files.pythonhosted.org/packages/12/3d/31fe5bc237f57f42657a3c3e319c90f1d4f391ca681f04e61ada4ea898ec/deasync-1.0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "abcb6f3f9b00d6216d0bc09bd59f2174", "sha256": "dd747220f656fdcd0ca60b042cb82883257f7dc8393eabf37fdcf380630c132f" }, "downloads": -1, "filename": "deasync-1.0.1-py3-none-any.whl", "has_sig": true, "md5_digest": "abcb6f3f9b00d6216d0bc09bd59f2174", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3503, "upload_time": "2017-01-18T15:32:24", "url": "https://files.pythonhosted.org/packages/a8/f1/2649dbacefa57f6485079e6139306aa4e838a83c465e8f13a1ec31900c6c/deasync-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54e5997f94fe97797e9b86179236108d", "sha256": "f2fb7b986b478ad86dccac21d97c7a6f5faaf6547f5db7436fb43d82bbd64d24" }, "downloads": -1, "filename": "deasync-1.0.1.zip", "has_sig": true, "md5_digest": "54e5997f94fe97797e9b86179236108d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4207, "upload_time": "2017-01-24T15:24:44", "url": "https://files.pythonhosted.org/packages/12/3d/31fe5bc237f57f42657a3c3e319c90f1d4f391ca681f04e61ada4ea898ec/deasync-1.0.1.zip" } ] }