Skip to main content

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)

Source distribution for sion 0.2.2
File Size Uploaded
sion-0.2.2.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sion 0.2.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page