py-sion
SION deserializer/serializer for Python.
Synopsis
stream
text
import sion
#...
with open('spam.sion') as f:
obj = sion.load(f)
with open('eggs.sion', 'w') as f:
sion.dump(obj, f)
#...
bytes
import sion
from urllib.request import urlopen
#...
with urlopen(ham) as res:
obj = load(res)
#...
string
import sion
#...
spam = sion.loads('sion data')
eggs = sion.dumps(spam)
#...
Here are some other examples.
Installation
$ pip3 install sion
Metadata
Release files for sion 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sion-0.2.2.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sion-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.2 kB
Release files / sion-0.2.2.tar.gz
| Download URL | sion-0.2.2.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4d1e1ebf5e0ba2f513762348893c4b38a9caaf2d5da47b6b88c330a30aeaf9f
|
|
BLAKE2b-256 checksum How to use checksums |
d7eaddf63715d41c4f9b2f68ee01eebc154aaf187047bf27b5d3b6e61d3ebd35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
|
Release files / sion-0.2.2-py3-none-any.whl
| Download URL | sion-0.2.2-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9ad1f5c8108379de58b7b75ef8f5337e4ffc2c18e266f2d5474246e183d540e
|
|
BLAKE2b-256 checksum How to use checksums |
fc1fd8ae238d2d7b9f50e172f63f50103ec61930eb32f9e6d560a8154ec88f1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
|