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, so 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.3.tar.gz (6.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for typedload-1.3.tar.gz
Algorithm Hash digest
SHA256 b44d4db6142d7c666f0f6919441adaa0dd7dab17dd63bb7fedb764fb2bd284e2
MD5 5e28eae384a0784a0f95745952c93643
BLAKE2b-256 222c4c3bd729442962f1066557d0210b347f14e37bd8d73612e2f9b0ba98137f

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