Skip to content

Python wrapper of the KLB file format, a high-performance file format for up to 5-dimensional arrays

License

Notifications You must be signed in to change notification settings

stuarteberg/pyklb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyklb

Python wrapper of the KLB file format, a high-performance file format for up to 5-dimensional arrays. For more details, see https://bitbucket.org/fernandoamat/keller-lab-block-filetype

Build

Dependencies

  • NumPy
  • Cython
  • C compiler, see this link if compiling for Windows with MSVC
  • KLB main library, precompiled binaries (64-bit only) are available for Linux (>= Ubuntu LTS), Windows, and Mac, and will be automatically downloaded, if appropriate. Other platforms require building the main library separately from source. KLB's main library is self-contained and uses CMake. Afterwards, place the binary in ./build/lib/ (relative to the top level folder of this repository). On Windows, additionally place the klb.lib in the same folder.

The recommended build and installation method is via Wheels. If it isn't already installed, you have to add the wheel package by running pip install wheel. You can then build pyklb by executing python setup.py bdist_wheel from the top level folder of this repository. This should create a dist subfolder that contains the resulting wheel. To install, run pip install /path/to/wheel.whl. Conversely, you can uninstall pyklb using pip uninstall pyklb.

About

Python wrapper of the KLB file format, a high-performance file format for up to 5-dimensional arrays

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.7%
  • Shell 1.3%