typedload

Python library to load dynamically typed data into statically typed data structures (by davidatsurge)

Typedload Alternatives

Similar projects and alternatives to typedload

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better typedload alternative or higher similarity.

typedload reviews and mentions

Posts with mentions or reviews of typedload. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-13.
  • A Python-compatible statically typed language erg-lang/erg
    27 projects | news.ycombinator.com | 13 Aug 2022
    I read more about your repo, and it looks like typedload only does Python lists/dicts -> typed python objects(like named tuples, data classes, attrs classes, etc). Ie, the benchmarks don't include the time required to parse the JSON.

    So I modified the benchmarking code to include loading JSON[0], and your library still came out on top!

    But, it turns out I was wrong about pydantic using serde under the hood. Pydantic version 2 will. And the maintainer aims for it to be about 10x faster [1] than version 1.

    Nonetheless, this was definitely a surprise for me, and if I ever go back to using Python, I'll definitely check your library out!

    I'm curious, why do you think pydantic took off and your library didn't? It looks like your library is both faster and easier to use to me.

    [0] https://github.com/davidatsurge/typedload/pull/1/files?diff=...

Stats

Basic typedload repo stats
1
0
0.0
over 1 year ago

davidatsurge/typedload is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com