devel/py-aiofiles 23.2.1_1 MidnightBSD
File support for asyncio
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0
- Categories
- devel, python
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
The newest version among them is 25.1.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-aiofiles | 23.2.1_1 | no data | - | [email protected] | - |
| FreeBSD | devel/py-aiofiles | 25.1.0 newest | none known | - | [email protected] | 2026-08-19 |
| NetBSD | devel/py-aiofiles | 25.1.0 newest | none known | - | [email protected] | - |
| DragonFly | devel/py-aiofiles | 23.2.1 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-aiofiles | 25.1.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-aiofiles | 25.1.0 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}aiofiles
From mports:
cd /usr/mports/devel/py-aiofiles && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiofiles>0:devel/py-aiofiles
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Build dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| aiofiles-23.2.1.tar.gz | 32072 | 84ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a |
Master sites 1
- PYPI