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.6.tar.gz (7.2 kB view hashes)

Uploaded Source

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