Skip to content

wring

A tool to compress data files.

Wring can compress csv files into parquet to save substantial disk space and improve data read speed. It can also convert OMX files to use blosc2:zstd data compression, and reduce floating point arrays from 64 bit to 32 bit.

Wring is available as wring on PyPI:

pip install wring[omx]

If you don't need OMX support, you can install without the optional dependencies:

pip install wring

Wring is primarily a command line tool. For example, to crawl the current directory and compress csv files into parquet, use:

wring csv

Or to convert OMX files to use blosc2:zstd data compression and reduce floating point arrays from 64 bit to 32 bit, use:

wring omx

For an overview of options, see Usage.


Last update: 2024-04-26
Created: 2024-04-26