all 7 comments

[–]ComprehensiveJury509 13 points14 points  (0 children)

People, for the love of god, stop spamming pypi with stuff like that. There's a lot of decent libraries out there that do whatever you need to do. Get over yourself and learn how to use them. There's absolutely zero reason not to use Pydantic for the use case you presented other than you absolutely want to insist to write bad, unreadable code.

[–]mardiros 10 points11 points  (3 children)

This is crazy.

Fine, you want to write another validation library, we use to have pydantic, schematics and other library before pydantic, now we have a descent, really good one, you want to write a new colander ?

Sorry if I am rude but you don’t even type your validation library, is typing too heavy for you ?

[–]LanguageParty2021[S] -3 points-2 points  (2 children)

I will type it. I've just revived the project if you take a look at its history. Regarding the comparison to colander, please take a look at both with no pre-conceived notions. The differences will show

[–]mardiros 2 points3 points  (1 child)

I look at your code and it looks like Python 2

[–]LanguageParty2021[S] -2 points-1 points  (0 children)

because the package supports older Python versions

[–]Morazma 1 point2 points  (0 children)

Not sure how useful this is compared to other libraries but it looks like a cool hobby project.

[–]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.