BSD Ports

archivers/py-bitshuffle 0.5.2_2 FreeBSD

Bitshuffle filter for improving typed data compression

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
archivers, python

Description

Bitshuffle is an algorithm that rearranges typed, binary data for improving compression, as well as a python/C package that implements this algorithm within the Numpy framework.

The library can be used along side HDF5 to compress and decompress datasets and is integrated through the dynamically loaded filters framework. Bitshuffle is HDF5 filter number 32008.

Algorithmically, Bitshuffle is closely related to HDF5's Shuffle filter except it operates at the bit level instead of the byte level. Arranging a typed data array in to a matrix with the elements as the rows and the bits within the elements as the columns, Bitshuffle "transposes" the matrix, such that all the least-significant-bits are in a row, etc.

This does not in itself compress data, only rearranges it for more efficient compression. To perform the actual compression you will need a compression library. Bitshuffle has been designed to be well matched to Marc Lehmann's LZF as well as LZ4 and ZSTD. Note that because Bitshuffle modifies the data at the bit level, sophisticated entropy reducing compression libraries such as GZIP and BZIP are unlikely to achieve significantly better compression than simpler and faster duplicate-string-elimination algorithms such as LZF, LZ4 and ZSTD. Bitshuffle thus includes routines (and HDF5 filter options) to apply LZ4 and ZSTD compression to each block after shuffling.

In the other systems

SystemPortVersion
FreeBSDarchivers/py-bitshuffle0.5.2_2
DragonFlyarchivers/py-bitshuffle0.5.2
HardenedBSDarchivers/py-bitshuffle0.5.2_2
GhostBSDarchivers/py-bitshuffle0.5.2_2

Install

Binary package:

pkg install py312-bitshuffle

From the ports tree:

cd /usr/ports/archivers/py-bitshuffle/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-bitshuffle>0:archivers/py-bitshuffle

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.5.2_2--0.5.2_2
FreeBSD:14:quarterly-0.5.2_2n/a-0.5.2_2
FreeBSD:15:latest-0.5.2_2n/a-0.5.2
FreeBSD:15:quarterly-0.5.2_2n/an/an/a
FreeBSD:16:latest-0.5.2_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 28
Run dependencies 21

No port depends on this one.

Configuration

No options to configure.

USES
pkgconfig python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
bitshuffle-0.5.2.tar.gz290156dc0e3fb7bdbf42be1009cc3028744180600d625a75b31833a24aa32aeaf83d8d
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.