aboutsummaryrefslogtreecommitdiff
path: root/devel/py-aiofiles/pkg-descr
blob: 7a4bb72065e73bd534c9950f7d8bfdf81d00e68b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
aiofiles is an Apache2 licensed library, written in Python, for handling local
disk files in asyncio applications.

Ordinary local file IO is blocking, and cannot easily and portably made
asynchronous. This means doing file IO may interfere with asyncio applications,
which shouldn't block the executing thread. aiofiles helps with this by
introducing asynchronous versions of files that support delegating operations to
a separate thread pool.

Features:
- a file API very similar to Python's standard, blocking API
- support for buffered and unbuffered binary files, and buffered text files
- support for async/await (PEP 492) constructs