Skip to content

theherk/seria

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seria: Serialization for Humans

https://travis-ci.org/rtluckie/seria.svg?branch=master

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%