Skip to main content

Seria: Serialization for Humans

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

Metadata

Release files for seria 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seria 0.1.5
File Size Uploaded Provenance Actions
seria-0.1.5.tar.gz 12.5 kB Without provenance Details for seria-0.1.5.tar.gz

Release files / seria-0.1.5.tar.gz

Download URL seria-0.1.5.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
af82df19ed6e495725d73b12ac58f54323d630f0816102c23f4c5a69e3d5ce02
BLAKE2b-256 checksum
How to use checksums
9bdfd1caa3eca7bfdcb736ca654ffb1a677657f3dd346ff0907053d49587c77e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for seria 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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