https://github.com/limix/pickle-blosc
Read and write Pickle files using Blosc compression.
https://github.com/limix/pickle-blosc
Last synced: 3 months ago
JSON representation
Read and write Pickle files using Blosc compression.
- Host: GitHub
- URL: https://github.com/limix/pickle-blosc
- Owner: limix
- License: mit
- Created: 2017-02-14T15:56:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-31T21:19:49.000Z (about 7 years ago)
- Last Synced: 2025-09-30T18:56:33.908Z (8 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# pickle-blosc
[](https://travis-ci.com/limix/pickle-blosc) [](https://ci.appveyor.com/project/Horta/pickle-blosc)
Read and write Pickle files using Blosc compression.
## Install
From terminal, enter
```
pip install pickle-blosc
```
## Usage
```python
>>> 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](http://docs.pytest.org/en/latest/).
## Authors
* **Danilo Horta** - [https://github.com/Horta](https://github.com/Horta)
## License
This project is licensed under the MIT License - see the
[LICENSE](LICENSE) file for details