python-storable
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]})
Metadata
Release files for storable 1.2.3
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.3.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| storable-1.2.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 20.7 kB
Release files / storable-1.2.3.tar.gz
| Download URL | storable-1.2.3.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e388597b5682e96d30047f57df7d43358c1db63a3be7f5381aafef9fd818080f
|
|
BLAKE2b-256 checksum How to use checksums |
e93b74d0ab2d997ac7f95a1ab67c60af4d8add5fd3657ab22236b9f23b7cc5ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|
Release files / storable-1.2.3-py2.py3-none-any.whl
| Download URL | storable-1.2.3-py2.py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cd9e390ddf1dfbaa503782e577d91fa1fce2d1ea6be821a8ec155bf35c37db15
|
|
BLAKE2b-256 checksum How to use checksums |
483fa773dfe3290c0c7a06255417a6a5ef02303f277188d3e92a881e896a0cd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|