🐍📰 A Close Look at a FastAPI Example Application
Set up an example FastAPI app, add path and query parameters, and handle CRUD operations with Pydantic for clean, validated endpoints
realpython.com/fastapi-pyth...
Set up an example FastAPI app, add path and query parameters, and handle CRUD operations with Pydantic for clean, validated endpoints
realpython.com/fastapi-pyth...
November 6, 2025 at 2:20 AM
🐍📰 A Close Look at a FastAPI Example Application
Set up an example FastAPI app, add path and query parameters, and handle CRUD operations with Pydantic for clean, validated endpoints
realpython.com/fastapi-pyth...
Set up an example FastAPI app, add path and query parameters, and handle CRUD operations with Pydantic for clean, validated endpoints
realpython.com/fastapi-pyth...
Plotting. ggplot2 interface makes sense to me compared to matplotlib and Observable.
Also, ellmer >> chatlas because WTH is pydantic?
Also, ellmer >> chatlas because WTH is pydantic?
October 30, 2025 at 12:56 AM
Plotting. ggplot2 interface makes sense to me compared to matplotlib and Observable.
Also, ellmer >> chatlas because WTH is pydantic?
Also, ellmer >> chatlas because WTH is pydantic?
Thanks to recent pydantic-ai improvements, you can use it fully with gpt-oss models running on vLLM/NIM.
I put demos here that show multiple tools and structured outputs:
https://github.com/Azure-Samples/nim-on-azure-serverless-gpus-demos?tab=readme-ov-file#pydanticai
I put demos here that show multiple tools and structured outputs:
https://github.com/Azure-Samples/nim-on-azure-serverless-gpus-demos?tab=readme-ov-file#pydanticai
October 30, 2025 at 6:28 AM
Thanks to recent pydantic-ai improvements, you can use it fully with gpt-oss models running on vLLM/NIM.
I put demos here that show multiple tools and structured outputs:
https://github.com/Azure-Samples/nim-on-azure-serverless-gpus-demos?tab=readme-ov-file#pydanticai
I put demos here that show multiple tools and structured outputs:
https://github.com/Azure-Samples/nim-on-azure-serverless-gpus-demos?tab=readme-ov-file#pydanticai
I wrote a tutorial on integrating DBOS with Logfire. It's super easy to set up (kudos to the @pydantic.dev team!) -> just a few lines to configure the exporter and your Logfire write token. Once it's running, you'll get a unified view of your app with logs + traces in one place.
October 28, 2025 at 5:34 PM
I wrote a tutorial on integrating DBOS with Logfire. It's super easy to set up (kudos to the @pydantic.dev team!) -> just a few lines to configure the exporter and your Logfire write token. Once it's running, you'll get a unified view of your app with logs + traces in one place.
I made a commit to pydantic-ai and now I'm watching the pre-commit thinking "dannng, I need to add some fancier pre-commit hooks to my repos." Ligatures, spell check, smart quotes, oh my.
October 28, 2025 at 6:04 AM
I made a commit to pydantic-ai and now I'm watching the pre-commit thinking "dannng, I need to add some fancier pre-commit hooks to my repos." Ligatures, spell check, smart quotes, oh my.
Seems reasonable, getting all the sciences people on rust so they can have real type checking (Though I think python has something for this, is that pydantic?)
October 27, 2025 at 10:06 PM
Seems reasonable, getting all the sciences people on rust so they can have real type checking (Though I think python has something for this, is that pydantic?)
pydantic is a start, but it's really not enough... especially since a lot of users will have pydantic type signatures and then... not use a pre-run type checker. So they don't even end up seeing the errors!
October 28, 2025 at 12:03 AM
pydantic is a start, but it's really not enough... especially since a lot of users will have pydantic type signatures and then... not use a pre-run type checker. So they don't even end up seeing the errors!
Might be worth playing with Pydantic and Python types. As a person who learned to program in C, they provide me the typing I need to feel comfortable.
October 26, 2025 at 1:09 AM
Might be worth playing with Pydantic and Python types. As a person who learned to program in C, they provide me the typing I need to feel comfortable.
agent built on top if pydantic AI (migrated from langchain)
October 20, 2025 at 6:18 PM
agent built on top if pydantic AI (migrated from langchain)
Here's FastAPI 0.119.0 🚀
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
October 11, 2025 at 5:33 PM
Here's FastAPI 0.119.0 🚀
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
This is the most black magic I've done since adding support for @pydantic.dev v2 (or v1) to @fastapi.tiangolo.com... 🧙♂️
Now it has support for both Pydantic v2 AND v1 ✨
So much work just so you can migrate that old (or big) FastAPI app to Pydantic v2, please make it worth it, migrate to v2 ☕️
Now it has support for both Pydantic v2 AND v1 ✨
So much work just so you can migrate that old (or big) FastAPI app to Pydantic v2, please make it worth it, migrate to v2 ☕️
Here's FastAPI 0.119.0 🚀
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
October 11, 2025 at 5:39 PM
This is the most black magic I've done since adding support for @pydantic.dev v2 (or v1) to @fastapi.tiangolo.com... 🧙♂️
Now it has support for both Pydantic v2 AND v1 ✨
So much work just so you can migrate that old (or big) FastAPI app to Pydantic v2, please make it worth it, migrate to v2 ☕️
Now it has support for both Pydantic v2 AND v1 ✨
So much work just so you can migrate that old (or big) FastAPI app to Pydantic v2, please make it worth it, migrate to v2 ☕️
I have used Pydantic extensively enough to know precisely the places where it fails to deliver. 😅 But it is probably the best dataclass provider out there, sure.
October 9, 2025 at 4:24 PM
I have used Pydantic extensively enough to know precisely the places where it fails to deliver. 😅 But it is probably the best dataclass provider out there, sure.
til if you write in a yaml
some_key: off
and then try to Pydantic it, then the type of some_key is a boolean, and not a string, as yaml tries to be smart.
That's how I spent my last hour and a half 🙈
some_key: off
and then try to Pydantic it, then the type of some_key is a boolean, and not a string, as yaml tries to be smart.
That's how I spent my last hour and a half 🙈
September 22, 2025 at 2:02 PM
til if you write in a yaml
some_key: off
and then try to Pydantic it, then the type of some_key is a boolean, and not a string, as yaml tries to be smart.
That's how I spent my last hour and a half 🙈
some_key: off
and then try to Pydantic it, then the type of some_key is a boolean, and not a string, as yaml tries to be smart.
That's how I spent my last hour and a half 🙈
I think this might be MASSIVE:
Pydantic AI is getting support for @vercel.com AI Elements streaming, making it easy to build React or Next.js frontends for Pydantic AI agents.
Video demo in the PR:
github.com/pydantic/pyd...
Pydantic AI is getting support for @vercel.com AI Elements streaming, making it easy to build React or Next.js frontends for Pydantic AI agents.
Video demo in the PR:
github.com/pydantic/pyd...
Vercel AI Elements types by samuelcolvin · Pull Request #2923 · pydantic/pydantic-ai
This adds support for Vercel AI Elements streams to Pydantic AI.
There's an example frontend in a separate repo github.com/pydantic/pydantic-ai-chat the plan is to either make that into a more ...
github.com
September 16, 2025 at 6:34 PM
I think this might be MASSIVE:
Pydantic AI is getting support for @vercel.com AI Elements streaming, making it easy to build React or Next.js frontends for Pydantic AI agents.
Video demo in the PR:
github.com/pydantic/pyd...
Pydantic AI is getting support for @vercel.com AI Elements streaming, making it easy to build React or Next.js frontends for Pydantic AI agents.
Video demo in the PR:
github.com/pydantic/pyd...
I just published a six-part series on
Building Production-Ready AI Agents: A Multi-Framework Journey with Amazon Bedrock AgentCore
covering Strands Agents, Crew AI, Pydantic AI, LlamaIndex, and LangGraph.
Let me know what you think!
ift.tt/A1yrFSQ
#AI #GenAI #AWS
Building Production-Ready AI Agents: A Multi-Framework Journey with Amazon Bedrock AgentCore
covering Strands Agents, Crew AI, Pydantic AI, LlamaIndex, and LangGraph.
Let me know what you think!
ift.tt/A1yrFSQ
#AI #GenAI #AWS
Building Production-Ready AI Agents: A Multi-Framework Journey with Amazon Bedrock AgentCore
AI agents are a new class of software applications that use generative AI models to reason, plan,...
ift.tt
September 15, 2025 at 3:41 PM
I just published a six-part series on
Building Production-Ready AI Agents: A Multi-Framework Journey with Amazon Bedrock AgentCore
covering Strands Agents, Crew AI, Pydantic AI, LlamaIndex, and LangGraph.
Let me know what you think!
ift.tt/A1yrFSQ
#AI #GenAI #AWS
Building Production-Ready AI Agents: A Multi-Framework Journey with Amazon Bedrock AgentCore
covering Strands Agents, Crew AI, Pydantic AI, LlamaIndex, and LangGraph.
Let me know what you think!
ift.tt/A1yrFSQ
#AI #GenAI #AWS
Hey WebAuthn Pythonistas, there's a new version of py_webauthn! webauthn==2.1.0 includes a couple new methods to help projects migrate away from the library's pre-2.0.0 use of Pydantic. Check out the release notes for more info
Time to update webauthn.io... 🐍
#webauthn #passkeys #python
Time to update webauthn.io... 🐍
#webauthn #passkeys #python
Release v2.1.0 · duo-labs/py_webauthn
Changes:
New webauthn.helpers.parse_registration_options_json() and webauthn.helpers.parse_authentication_options_json() methods have been added to help replace use of Pydantic's .parse_obj() on t...
github.com
March 29, 2024 at 1:34 AM
Hey WebAuthn Pythonistas, there's a new version of py_webauthn! webauthn==2.1.0 includes a couple new methods to help projects migrate away from the library's pre-2.0.0 use of Pydantic. Check out the release notes for more info
Time to update webauthn.io... 🐍
#webauthn #passkeys #python
Time to update webauthn.io... 🐍
#webauthn #passkeys #python
Pydantic is all you need: Jason Liu
YouTube video by AI Engineer
youtu.be
January 16, 2025 at 8:48 AM
12. 𝗦𝘁𝗮𝘁𝗶𝗰 𝗧𝘆𝗽𝗶𝗻𝗴
Enhance readability and reduce errors with static typing! Libraries like Pydantic, Mypy, Pyright, and Pyre bring optional type hints to Python, making your code safer and easier to understand.
Enhance readability and reduce errors with static typing! Libraries like Pydantic, Mypy, Pyright, and Pyre bring optional type hints to Python, making your code safer and easier to understand.
December 4, 2024 at 11:00 AM
12. 𝗦𝘁𝗮𝘁𝗶𝗰 𝗧𝘆𝗽𝗶𝗻𝗴
Enhance readability and reduce errors with static typing! Libraries like Pydantic, Mypy, Pyright, and Pyre bring optional type hints to Python, making your code safer and easier to understand.
Enhance readability and reduce errors with static typing! Libraries like Pydantic, Mypy, Pyright, and Pyre bring optional type hints to Python, making your code safer and easier to understand.
Проблема виявилася трошки глибше. Реалізація кейсу який я бажав покрити схоже зламав підтримку Pydantic моделей 🤷🏻 Треба буде дебажити більше глибше.
January 23, 2024 at 9:04 PM
Проблема виявилася трошки глибше. Реалізація кейсу який я бажав покрити схоже зламав підтримку Pydantic моделей 🤷🏻 Треба буде дебажити більше глибше.
Jupyter notebooks are what Pydantic creator calls "horrid blobs": JSON that can't be versioned with git or treated as software.
Our blog explains how @marimo.io fixes this problem.
We also have an accompanying video by
@koaning.bsky.social!
www.youtube.com/watch?v=skuI...
Our blog explains how @marimo.io fixes this problem.
We also have an accompanying video by
@koaning.bsky.social!
www.youtube.com/watch?v=skuI...
We really can fix this notebook experience
YouTube video by marimo
www.youtube.com
March 19, 2025 at 5:56 PM
Jupyter notebooks are what Pydantic creator calls "horrid blobs": JSON that can't be versioned with git or treated as software.
Our blog explains how @marimo.io fixes this problem.
We also have an accompanying video by
@koaning.bsky.social!
www.youtube.com/watch?v=skuI...
Our blog explains how @marimo.io fixes this problem.
We also have an accompanying video by
@koaning.bsky.social!
www.youtube.com/watch?v=skuI...
Pydantic object in -> Pydantic object out (can be a union of multiple types for multiple tools). That's all you need. Instructor supports this well. Other libraries too, though none are as simple. That's it. That's really all you need.
November 24, 2024 at 9:02 PM
Pydantic object in -> Pydantic object out (can be a union of multiple types for multiple tools). That's all you need. Instructor supports this well. Other libraries too, though none are as simple. That's it. That's really all you need.
謎の独り言。個人的にflaxのtrainerをクラスで実装するのはなんとなく敗北感がある。しかし、pydanticなどを使ってイミュータブルなクラスとして実装すると敗北感が薄まる。
February 16, 2024 at 4:48 AM
謎の独り言。個人的にflaxのtrainerをクラスで実装するのはなんとなく敗北感がある。しかし、pydanticなどを使ってイミュータブルなクラスとして実装すると敗北感が薄まる。
Would be interesting to see the effect of using a prompt with structured output (e.g. using pydantic) to further constrain the outputs.
February 18, 2025 at 2:50 PM
Would be interesting to see the effect of using a prompt with structured output (e.g. using pydantic) to further constrain the outputs.
My colleagues and I experimented with Pydantic AI today. Check out these gists to see how easy it is to use it with either GitHub Models or Azure OpenAI deployments:
gist.github.com/pamelafox/44...
gist.github.com/pamelafox/44...
February 18, 2025 at 6:09 PM
My colleagues and I experimented with Pydantic AI today. Check out these gists to see how easy it is to use it with either GitHub Models or Azure OpenAI deployments:
gist.github.com/pamelafox/44...
gist.github.com/pamelafox/44...