bfiocpp 0.5.0


pip install bfiocpp

  Latest version

Released: Nov 19, 2026

Project Links

Meta
Author: Sameeul Bashir Samee
Requires Python: >=3.8

Classifiers

This is the new backend for bfio, using Tensorstore and other high-throughput IO library

Build Requirements

bfiocpp uses Tensorstore for reading and writing OME Tiff and OME Zarr files. So Tensorstore build requirements are needed to be satisfied for bfiocpp also. For Linux, these are the requirements:

  • GCC 10 or later
  • Clang 8 or later
  • Python 3.8 or later
  • CMake 3.24 or later
  • Perl, for building libaom from source (default). Must be in PATH. Not required if -DTENSORSTORE_USE_SYSTEM_LIBAOM=ON is specified.
  • NASM, for building libjpeg-turbo, libaom, and dav1d from source (default). Must be in PATH.Not required if -DTENSORSTORE_USE_SYSTEM_{JPEG,LIBAOM,DAV1D}=ON is specified.
  • GNU Patch or equivalent. Must be in PATH.

Since Tensorstore requires MACOSX_DEPLOYMENT_TARGET to be 10.14 or higher (to support sized/aligned operator new/delete.), bfiocpp needs the same.

Building and Installing

Here is an example of building and installing bfiocpp in a Python virtual environment.

python -m venv build_venv
source build_venv/bin/activate
git clone https://github.com/PolusAI/bfiocpp.git 
cd bfiocpp
mkdir build_deps
cd build_deps
../ci-utils/install_prereq_linux.sh
cd ..
export BFIOCPP_DEP_DIR=./build_deps/local_install
python setup.py install -vv

Wheel compatibility matrix

Platform CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14 CPython 3.15
macosx_11_0_arm64
macosx_11_0_x86_64
manylinux_2_27_x86_64
manylinux_2_28_x86_64
win_amd64

Files in release

bfiocpp-0.5.0-cp310-cp310-macosx_11_0_arm64.whl (12.5MiB)
bfiocpp-0.5.0-cp310-cp310-macosx_11_0_x86_64.whl (15.2MiB)
bfiocpp-0.5.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (20.0MiB)
bfiocpp-0.5.0-cp310-cp310-win_amd64.whl (15.4MiB)
bfiocpp-0.5.0-cp311-cp311-macosx_11_0_arm64.whl (12.5MiB)
bfiocpp-0.5.0-cp311-cp311-macosx_11_0_x86_64.whl (15.2MiB)
bfiocpp-0.5.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (20.0MiB)
bfiocpp-0.5.0-cp311-cp311-win_amd64.whl (15.4MiB)
bfiocpp-0.5.0-cp312-cp312-macosx_11_0_arm64.whl (12.5MiB)
bfiocpp-0.5.0-cp312-cp312-macosx_11_0_x86_64.whl (15.2MiB)
bfiocpp-0.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (20.0MiB)
bfiocpp-0.5.0-cp312-cp312-win_amd64.whl (15.4MiB)
bfiocpp-0.5.0-cp313-cp313-macosx_11_0_arm64.whl (12.5MiB)
bfiocpp-0.5.0-cp313-cp313-macosx_11_0_x86_64.whl (15.2MiB)
bfiocpp-0.5.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (20.0MiB)
bfiocpp-0.5.0-cp313-cp313-win_amd64.whl (15.4MiB)
bfiocpp-0.5.0-cp314-cp314-macosx_11_0_arm64.whl (12.5MiB)
bfiocpp-0.5.0-cp314-cp314-macosx_11_0_x86_64.whl (15.2MiB)
bfiocpp-0.5.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (20.0MiB)
bfiocpp-0.5.0-cp314-cp314-win_amd64.whl (15.8MiB)
bfiocpp-0.5.0-cp315-cp315-macosx_11_0_arm64.whl (12.5MiB)
bfiocpp-0.5.0-cp315-cp315-macosx_11_0_x86_64.whl (15.2MiB)
bfiocpp-0.5.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (20.0MiB)
bfiocpp-0.5.0-cp315-cp315-win_amd64.whl (15.8MiB)
Extras: None
Dependencies:
numpy