Skip to main content

ZS is a compressed, read-only file format for efficiently distributing, querying, and archiving arbitrarily large record-oriented datasets.

Project description

ZS is a simple, read-only, binary file format designed for distributing, querying, and archiving arbitrarily large record-oriented datasets (up to tens of terabytes and beyond). It allows the data to be stored in compressed form, while still supporting very fast queries for either specific entries, or for all entries in a specified range of values (e.g., prefix searches), and allows highly-CPU-parallel decompression. It also places an emphasis on data integrity – all data is protected by 64-bit CRC checksums – and on discoverability – every ZS file includes arbitrarily detailed structured metadata stored directly inside it.

Basically you can think of ZS as a turbo-charged replacement for storing data in line-based text file formats. It was originally developed to provide a better way to work with the massive Google N-grams, but is potentially useful for data sets of any size.

https://travis-ci.org/njsmith/zs.png?branch=master https://coveralls.io/repos/njsmith/zs/badge.png?branch=master
Documentation:

http://zs.readthedocs.org/

Install:

pip install zs (or, for traditionalists: python setup.py install)

Downloads:

http://pypi.python.org/pypi/zs/

Code and bug tracker:

https://github.com/njsmith/zs

Mailing list:
License:

2-clause BSD, see LICENSE.txt for details.

Dependencies:
  • Python 2.7, or Python 3.3+

  • Python packages:

    • six

    • requests

    • docopt

    • (Python 2 only) backports.lzma

Developer dependencies (only needed for hacking on source):
  • Cython: needed to build from checkout

  • nose: needed to run tests

  • nose-cov: needed to get useful test coverage information in the face of massive multiprocessing

  • nginx: needed to run HTTP tests

Project details


Download files

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

Source Distribution

zs-0.9.0.zip (422.6 kB view details)

Uploaded Source

File details

Details for the file zs-0.9.0.zip.

File metadata

  • Download URL: zs-0.9.0.zip
  • Upload date:
  • Size: 422.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zs-0.9.0.zip
Algorithm Hash digest
SHA256 ef5a3f002fd183708409f7251e05b3ba13ee40fb79f687a954d33b663361d7ea
MD5 4ee177ec4739084dfa0567c4ce2a7ea8
BLAKE2b-256 f81991d8267f032c65401059ff29e7080fe5526b6a134b54ab5e372934167af5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page