./wip/py-typedload, Load and dump data from json-like format into typed data structures

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1, Package name: py310-typedload-2.1, Maintainer: pkgsrc-users

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.


Required to run:
[lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

RMD160: ae8c7cbb50b7c7b8f80b0512fb6f1477a4dfcfd9
Filesize: 11.724 KB

Version history: (Expand)