Tinche/aiofiles

File support for asyncio

View on GitHub ↗Jump to charts ↓Open shareable report →

Tinche/aiofiles has 3k+ stars and 150+ forks on GitHub, is written in Python, and was last pushed on Oct 15, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 21st, 2026
Created on March 29th, 2015
Open Issues & Pull Requests: 68 (+0)
GitHub issues: Enabled
Number of forks: 182
Total Stargazers: 3,268 (+0)
Total Subscribers: 35 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 23.8 hours
Mean response time: 231.5 days
90th percentile: 732.5 days
Tracked items: 26

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 8
New in 7 days: 1
Closed in 7 days: 2
Avg open age: 1,385 days
Stale 30+ days: 7
Stale 90+ days: 6

Recent activity

Opened in 7 days: 1
Closed in 7 days: 2
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

aiofiles is a Python library that provides file support for asyncio applications.

Ordinary local file IO is blocking and cannot be made asynchronous without difficulty, which means file operations can interfere with asyncio applications by blocking the executing thread. aiofiles solves this by wrapping the standard file API and delegating blocking operations to a separate thread pool executor, allowing them to be awaited as coroutines. The library mirrors Python's standard blocking file interface closely, supporting buffered and unbuffered binary files as well as buffered text files, and includes async iteration support.

The tool suits any asyncio application that needs to perform local disk file operations without blocking the event loop. Its API is nearly identical to Python's built-in open function, making adoption straightforward for developers already familiar with standard file handling. Beyond basic file operations, aiofiles provides async wrappers for the tempfile module and an os submodule containing executor-enabled coroutine versions of filesystem operations like stat, rename, mkdir, listdir, and path checks. For testing, the library allows mocking by patching the underlying sync_open function.

The project maintains a stable, focused codebase with contributions welcomed and tested through tox. Development activity shows consistent attention to test coverage maintenance as a requirement for pull requests.