Skip to main content

Tensorstore Based Backend for BFIO

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

bfiocpp-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

bfiocpp-0.2.1-cp311-cp311-macosx_11_0_arm64.whl (10.0 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

bfiocpp-0.2.1-cp311-cp311-macosx_10_15_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.11 macOS 10.15+ x86-64

bfiocpp-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bfiocpp-0.2.1-cp310-cp310-macosx_11_0_arm64.whl (10.0 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

bfiocpp-0.2.1-cp310-cp310-macosx_10_15_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.10 macOS 10.15+ x86-64

bfiocpp-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bfiocpp-0.2.1-cp39-cp39-macosx_11_0_arm64.whl (10.0 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

bfiocpp-0.2.1-cp39-cp39-macosx_10_15_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

bfiocpp-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

bfiocpp-0.2.1-cp38-cp38-macosx_10_15_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page