Serialization for Humans
Project description
Basic Usage
import seria
with open("tests/resources/good.xml", "rb") as f:
s = seria.load(f)
print s.dump('xml')
print s.dump('json')
print s.dump('yaml')
CLI Tool
Seria includes a useful command line tool.
cat tests/resources/good.xml | seria -y -
cat tests/resources/good.json | seria -j -
cat tests/resources/good.yaml | seria -x -
cat tests/resources/good.xml | seria -x - | seria -j - | seria -y -
Features
Support for (with a few limitations) json, yaml, xml
Installation
pip install seria
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
seria-0.1.3.tar.gz
(7.1 kB
view details)
File details
Details for the file seria-0.1.3.tar.gz
.
File metadata
- Download URL: seria-0.1.3.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e76515dc826b5ca777f49221a89e4dcadc340cb4ba8a0f5041ae9b2a4da1d7c6
|
|
MD5 |
2b0a7b2aab9b257b6680caab9987688c
|
|
BLAKE2b-256 |
1e55b0bbf7caf6d321bae78ea71a90e246a21558b5d8ce115b6961250109e43b
|