Skip to main content

Read and write Pickle files using Blosc compression

Project description

pickle-blosc

Travis AppVeyor

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

License

This project is licensed under the MIT License - see the LICENSE file for details

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

pickle-blosc-0.1.2.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

pickle_blosc-0.1.2-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page