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.12.tar.gz (10.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: typedload-1.12.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for typedload-1.12.tar.gz
Algorithm Hash digest
SHA256 88c4df34c2607ee4e2d8a2d0d93d0ffb41d334228e44e267c79ef727362b07dd
MD5 ab499f618076a4c41cfc33c2e92d9d76
BLAKE2b-256 e7b1113074b600a93a0fc1872b6417daded88d94a59cd3a30048964172330d03

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