Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Blosc/python-caterva

Repository files navigation

Build Status Coverage Documentation Status Binder

cat4py

Python wrapper for Caterva. Still on development.

Clone repo and submodules

$ git clone --recurse-submodules https://github.com/Blosc/cat4py

Development workflow

Install requirements

pip install -r requirements.txt

Compile

$ python setup.py build_ext --build-type=RelWithDebInfo

Run tests

$ PYTHONPATH=. pytest

Run bench

$ PYTHONPATH=. python bench/compare_getslice.py

Installing

$ CFLAGS='' pip install cat4py

We don't produce wheels yet, so you will currently need a C compiler in order to install cat4py. The reason why you need the CFLAGS='' above is to prevent Anaconda Python injecting their own paths for dependencies (LZ4, Zstd...).