aiostdlib
Key Features
- Provides asynchronous version of the standard library;
- The same API as the Python 3.13 standard blocking API;
- Blocking IO is performed in a separate thread.
Getting Started
Installation
The library is available as aiostdlib on PyPI:
pip install aiostdlib
Usage
json
For more, see the documentation.
from aiostdlib import json
async def main() -> None:
with open("aiostdlib.json") as file:
data = await json.load(file)
os
For more, see the documentation.
import sys
from aiostdlib import os
async def main() -> None:
fd = sys.stdout.fileno()
detail = b"Hello, aiostdlib!"
await os.write(fd, detail)
os.path
For more, see the documentation.
from aiostdlib import os
async def main() -> None:
if await os.path.exists("./aiostdlib.txt"):
await os.unlink("./aiostdlib.txt")
tomllib
For more, see the documentation.
from aiostdlib import tomllib
async def main() -> None:
with open("aiostdlib.toml", mode="rb") as file:
data = await tomllib.load(file)
Environment
- If
AIOSTDLIB_CONCURRENT_WORKERSis a positive integer, then no more than the specified number of threads will be used to execute calls asynchronously. If zero, then threading is not used at all. Otherwise, a minimum of32andos.cpu_count() + 4is the limit.
License
MIT License, Copyright (c) 2025 Sergei Y. Bogdanov. See LICENSE file.
Metadata
Release files for aiostdlib 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiostdlib-0.2.0.tar.gz | 13.6 kB | Without provenance | Details for aiostdlib-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiostdlib-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for aiostdlib-0.2.0-py3-none-any.whl |
Total release size: 31.0 kB
Release files / aiostdlib-0.2.0.tar.gz
| Download URL | aiostdlib-0.2.0.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
628f406958b9571d7faae0f3780b88216b343221b182fde2a1c1b8bd67ef53b7
|
|
BLAKE2b-256 checksum How to use checksums |
a1285e8b9e4d73a649c8575db09b97186a0cd573e4b865d6266bb494a579c339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.11.0 Windows/10
|
Release files / aiostdlib-0.2.0-py3-none-any.whl
| Download URL | aiostdlib-0.2.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc2412529c08226384b9ccbc66621c1cc75ea5da114d828ac197c33c5176037c
|
|
BLAKE2b-256 checksum How to use checksums |
bff87c9f06436c2815d5262f6200c7974cf2d0749f6e65f9e360c4e98891be32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.11.0 Windows/10
|
Security for aiostdlib 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.