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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file typedload-1.15.tar.gz
.
File metadata
- Download URL: typedload-1.15.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbe97d8c3cfbd65b8d7c6a7f53b51995c721d73a3e8c8e5461f63b8893cd0fb |
|
MD5 | 041aae3ffe8fe879abf9f9352f4e8bf9 |
|
BLAKE2b-256 | 2ef418d49c5673729c3468afd5cf18506f0cb3cf5290fac7f873d15fb3183fa7 |