Skip to main content

Data files

Parquet

pip install 'filerepack[parquet]' # or filerepack[data]
filerepack repack data.parquet
filerepack repack data.parquet --ultra # zstd level 22

SQLite and spatial containers

VACUUM on SQLite. .db still requires the SQLite format 3 header.

filerepack repack notes.sqlite
filerepack repack map.gpkg
filerepack repack tiles.mbtiles

Columnar and scientific

pip install 'filerepack[data]'
filerepack repack table.orc
filerepack repack events.avro
filerepack repack frame.feather

HDF5 and NetCDF need h5repack and nccopy:

filerepack repack model.h5
filerepack repack grid.nc

Fonts

pip install 'filerepack[fonts]'
filerepack repack icon.woff2

WOFF/WOFF2 also work via woff2_compress / woff2_decompress when fonttools is missing.

Compressed streams

gzip, xz, bz2, zst, brotli, lz4, lzip, lzma, lzo, and Unix .Z are recompressed with the matching CLI (pigz is preferred for gzip). If the payload is a tar, the tarball is walked first — see Archives.

filerepack repack dump.json.gz

See Formats and Installation extras.