Skip to main content

Standard pickle, wrapped with standard compression libraries

Project description

compress_pickle

Standard python pickle, thinly wrapped with standard compression libraries

Code style: black Build Status Coverage Status PyPI License: MIT

The standard pickle package provides an excellent default tool for serializing arbitrary python objects and storing them to disk. Standard python also includes broad set of data compression packages. compress_pickle provides an interface to the standard pickle.dump, pickle.load, pickle.dumps and pickle.loads functions, but wraps them in order to direct the serialized data through one of the standard compression packages. This way you can seemlessly serialize data to disk or to any file-like object in a compressed way.

compress_pickle supports python >= 3.6. If you must support python 3.5, install compress_pickle==v1.1.1.

Supported compression protocols:

Furthermore, compress_pickle supports the lz4 compression protocol, that isn't part of the standard python compression packages. This is provided as an optional extra requirement that can be installed as:

pip install compress_pickle[lz4]

Please refer to the package's documentation for more information

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

compress_pickle-2.1.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

compress_pickle-2.1.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file compress_pickle-2.1.0.tar.gz.

File metadata

  • Download URL: compress_pickle-2.1.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5

File hashes

Hashes for compress_pickle-2.1.0.tar.gz
Algorithm Hash digest
SHA256 3e944ce0eeab5b6331324d62351c957d41c9327c8417d439843e88fe69b77991
MD5 2e8af32bce3a6623a0df18038ab07c28
BLAKE2b-256 c823a448abd4e98b64ad5b99537a2b4df3f6a829e6fac749afbaf921f89c0941

See more details on using hashes here.

File details

Details for the file compress_pickle-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: compress_pickle-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5

File hashes

Hashes for compress_pickle-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 598650da4686d9bd97bee185b61e74d7fe1872bb0c23909d5ed2d8793b4a8818
MD5 0354e99efe20861fa6804cb7ee17880d
BLAKE2b-256 f34ff94ac1b84d2169cf2ebf64353ce98fd743f85d30678059c514d9b3d6644c

See more details on using hashes here.

Supported by

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