Skip to main content

Serialization for Humans

Project description

https://img.shields.io/pypi/v/seria.svg https://img.shields.io/pypi/dm/seria.svg 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

Project details


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)

Uploaded Source

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

Hashes for seria-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e76515dc826b5ca777f49221a89e4dcadc340cb4ba8a0f5041ae9b2a4da1d7c6
MD5 2b0a7b2aab9b257b6680caab9987688c
BLAKE2b-256 1e55b0bbf7caf6d321bae78ea71a90e246a21558b5d8ce115b6961250109e43b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page