Lossless compression for tabular data
Polypress compresses CSV and other delimited text, JSON, and Stata, SPSS and SAS files, and restores them without loss. Parquet files are supported through a separate converter.
pip install polypressVersion 1.0.0, released 12 October 2026. Page last updated 12 October 2026.
Benchmark results
Polypress 1.0.0 was evaluated on 1,000 public tables from the Socrata open-data catalogue and compared with 22 configurations of 11 other compressors and file formats.
xz -9eThe compression ratio is the size of the CSV file divided by the size of the archive. Full benchmark results
Usage
# creates baby_names.csv.ppz
polypress compress baby_names.csv
# restores baby_names.csv
polypress restore baby_names.csv.ppz
By default, Polypress verifies each archive before writing it by decompressing it in memory and comparing every cell with the input. See Getting started.
Citation and licence
Polypress is released under the MIT licence. To cite it in published work, see Citing Polypress.