awesome-python
awesome-python copied to clipboard
add pydantic
What is this Python project?
Data validation and settings management using Python type hinting.
What's the difference between this Python project and similar ones?
- Pure Python
- Intended as a supplement to standard library dataclasses and typing modules
--
Anyone who agrees with this pull request could submit an Approve review to it.
Additional info: fastapi use it inside and fastapi recommend users to use it in tutorial. https://fastapi.tiangolo.com/tutorial/sql-databases/ They seem to have similar contributers.
Pydantic is so good and ubiquitous it actually deserves to be into multiple categories:
- Built-in Classes Enhancement (included in this PR)
- Configuration
- Data Validation
- Serialization
I would go as far as suggest that once pydantic 2 is out and turns out to be better than pydantic 1, it should be made part of standard python library.
Approve
Can't believe this isn't already on the list, it's one of the best libraries out there.
Approve
Pydantic should be part of the Python standard library :-)
Approved.. long back!!
I personally think pydantic is an amazing package but not something we need as a part of Python's standard library!!!! I use pydantic a lot but it must be something we could add only if we need!!
Approve
It's probably a waste of time. This repo has not added a new entry in years.
@erezsh actually there is contribution guide line: 'Pull requests will be merged when their votes reach 20.'
we have only 15 here
@erezsh actually there is contribution guide line: 'Pull requests will be merged when their votes reach 20.'
we have only 15 here
+1
@cybergrind That's rich! Lark is at 30 and still hasn't made it in - https://github.com/vinta/awesome-python/pull/1731
yeah, you're right
20
@vinta pydantic now also has 20, let's get it merged
Approved since pydantic definitely offers class enhancements, but I think really it would be a better fit for the "data validation" section.
@vinta - thanks so much for awesome-python, it's ... awesome, could we get this or #2462 approved?
@samuelcolvin I think I grouped it here because the association with dataclasses, but in retrospect that doesn't make sense and I agree. I will move it