Skip to main content

No project description provided

Project description

anyser

Common interfaces for multiple serialization formats.

API

  • dumps(obj, format: str, **options) -> str
  • dumpb(obj, format: str, **options) -> bytes
  • loads(s: str, format: str, **options) -> object
  • loadb(b: bytes, format: str, **options) -> object

format canbe:

Format Data format requires
json json, .json
pickle pickle
xml xml, .xml
json5 json5, .json5 install anyser[json5]
toml toml, .toml install anyser[toml]
yaml yaml, .yaml, .yml install anyser[yaml]

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

anyser-0.2.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

anyser-0.2.0-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

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