Skip to main content

Tools for indexing gzip files to support random-like access.

Project description

Tools for indexing gzip files to support random-like access.


To install library, run the following coomand:

$ python install


$ make test
$ make lint

Indexing a file

Indexing a file from stdin:

$ cat profiles.json.gz | gzipi index --format json --field id > index.json.gz

Indexing a local file:

$ cat -i profiles.json.gz -o index.json.gz --format csv --column 0 --delimiter ','

Retrieving data

Retrieving all data for specific domains:

$ zcat domains.json.gz | gzipi retrieve -f profiles.json.gz -i index.json.gz --format json > data.json --field domain

Using local and S3 paths:

$ gzipi retrieve -k domains.json.gz -f s3://domain-data/reports/Q1.json.gz -i index.json.gz --format json -o data.json --field domain

Repacking existing archives

$ gzipi repack -f profiles.json.gz -i new_index.json.gz -o new_profiles.json.gz --format json --field domain


To get more information, run the following command:

$ gzipi --help

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gzipi, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size gzipi-0.1.3.tar.gz (12.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page