Standard pickle, wrapped with standard compression libraries
Project description
compress_pickle
Standard python pickle, thinly wrapped with standard compression libraries
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
Built Distribution
File details
Details for the file compress_pickle-2.0.0.tar.gz
.
File metadata
- Download URL: compress_pickle-2.0.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ece22d1e04cd57a48fd7908dbda292f6cf0e759436d8e7ebdb2c78f2650e464c |
|
MD5 | 9aeb9a3c6350b30b928d5a48f2bca24e |
|
BLAKE2b-256 | f917fb3865cbd57acdd4ba8f43978ef42642520e1ff6bb0cc1edcc21dcf37218 |
File details
Details for the file compress_pickle-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: compress_pickle-2.0.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d54c743b018e5f28e1a45bbe647b072006d2102f9842d06768eab8fd9d01b04 |
|
MD5 | ae5e98d3644351189aec8937087a6784 |
|
BLAKE2b-256 | 5411bb99343fcc20404eff9eee0f6c94129996ec88747569241b4aacca3b7aef |