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

Uploaded Source

File details

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

File metadata

  • Download URL: typedload-2.4.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1

File hashes

Hashes for typedload-2.4.tar.gz
Algorithm Hash digest
SHA256 f9c1ba5ec2141951138c86d5f069433c2c285f8cc9215e89be37d4d72dc579d2
MD5 da8b7aca50aeb2445e9dcf011f75a2e4
BLAKE2b-256 948da159457033edb81e7961ca9643a30cf51648e01da8052f0e9e0af6fdd58d

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