joblib-zstd is a plugin, which enables Zstandard (.zst) compression and decompression through joblib.dump and joblib.load.
Prerequisites
You need joblib.
Install
pip install joblib-zstd
If you failed to install, update version of pip and setuptools:
pip install -U pip setuptools
Usage
import joblib
import joblib_zstd
joblib_zstd.register()
joblib.dump({'a': 1, 'b': 2}, 'obj.zst', compress=5) # implicit compression
joblib.dump({'a': 1, 'b': 2}, 'obj.bin', compress=('zstd', 5)) # explicit compression
joblib.load('obj.zst') # implicit decompression
LISENCE
MIT
Metadata
Release files for joblib-zstd 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| joblib-zstd-0.1.1.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| joblib_zstd-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / joblib-zstd-0.1.1.tar.gz
| Download URL | joblib-zstd-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
877e94edc305d1c204e50f8d9f790c25ff8a3bde09074eee7af22f082979046b
|
|
BLAKE2b-256 checksum How to use checksums |
447d820cc73df3568f56402cc39231ec7a6ff907644e5e78dabc7705a09c8ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.0 Darwin/18.7.0
|
Release files / joblib_zstd-0.1.1-py3-none-any.whl
| Download URL | joblib_zstd-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
996b937b415807d62d7541a81b9287f27337481d43a31403135bf5dc1b6145db
|
|
BLAKE2b-256 checksum How to use checksums |
806f1a2cd753b314b8c21c0d3616236e6eadd4ae0813e3d1047338d23dea409c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.0 Darwin/18.7.0
|