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.1.tar.gz
.
File metadata
- Download URL: compress_pickle-2.0.1.tar.gz
- Upload date:
- Size: 15.5 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 | 0fef15391e8dfdb0ea519a052dc6dd75e09766086b619474b99fd86b8016197c |
|
MD5 | 2c5eea19dec4022705bddb30fb369d81 |
|
BLAKE2b-256 | 77ee6f231c029f9468d586ee5f3dc61026ff0061fb6025bc827742d6fdd9fe6d |
File details
Details for the file compress_pickle-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: compress_pickle-2.0.1-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 | e7b8c46afe04911d0474973e5f7321daf93eb20cac276976e54935079908e3d6 |
|
MD5 | 9669e01ebe5eb886d7b346874cab66e8 |
|
BLAKE2b-256 | 1dcd5f949f8b661e901577fc826941f10c9b0f3c00b9be0e26f0b6739ddbbbcd |