Name | awaitlet JSON |
Version |
0.0.1
JSON |
| download |
home_page | None |
Summary | Allow non-async defs that invoke awaitables inside of asyncio applications |
upload_time | 2024-06-25 21:59:17 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | Copyright 2024 Michael Bayer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
asyncio
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
========
awaitlet
========
Allow non-async defs that invoke awaitables inside of asyncio applications.
awaitlet allows existing programs written to use threads and blocking
APIs to be ported to asyncio, by replacing frontend and backend code with
asyncio compatible approaches, but allowing intermediary code to remain
completely unchanged. Its primary use is to support code that is cross-compatible
with asyncio and non-asyncio runtime environments.
awaitlet is intentionally fully compatible with SQLAlchemy's asyncio mediation
layer, and includes API patterns for:
* Converting any threaded program (no SQLAlchemy dependency necessary) to use
asyncio patterns for front facing APIs and backends, without modifying
intermediary code
* Converting threaded database-enabled programs to use asyncio patterns for
front facing APIs and backends, where those backends use SQLAlchemy's asyncio
API for database access
* Converting threaded database-enabled programs to use asyncio patterns for
front facing APIs and backends, without modifying intermediary code that uses
SQLAlchemy's synchronous API for database access
Documentation for awaitlet is within this source distribution and availble on
the web at https://awaitlet.sqlalchemy.org .
Raw data
{
"_id": null,
"home_page": null,
"name": "awaitlet",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "asyncio",
"author": null,
"author_email": "Mike Bayer <mike_mp@zzzcomputing.com>",
"download_url": "https://files.pythonhosted.org/packages/24/d2/91d66766252299a2e6649956dc9dfdf9eab85364155885e51e7a37fdb9df/awaitlet-0.0.1.tar.gz",
"platform": null,
"description": "========\nawaitlet\n========\n\nAllow non-async defs that invoke awaitables inside of asyncio applications.\n\nawaitlet allows existing programs written to use threads and blocking\nAPIs to be ported to asyncio, by replacing frontend and backend code with\nasyncio compatible approaches, but allowing intermediary code to remain\ncompletely unchanged. Its primary use is to support code that is cross-compatible\nwith asyncio and non-asyncio runtime environments.\n\nawaitlet is intentionally fully compatible with SQLAlchemy's asyncio mediation\nlayer, and includes API patterns for:\n\n* Converting any threaded program (no SQLAlchemy dependency necessary) to use\n asyncio patterns for front facing APIs and backends, without modifying\n intermediary code\n* Converting threaded database-enabled programs to use asyncio patterns for\n front facing APIs and backends, where those backends use SQLAlchemy's asyncio\n API for database access\n* Converting threaded database-enabled programs to use asyncio patterns for\n front facing APIs and backends, without modifying intermediary code that uses\n SQLAlchemy's synchronous API for database access\n\nDocumentation for awaitlet is within this source distribution and availble on\nthe web at https://awaitlet.sqlalchemy.org .\n\n",
"bugtrack_url": null,
"license": "Copyright 2024 Michael Bayer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Allow non-async defs that invoke awaitables inside of asyncio applications",
"version": "0.0.1",
"project_urls": {
"Documentation": "https://awaitlet.sqlalchemy.org",
"Homepage": "https://github.com/sqlalchemy/awaitlet"
},
"split_keywords": [
"asyncio"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "66ea81aae1976035a7627d99c9a85b44885b95fe7a557c0db3e463ccd42a7a76",
"md5": "8a8ce4dc54eac7633280df2f82f008b6",
"sha256": "255b1c086f2fbfef2d8d88b66acae8636418d38bcfe93a897ccd8234a7b8bf6d"
},
"downloads": -1,
"filename": "awaitlet-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8a8ce4dc54eac7633280df2f82f008b6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 82510,
"upload_time": "2024-06-25T21:59:19",
"upload_time_iso_8601": "2024-06-25T21:59:19.885084Z",
"url": "https://files.pythonhosted.org/packages/66/ea/81aae1976035a7627d99c9a85b44885b95fe7a557c0db3e463ccd42a7a76/awaitlet-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "24d291d66766252299a2e6649956dc9dfdf9eab85364155885e51e7a37fdb9df",
"md5": "a74f83bdd755404a40809b6f091a02c9",
"sha256": "d98c8b821f595284f9327d45067995ccbee0d99993f0d0b935b23ac8ecf58334"
},
"downloads": -1,
"filename": "awaitlet-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "a74f83bdd755404a40809b6f091a02c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 67225,
"upload_time": "2024-06-25T21:59:17",
"upload_time_iso_8601": "2024-06-25T21:59:17.991623Z",
"url": "https://files.pythonhosted.org/packages/24/d2/91d66766252299a2e6649956dc9dfdf9eab85364155885e51e7a37fdb9df/awaitlet-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-25 21:59:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sqlalchemy",
"github_project": "awaitlet",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "awaitlet"
}