Read and write Pickle files using Blosc compression
Project description
pickle-blosc
Read and write Pickle files using Blosc compression.
Install
From terminal, enter
pip install pickle-blosc
Usage
>>> from pickle_blosc import pickle, unpickle
>>>
>>> class A(object):
>>> def __init__(self, value):
>>> self.value = value
>>>
>>> pickle(A(10), "filename.pkl")
>>> a = unpickle("filename.pkl")
>>> print(a.value)
10
Running the tests
After installation, you can test it
python -c "import pickle_blosc; pickle_blosc.test()"
as long as you have pytest.
Authors
- Danilo Horta - https://github.com/Horta
License
This project is licensed under the MIT License - see the LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pickle-blosc-0.1.0.tar.gz
(4.3 kB
view hashes)