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-1.2.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

compress_pickle-1.2.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: compress_pickle-1.2.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for compress_pickle-1.2.0.tar.gz
Algorithm Hash digest
SHA256 44fd1aa3420e0a6de75e61c7bd72eddc159e0a2a7dc68a385be03f40d7f27509
MD5 425b14735fd91bcb019c0a1aad7e4443
BLAKE2b-256 b1f7bcdcd9811991e2855bec8b147309c1a86cc56565383b8127275574e25fbc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: compress_pickle-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for compress_pickle-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6672c99c5bcdc5e587fa4a4f7dbd0e42e2d04638fc8e69298800b9a837f88a1
MD5 8cb02af8e99bf790cae696d91cc22be9
BLAKE2b-256 75171bca1d55fa568d1037c21a6330a58be1b330b3e53e04be61ec93b5c11730

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