aiofiles is a library for using Python’s file I/O in an asynchronous (async/await) style. It’s useful if you want to work with files without blocking the event loop in async applications.
Project status
- Actively maintained? Partially. The latest upstream push and library updates are from 2025-10-09, which is within about 8 months of today (2026-06-09), but the prior update (v24.1.0) was 2024-06-24, suggesting maintenance is sporadic rather than steady.
- Update cadence: There is a long gap between v24.1.0 (2024-06-24) and v25.1.0 (2025-10-09), roughly 16 months, while earlier changes happened in 2023. Overall, the pattern looks intermittent.
AI summary generated 2026-06-09
Recent updates
v25.1.0
2025-10-09This release is mainly a maintenance and tooling update. It adds Python 3.14 support, drops Python 3.8, and moves the repository to uv and ruff-based workflows, while the library code itself is mostly refactored internally.
BreakingFeaturesv24.1.0
2024-06-24aiofiles 24.1.0 focuses on async API modernization and platform compatibility. It adds new async path helpers, fixes platform-specific import and export issues in `aiofiles.os`, updates the test and packaging setup for Python 3.13, and drops Python 3.7 support.
BreakingFeaturesv23.2.1
2023-08-11This patch release fixes an import-time failure on platforms without os.statvfs by defining aiofiles.os.statvfs only when the standard library supports it. It also expands CI to run on Windows and adjusts tests for known Windows-specific filesystem limitations.
v23.2.0
2023-08-09This release adds Python 3.12 coverage, including aligning aiofiles.tempfile.NamedTemporaryFile behavior with the Python stdlib. It also introduces two new os-related helpers (statvfs, ismount) and updates the project tooling to use PDM instead of Poetry. Most user-visible behavior changes concern NamedTemporaryFile attribute exposure on Python 3.12.
BreakingFeatures