devel/py-aiofiles 23.2.1 DragonFly
File support for asyncio
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- devel, python
- Package size
- 23.3 KiB, 134.0 KiB installed
Description
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
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-aiofiles | 23.2.1 |
| FreeBSD | devel/py-aiofiles | 25.1.0 |
| NetBSD | devel/py-aiofiles | 25.1.0 |
| MidnightBSD | devel/py-aiofiles | 23.2.1_1 |
| HardenedBSD | devel/py-aiofiles | 25.1.0 |
| GhostBSD | devel/py-aiofiles | 25.1.0 |
Install
Binary package:
pkg install py311-aiofiles
From DPorts:
cd /usr/dports/devel/py-aiofiles && make install clean