devel/py-aiofile 3.12.3
Asynchronous file operations
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
0aa89755c7- License
- APACHE20
- Categories
- devel, python
- Package size
- 33.1 KiB, 153.6 KiB installed
Description
Real asynchronous file operations with asyncio support.
Features: * Since version 2.0.0 using caio, which contains linux libaio and two thread-based implementations (c-based and pure-python). * AIOFile has no internal pointer. You should pass offset and chunk_size for each operation or use helpers (Reader or Writer). The simplest way is to use async_open for creating object with file-like interface. * For Linux using implementation based on libaio. * For POSIX (MacOS X and optional Linux) using implementation based on threadpool. * Otherwise using pure-python thread-based implementation. * Implementation chooses automatically depending on system compatibility.
Install
As a binary package — by origin, or by package name:
pkg install devel/py-aiofile
pkg install py312-aiofile
From the ports tree:
cd /usr/ports/devel/py-aiofile/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-aiofile>0:devel/py-aiofile
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.12.3 | 3.12.3 | - | - | 3.12.3 |
| FreeBSD:14:quarterly | 3.12.3 | 3.12.3 | n/a | - | 3.12.3 |
| FreeBSD:15:latest | 3.12.3 | 3.12.3 | n/a | - | - |
| FreeBSD:15:quarterly | 3.12.3 | 3.12.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.12.3 | 3.12.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Runtime 1
${PYTHON_PKGNAMEPREFIX}caio>=0.12.0: devel/py-caio
The full lists below include those, and their dependencies in turn.
All build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
All run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| aiofile-3.12.3.tar.gz | 21600 | caa6aa746b5e47e2165f7abd741b6415e49cf4d44fddc0f61844612cc3924d41 |
Master sites 1
- PYPI