BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-aiofiles23.2.1_1no data-[email protected]-
FreeBSDdevel/py-aiofiles25.1.0 newestnone known-[email protected]2026-08-19
NetBSDdevel/py-aiofiles25.1.0 newestnone known-[email protected]-
DragonFlydevel/py-aiofiles23.2.1none known-[email protected]-
HardenedBSDdevel/py-aiofiles25.1.0 newestno data-[email protected]-
GhostBSDdevel/py-aiofiles25.1.0 newestno data-[email protected]-

Compare across BSDs

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

Build dependencies 1
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
aiofiles-23.2.1.tar.gz3207284ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a
Master sites 1
  • PYPI