FreeBSD Ports

devel/py-aiofiles 25.1.0

File support for asyncio

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
b17aa2a5b9
License
APACHE20
Categories
devel, python
Package size
24.0 KiB, 118.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

Install

As a binary package — by origin, or by package name:

pkg install devel/py-aiofiles
pkg install py312-aiofiles

From the ports tree:

cd /usr/ports/devel/py-aiofiles/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-aiofiles>0:devel/py-aiofiles

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest25.1.025.1.00.8.023.2.125.1.0
FreeBSD:14:quarterly25.1.025.1.0n/a23.2.125.1.0
FreeBSD:15:latest25.1.025.1.0n/a23.2.123.2.1
FreeBSD:15:quarterly25.1.025.1.0n/an/an/a
FreeBSD:16:latest25.1.025.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

All build dependencies 22
All run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
aiofiles-25.1.0.tar.gz46354a8d728f0a29de45dc521f18f07297428d56992a742f0cd2701ba86e44d23d5b2
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
b17aa2a5b9 Po-Chuan Hsieh devel/py-aiofiles: Update to 25.1.0
Changes: https://github.com/Tinche/aiofiles/releases