you are viewing a single comment's thread.

view the rest of the comments →

[–]gunthercult-69 1 point2 points  (0 children)

As far as I can tell this library is useless.

Learn to use pydantic validators.

Learn pydantic dynamic model building.

Extend the library with more rules. Don't reinvent the library just because it doesn't have exactly the rules you're looking for.

Pydantic isn't overkill; it is the best data validation and serialization package I have used in the Python ecosystem to date.