{ "info": { "author": "Daniel Lupu", "author_email": "dflupu@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# aiodecorators\nFunction decorators based on asyncio Lock, Semaphore and BoundedSemaphore\n\n## Install\n`pip3 install aiodecorators`\n\n## Usage\n\n[asyncio.Lock](https://docs.python.org/3/library/asyncio-sync.html#asyncio.Lock)\n```\nfrom aiodecorators import Lock\n\n@Lock\nasync def f():\n pass\n```\n\n[asyncio.Semaphore](https://docs.python.org/3/library/asyncio-sync.html#asyncio.Semaphore)\n```\nfrom aiodecorators import Semaphore\n\n@Semaphore(n)\nasync def f():\n pass\n```\n[asyncio.BoundedSemaphore](https://docs.python.org/3/library/asyncio-sync.html#asyncio.BoundedSemaphore)\n```\nfrom aiodecorators import BoundedSemaphore\n\n@BoundedSemaphore(n)\nasync def f():\n pass\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/dflupu/aiodecorators", "keywords": "asyncio aio lock semaphore boundedsemaphore decorator decorators synchronization", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "aiodecorators", "package_url": "https://pypi.org/project/aiodecorators/", "platform": "", "project_url": "https://pypi.org/project/aiodecorators/", "project_urls": { "Homepage": "http://github.com/dflupu/aiodecorators" }, "release_url": "https://pypi.org/project/aiodecorators/0.2/", "requires_dist": null, "requires_python": "", "summary": "Function decorators for asyncio synchronization primitives", "version": "0.2" }, "last_serial": 4773531, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3560294f5dd626f6ad8a4ed81a0be239", "sha256": "5fe400a026aed958b02d77e0773209609b69f481e11295ddc8d52ddde716a297" }, "downloads": -1, "filename": "aiodecorators-0.1.tar.gz", "has_sig": false, "md5_digest": "3560294f5dd626f6ad8a4ed81a0be239", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1331, "upload_time": "2019-02-02T23:34:37", "url": "https://files.pythonhosted.org/packages/52/26/5df3cd074e925bb96a07573682d7b4c4668e5883af2848487c7e6696f544/aiodecorators-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b534d51dfdbb1c1889503d857dfaa8cd", "sha256": "1af64672ea492fabd2afd5a31e5f19ad76d12a6c9f40f38f04b9ef96601c4198" }, "downloads": -1, "filename": "aiodecorators-0.2.tar.gz", "has_sig": false, "md5_digest": "b534d51dfdbb1c1889503d857dfaa8cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1544, "upload_time": "2019-02-02T23:42:22", "url": "https://files.pythonhosted.org/packages/c1/58/24beec84bb2bd46b7e1bf053c70720e5e00f264cd75621fb239685af5e60/aiodecorators-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b534d51dfdbb1c1889503d857dfaa8cd", "sha256": "1af64672ea492fabd2afd5a31e5f19ad76d12a6c9f40f38f04b9ef96601c4198" }, "downloads": -1, "filename": "aiodecorators-0.2.tar.gz", "has_sig": false, "md5_digest": "b534d51dfdbb1c1889503d857dfaa8cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1544, "upload_time": "2019-02-02T23:42:22", "url": "https://files.pythonhosted.org/packages/c1/58/24beec84bb2bd46b7e1bf053c70720e5e00f264cd75621fb239685af5e60/aiodecorators-0.2.tar.gz" } ] }