Compressed Pickler: kraut
Project description
kraut
pickle with built in compression with Python Standard Library bz2 with no dependencies. Useful for serializing massive Dict objects, CSV files or NetworkX graphs and many more.
Installation
pip install kraut
Usage
from kraut import write_compressed, read_compressed
my_huge_data_object = {...}
write_compressed("save/myobj.pkl.bz2", my_huge_data_object):
...
my_restored_object = read_compressed("save/myobj.pkl.bz2"):
assertEqual(my_huge_data_object, my_restored_object)
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
kraut-0.2.tar.gz
(13.7 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
kraut-0.2-py2.py3-none-any.whl
(13.1 kB
view details)
File details
Details for the file kraut-0.2.tar.gz.
File metadata
- Download URL: kraut-0.2.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa81cc91a55fe2baf29cf9db2f098f017e201e7d1c1becf9141acd2df343e768
|
|
| MD5 |
d759b78e693180afd0144715d9fbe1d9
|
|
| BLAKE2b-256 |
22b11f967c3c9fdf57d09fb2061d56db58a80e16ec509abc9b0896fd1f92d315
|
File details
Details for the file kraut-0.2-py2.py3-none-any.whl.
File metadata
- Download URL: kraut-0.2-py2.py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3305bc1ec805b3a29a5bfaeb0228d62a73f6e55fe57d56b7b7433c376f59302f
|
|
| MD5 |
9aae61505354935bfe6681e2713df141
|
|
| BLAKE2b-256 |
fc6a3e7fb2bb0d0d19fdc15b7416f2a86392a39c249c3aea65f57ce4716f33ad
|