Tinche/aiofiles
File support for asyncio observed · 2026-08-28
Health v2 · maintenance only
71/100
- Activity 99
- Release rhythm 19
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4175
- days_rel: 328
- days_push: 7
- n_releases_24m: 1
Adoption not part of the score
3255 stars · 167 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
aiofiles is an Apache-2.0 licensed Python library providing asynchronous file I/O for asyncio applications by delegating blocking file operations to a thread pool. It mirrors the standard Python file API with async/await support, including async tempfile and os interfaces.
Use cases
- read and write files without blocking an asyncio event loop
- asynchronously iterate over lines in a file
- use tempfile in async Python code
- async access to stdin/stdout/stderr
- port blocking file IO code to asyncio
When to choose
- you have an asyncio application doing local disk file IO
- you want an API identical to Python's built-in open but awaitable
- you need async tempfile or os.path operations
When to avoid
- you need true non-blocking OS-level async IO rather than thread-pool delegation
- your application is not asyncio-based
- you need async network or remote file system access
Facets
library · maturity stable
file-system concurrency developer-tools developer-tools backend python cross-platform asyncio async-file-io thread-pool tempfile automation
2 sources
- readme: https://github.com/Tinche/aiofiles · fetched 2026-08-28 · 3dd5123673c5
- registry_pypi: https://pypi.org/pypi/aiofiles/json · fetched 2026-08-29 · 8b0195c0cbb4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Tinche/aiofiles | main | 71 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem