Pydantic has become a core building block for many Python projects. After 5 years, it's time for a remake. With version 2, the plan is to rebuild the internals (with benchmarks already showing a 17x performance improvement) and clean up the API. Sounds great, but what does that mean for us? Samuel Colvin, the creator of Pydantic, is here to share his plan for Pydantic v2.

Links from the show

Samuel on Twitter: @samuel_colvin

Pydantic v2 plan: pydantic-docs.helpmanual.io

Py03: pyo3.rs

FastAPI: fastapi.tiangolo.com

Beanie: github.com

SQLModel: sqlmodel.tiangolo.com

Speedate: docs.rs

Pytests running on Pydantic in browser: githubproxy.samuelcolvin.workers.dev

JSON to Pydantic tool: jsontopydantic.com

Pyscript: pyscript.net

Michael's Pyscript + WebAssembly: Python Web Apps video: youtube.com

Watch this episode on YouTube: youtube.com

Episode transcripts: talkpython.fm

--- Stay in touch with us ---

Subscribe to us on YouTube: youtube.com

Follow Talk Python on Twitter: @talkpython

Follow Michael on Twitter: @mkennedy

Sponsors

RedHat

Microsoft

AssemblyAI

Talk Python Training