Skip to main content

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]

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file anyser-0.2.0.tar.gz.

File metadata

  • Download URL: anyser-0.2.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.1

File hashes

Hashes for anyser-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6d450781fde9da4fc5f48da7c368b4a2e41f138821a3ac48343d63c41bdc8cdc
MD5 ad0e01abcbb8f51a1810154d680c4633
BLAKE2b-256 6e707968f8b3104ec893bc203c433bbc2fbfe266401fad9e6c4cc92a2f153126

See more details on using hashes here.

File details

Details for the file anyser-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: anyser-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.1

File hashes

Hashes for anyser-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a5f762db289bf4ef6b8bc672198a82445dcad7210fe8ccdf0038cb2d7f1f4b0
MD5 3bde69151e461866d17604318e7c6477
BLAKE2b-256 3ecad3015d4b12ff00d71986d0c251cdf9e14adafa1eea35f24527849f595564

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

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