Overview
This is a Python module that is be able to read Perl storable files. Storable is a nice and efficient binary format for Perl that is very popular. A lot of other serialization/deserialization modules exist that are even more or less standardized: JSON, XML, CSV,.. etc. Storable is more or less Perl specific.
To ease integration between Perl - where storable sometimes is the only option - and Python this module is a bridge.
The module has been tested to work with Python 2.7 and upwards.
Quick Usage
from storable import retrieve
data = retrieve('/path/to/file.storable')
from storable.output import serialize
# only works (so far) for JSON-able types and recursion-limited depth
# This will not serialize to the exact same object in perl as retrieve/thaw-ing
# but will be readable by perl to load json-like values
serialized_bytes = serialize({'x': 'bar', 'y': 1, 'z': 1.23, 'w':[], 'v':[1,2,3]})
Release files for storable 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| storable-1.2.4.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| storable-1.2.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 20.3 kB
Release files / storable-1.2.4.tar.gz
| Download URL | storable-1.2.4.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8baa3f0d77758d47bd3912fcff15446047a72e94b9281f0440f1b94d778fe21c
|
|
BLAKE2b-256 checksum How to use checksums |
04d6fb647c8df5949cde0ee9382ef32e5da395d9286c8d7420883f1812a4fd46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / storable-1.2.4-py2.py3-none-any.whl
| Download URL | storable-1.2.4-py2.py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
998305ebebc501b9531a2ba2e6eb184b295d417a8cd1a6c588a0211ec970156f
|
|
BLAKE2b-256 checksum How to use checksums |
ed19ea0b4eb8b014e82bb8f313f5212f41f5947c4fda5ee0d26f8e66bad165fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|