Skip to main content

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 .

Metadata

Release files for awaitlet 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awaitlet 0.0.1
File Size Uploaded
awaitlet-0.0.1.tar.gz 67.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awaitlet 0.0.1
File Interpreter ABI Platform
awaitlet-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 149.7 kB

Release files / awaitlet-0.0.1.tar.gz

Download URL awaitlet-0.0.1.tar.gz
Size 67.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d98c8b821f595284f9327d45067995ccbee0d99993f0d0b935b23ac8ecf58334
BLAKE2b-256 checksum
How to use checksums
24d291d66766252299a2e6649956dc9dfdf9eab85364155885e51e7a37fdb9df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / awaitlet-0.0.1-py3-none-any.whl

Download URL awaitlet-0.0.1-py3-none-any.whl
Size 82.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
255b1c086f2fbfef2d8d88b66acae8636418d38bcfe93a897ccd8234a7b8bf6d
BLAKE2b-256 checksum
How to use checksums
66ea81aae1976035a7627d99c9a85b44885b95fe7a557c0db3e463ccd42a7a76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page