pydantic-ai/mcp-run-python at main · pydantic/pydantic-ai

Agent Framework / shim to use Pydantic with LLMs. Contribute to pydantic/pydantic-ai development by creating an account on GitHub.

GitHub

#pydantic, one of the most downloaded #python library of all times...

crossing billions of total download just recently...

in the recent years...

has changed from one of the most elegant docs to one of the most horrifying and useless documentations ever...

anything you want to find on their pages these days is a "good luck" with a sneaky smear on the face...

truly a garbage if I'm being completely honest.

#opensource

Агенты в Pydantic AI от вызова LLM до MCP

Всем привет, сегодня я расскажу вам о том, как делать можно делать агентов с помощью Pydantic AI. Начнем с простых примеров в виде вызова LLM , а затем постепенно будем усложнять задачу, создавая более сложного агента. Начиная от простой валидации данных на выходе, заканчивая хайповым MCP протоколом.

https://habr.com/ru/articles/900270/

#агенты_ии #llm #pydantic #ai #искусственный_интеллект

Агенты в Pydantic AI от вызова LLM до MCP

Введение Всем привет, сегодня я расскажу вам о том, как можно делать агентов с помощью Pydantic AI. Pydantic AI - фреймворк от создателей Pydantic - популярной библиотеки для валидации данных в Python...

Хабр

Un altre descobriment en aquest camí ha estat #Pydantic. Com podia viure programàticament parlant sense Pydantic?
Pydantic és una biblioteca de Python que serveix per validar i gestionar dades amb tipus. Et permet definir models (com classes) on s’especifica el tipus de cada camp, i automàticament valida i converteix les dades rebudes. Integrat a la perfecció amb fastAPI.

#appy #Python #fastAPI

API автотесты на Python с запуском на CI/CD и Allure отчетом

В этой статье разберём процесс написания API автотестов на Python, используя современные best practices. Кроме того, мы настроим их запуск в CI/CD с помощью GitHub Actions и сформируем Allure-отчёт с историей запусков. Цель статьи — не только показать, как писать качественные API автотесты, но и научить запускать их в CI/CD, получая удобные отчёты о результатах.

https://habr.com/ru/articles/895452/

#python #qa_automation #testing #github_actions #github_pages #allure #pytest #api_testing #pydantic #cicd

API автотесты на Python с запуском на CI/CD и Allure отчетом

Вступление В этой статье мы разберём процесс написания API автотестов на Python, используя современные best practices. Кроме того, мы настроим их запуск в CI/CD с помощью GitHub Actions и сформируем...

Хабр

Pydantic for data validation and hydration

https://blog.narf.ssji.net/2025/03/30/pydantic-for-data-validation-and-hydration/

When using Python in any serious way, one quickly encounters Pydantic. While I’ve run into it in many frameworks, up to now, I never took the time to sit down and work out what it was doing, beyond something like “data models and validation based on type annotations”.

I have so far used dataclasses for my data models and data transfer objects (DTO). But it finally happened, and I needed finer validation on the data within my model. So I decided to take Pydantic for a spin myself, and see what it was doing for real.

tl;dr:

Pydantic _is_ data models and validation based on type annotations (amongst other things)

It’s a (almost) drop-in replacement for dataclasses

Type resolution and validation does add one order of magnitude over dataclasses, but it’s quite acceptable as a tradeoff for not having to write any bespoke validation code

Not only can it validate data, but it can also construct nested Pydantic objects, with support for polymorphism.

The pydantic.TypeAdapter exposes some lower-level mechanisms allowing to compose Pydantic behaviours as needed

[…]

#Pydantic #Python

Pydantic for data validation and hydration - Narf

When using Python in any serious way, one quickly encounters Pydantic. While I've run into it in many frameworks, up to now, I never took the time to sit down and work out what it was doing, beyond something like “data models and validation based on type annotations”. I have so far used dataclasses for

Narf - The blagosphere got me...

Ara millor, la línia de temps "home" necessita un token vàlid però la línia de temps "public" (federada) no.

https://codeberg.org/spla/appy/commit/081cf661cc33d702cd0e53a74ab9030fbffd9311

He tingut que crear un nou model #Pydantic per els tuts de la línia de temps federada perquè no han de tenir "favourited", "reblogged", "muted", "bookmarked", "pinned" ni "filtered"

#appy #Python #fastAPI

home timeline needs a valid token but public timeline don't need it · 081cf661cc

appy - a headless ActivityPub server written with Python and fastAPI.

Codeberg.org
🚀 FastOpenAPI: because what the world really needed was YET ANOTHER tool generating docs for obscure #Python frameworks nobody uses 🎉. Forget simplicity, let's throw in #Pydantic v2 and call it #innovation. Bravo, mrfatalyst, truly pushing the boundaries of unnecessary complexity! 🙄
https://github.com/mr-fatalyst/fastopenapi #FastOpenAPI #DeveloperTools #Complexity #HackerNews #ngated
GitHub - mr-fatalyst/fastopenapi: FastOpenAPI is a library for generating and integrating OpenAPI schemas using Pydantic v2 and various frameworks (Falcon, Flask, Quart, Sanic, Starlette, Tornado).

FastOpenAPI is a library for generating and integrating OpenAPI schemas using Pydantic v2 and various frameworks (Falcon, Flask, Quart, Sanic, Starlette, Tornado). - mr-fatalyst/fastopenapi

GitHub

🤖 I wrote up some notes on Pydantic AI Agents yesterday and shared some projects that I'm using them in.

#pydantic #pydanticai #python #django

https://mastodon.social/@webology/114094521675257805