Skip to main content

Load and dump data from json-like format into typed data structures

Project description

Manipulating data loaded from json is very error prone.

If the format changes unexpectedly, errors arise at the time of use, fields can disappear or change type.

This library allows loading data using NamedTuple and similar type hints, to obtain a more safe to use data structure. All exceptions will be generated in a single point, when loading, rather than in multiple points, when using.

It also provides a module to do the opposite and revert back to something that can be converted to json.

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

typedload-1.4.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file typedload-1.4.tar.gz.

File metadata

  • Download URL: typedload-1.4.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for typedload-1.4.tar.gz
Algorithm Hash digest
SHA256 f2146d8d0ef1028e784fc14cc12cae6e3f484c5972d3d90f3edeb1589dcf5b4a
MD5 e4c822bc79d685201ded9f250c4e5c58
BLAKE2b-256 77897639405166cd9d972ee0cd9f4e1596cb670050ed6e26587dfbac8e6608ce

See more details on using hashes here.

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