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.

Files for anyser, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size anyser-0.2.0-py3-none-any.whl (10.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size anyser-0.2.0.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

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