Skip to main content

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

Project description

Load and dump json-like data into typed data structures.

This module provides an API to load dictionaries and lists (usually loaded from json) into Python’s NamedTuples, dataclass, sets, enums, and various other typed data structures; respecting all the type-hints and performing type checks or casts when needed.

It can also dump from typed data structures to json-like dictionaries and lists.

It is very useful for projects that use Mypy and deal with untyped data like json, because it guarantees that the data will have the expected format.

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

Uploaded Source

File details

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

File metadata

  • Download URL: typedload-2.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.3

File hashes

Hashes for typedload-2.2.tar.gz
Algorithm Hash digest
SHA256 2595f9e816cdd1125e82360a85b243905b9d93d3224ad5677486b4cc87028eb8
MD5 0e4ddb4e7e9428bac9286e88b0981d31
BLAKE2b-256 70e48f5747df27d294a22f4ead5b31aa29ef9ed218b8a48c0c309dd4878e5b38

See more details on using hashes here.

Supported by

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