~/talk

Garbage in → Pydantic → you're golden!

Talkat PyCon Lithuania 2023 · 2023-05-17..05-20· [python]
slides:none on file

Rebuild moves core validation into pydantic-core in Rust, producing a runtime schema system consumed from Python and shipped as a separate package with prebuilt binaries. Benchmarks show a real-case model validation becoming 22× speedup over V1 for identical code paths; a 1.3 GB JSON ingest validates in ~53 s and serializes to a 45 MB parquet via Polars. New capabilities include JSON parsing in Rust (so strict mode can sensibly accept JSON arrays for tuples), cycle detection for recursive data, alias-paths, generics, and a type-adapter based serializer that fixes the “don’t ask the type” leak.

AI-written summary · about

  1. 0:00Introduction to Pydantic
  2. 3:24Why developers love Pydantic
  3. 8:25Problems with Pydantic V1
  4. 17:51Rationale for Rust rewrite
  5. 23:19New features in Pydantic V2
  6. 32:35Live demo of Pydantic V2
  7. 48:22Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.