Skip to main content

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

Release files for compress-pickle 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for compress-pickle 2.1.0
File Size Uploaded
compress_pickle-2.1.0.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for compress-pickle 2.1.0
File Interpreter ABI Platform
compress_pickle-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size:41.1 kB

Release files / compress_pickle-2.1.0.tar.gz

Download URL compress_pickle-2.1.0.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3e944ce0eeab5b6331324d62351c957d41c9327c8417d439843e88fe69b77991
BLAKE2b-256 checksum
How to use checksums
c823a448abd4e98b64ad5b99537a2b4df3f6a829e6fac749afbaf921f89c0941
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / compress_pickle-2.1.0-py3-none-any.whl

Download URL compress_pickle-2.1.0-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
598650da4686d9bd97bee185b61e74d7fe1872bb0c23909d5ed2d8793b4a8818
BLAKE2b-256 checksum
How to use checksums
f34ff94ac1b84d2169cf2ebf64353ce98fd743f85d30678059c514d9b3d6644c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page