Skip to main content
drawing

aiopen

Wheel Version py_versions Ruff

Install: pip install aiopen

Breaking change (v0.9.0): the aiopen module is no longer callable. Replace import aiopen; aiopen(...) with from aiopen import aiopen; aiopen(...).

Async-open

Why not use aiofiles?

  • Wanted more type annotations
  • aiofiles uses ye ole @coroutine decorator -- aiopen uses python3.6+ async/await

(Big shouts out to the aiofiles people, aiopen is entirely based off of aiofiles)

Usage:

Just import it!

from aiopen import aiopen

async with aiopen("afile.txt", "w") as f:
    await f.write("some text!")

async with aiopen("afile.txt", "r") as f:
    content = await f.read()
    print(content)

Metadata

Release files for aiopen 0.9.0

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

Source distribution (sdist)

Source distribution for aiopen 0.9.0
File Size Uploaded Provenance Actions
aiopen-0.9.0.tar.gz 6.3 kB Without provenance Details for aiopen-0.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 13.2 kB

Release files / aiopen-0.9.0.tar.gz

Download URL aiopen-0.9.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ab1bd5f4aa0e6ed892afd77f5474159dcf74a493a9e97abcfd536816948fccdd
BLAKE2b-256 checksum
How to use checksums
75bc7a58198b8cf84df368d02403b795ccd21ca6f0955df9b24853079ba71dbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / aiopen-0.9.0-py3-none-any.whl

Download URL aiopen-0.9.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cd9bb8c066b26d649606acf7ab9dc36660c9ab322ba1fcbc9241d2dcb071e26
BLAKE2b-256 checksum
How to use checksums
555564ef7837a5443131d132fd11f194a6160972353dde1b821e62a58c655aa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for aiopen 0.9.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.

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