FastAPI Validation Deep Dive: Mastering Pydantic vs Manual Logic for 2025

As we move into 2026, writing robust APIs requires moving beyond basic syntax to understand how underlying validation frameworks actually influence application performance. This guide explores whether...

πŸ“Ί Watch here: https://www.youtube.com/watch?v=0IZqA2zJuj0

##FastAPI ##Pydantic ##Python ##API

⚑ 6. FastAPI Validation Masterclass | Pydantic vs Manual Endpoint Validations 2025

Welcome to **FastAPI Validation Masterclass** β€” your complete hands-on guide to mastering **data validation in FastAPI** using Pydantic models! Learn how to...

YouTube
Why Data Engineers Should Care About Pydantic

You are already validating data. You are just doing it poorly.

Medium

Python devs, is this familiar: Your team writes beautiful snake_case code, but every external API wants camelCase.

You could:
- Pollute your codebase with non-Pythonic naming
- Write manual conversion layers
- Live with the friction

Or you could use Pydantic's field aliases to solve this once and for all.

New guide: How to handle non-Pythonic naming conventions seamlessly πŸ‘‡
https://link.testdouble.com/e357d1

#Python #Pydantic

TIL #PyAI on March 10th 2026 (just missed it). Small event, focused on unglamourous AI in production, some of the speakers were practitioners I know and respect. The description reminds me a bit of #NormConf !

https://pyai.events/

- Talk videos will hopefully be released online soon
- Blogpost by @pamelafox, one of the speakers: https://blog.pamelafox.org/2026/03/learnings-from-pyai-conference.html
- Organisers plan to organize another one next year πŸ‘€

#llms #genai #pydantic

PyAI Conference 2026 | March 10th | San Francisco, CA

A one-day conference for Python teams shipping AI to production. March 10, 2026 in San Francisco.

PyAI Conference

I used #Pydantic Evals to evaluate a bunch of agents today. After running an evaluation, I'd like to inspect the SpanTree for each evaluation case, e.g. to check which tools were called and debug my custom Evaluators. My current approach is a custom Evaluator that captures the tree as a side effect into a module-level variable.

Storing the trees in a global var is not great, so let's see if we can come up with a better solution: https://github.com/pydantic/pydantic-ai/issues/4758

#llms #evals #foss

Pydantic Evals: optionally storing traces to ReportCase for inspection after Dataset.evaluate() Β· Issue #4758 Β· pydantic/pydantic-ai

Hi Pydantic AI team! My usecase I'm using pydantic_evals to evaluate a bunch of long-running agents. After calling dataset.evaluate(), I would like to inspect the SpanTree for each case, e.g. to ch...

GitHub

Planning to make large behavioural changes to a (sometimes long-running) production-grade AI agent. Working with `pydantic-evals` today because I want to eval the agent before and after. So far it looks very similar to Langfuse datasets/runs for evalling, except that the data lives in your repository instead of in the Langfuse platform.

https://ai.pydantic.dev/evals/

#llms #pydantic #genai #agents #claude #langfuse

Pydantic Evals - Pydantic AI

GenAI Agent Framework, the Pydantic way

Hahaha, oh Pydantic...

> Unlike unit tests, evals are an emerging art/science. Anyone who claims to know exactly how your evals should be defined can safely be ignored.

Source: https://ai.pydantic.dev/evals/

#pydantic #evals #llms #genai

Pydantic Evals - Pydantic AI

GenAI Agent Framework, the Pydantic way

RE: https://mastodon.social/@lobsters/116241885772634780

Oxyde looks really cool. I work with Pydantic a lot, but have missed having the Django ORM. Oxyde appears to bring a Django ORM-like experience to Pydantic, and I'm here for it.

#Pydantic #Python #Django

Oh wow, another ORM! Because clearly, the world was begging for a "Pydantic-native async #ORM with a #Rust core" πŸ˜‚. It's like they threw #buzzwords into a blender and hit "high performance"! πŸ₯΄
https://github.com/mr-fatalyst/oxyde #Pydantic #HighPerformance #HackerNews #ngated
GitHub - mr-fatalyst/oxyde: Oxyde ORM is a type-safe, Pydantic-centric asynchronous ORM with a high-performance Rust core designed for clarity, speed, and reliability.

Oxyde ORM is a type-safe, Pydantic-centric asynchronous ORM with a high-performance Rust core designed for clarity, speed, and reliability. - mr-fatalyst/oxyde

GitHub
GitHub - mr-fatalyst/oxyde: Oxyde ORM is a type-safe, Pydantic-centric asynchronous ORM with a high-performance Rust core designed for clarity, speed, and reliability.

Oxyde ORM is a type-safe, Pydantic-centric asynchronous ORM with a high-performance Rust core designed for clarity, speed, and reliability. - mr-fatalyst/oxyde

GitHub