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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page