typedload
typedload copied to clipboard
Python library to load dynamically typed data into statically typed data structures
It would be good if there would be a standard handler that handles all types that provide a static method `from_dict(data) -> T` as well as a instance method `to_dict(self)...
So it's self contained and doesn't trigger every privacy plugin
Currently ipaddress and path stuff are imported just to handle those types. Investigate if it is possible to put a function there that returns the type if it is ever...
The package is not available on conda nor on conda-forge.
It might offer interfaces that can be used at runtime by typedload directly to load into whatever. https://peps.python.org/pep-0681/