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.2.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pickle-blosc-0.1.2.tar.gz.
File metadata
- Download URL: pickle-blosc-0.1.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81bbf3d85bbb9cd009dc8865bba3bbffec9add3e6de178b9ca8345b600684729
|
|
| MD5 |
68a0a38a8fc5f573337e5f00777e32c8
|
|
| BLAKE2b-256 |
3dabcf6860928c7082c98ee4b6ae2d4f5d9476ab85e6aaeaab38f1bb24b73ac2
|
File details
Details for the file pickle_blosc-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pickle_blosc-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85df6dfa94fe638eec0e4d18b594e36ea3666e1216c78f3d28ce8024c75d3915
|
|
| MD5 |
bb6bd88463c1c4496efbaceed52bd4c9
|
|
| BLAKE2b-256 |
422260633c66dfdca92b24adc82a46a27db3ca5f9a48e69c1e3ef6629a019197
|