Serialization for Humans
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')
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 -
Support for (with a few limitations) json, yaml, xml
pip install seria
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.