Looking for some examples of people using Pydantic in bioinformatics. First relevant result is... oh my own conference talk. How unhelpful.
Looking for some examples of people using Pydantic in bioinformatics. First relevant result is... oh my own conference talk. How unhelpful.
#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.
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.
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
[…]
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"
Revolutionizing Chatbot Development with Extendable Agent and Pydantic
The Extendable Agent platform is transforming chatbot development by allowing developers to define custom extensions and output schemas with Pydantic. This innovative approach not only enhances the fl...
https://news.lavx.hu/article/revolutionizing-chatbot-development-with-extendable-agent-and-pydantic
Revolutionizing AI Development: Meet Archon, the First Autonomous AI Agent Builder
Archon, the groundbreaking AI agent builder, is transforming the landscape of AI development with its latest V4 release. This innovative platform allows developers to create, refine, and optimize AI a...
I wrote up some notes on Pydantic AI Agents yesterday and shared some projects that I'm using them in.
"Agents" are Cheat Codes
https://micro.webology.dev/2025/03/02/agents-are-cheat-codes/
@da_667 do a midlife crisis virt ai cluster
#pydantic #catte cluster
https://www.youtube.com/watch?v=JWfNLF_g_V0&t=912s
#Python developerzy: mam model Pydanticowy, który jest tworzony na podstawie danych z pliku projektowego, tworzonego przez użytkownika.
Mam pole, którego użytkownik nie musi podawać, jego default value to "foo". Jaki typ pola podać?
foo_field: str - bo zawsze jest w nim string
foo_field: Optional[str] - co prawda nigdy nie będzie None, ale dzięki temu użytkownik wie, że nie musi podawać wartości w pliku
#tech #it #pydantic #rozbijanieGownaNaAtomy
For many years I have found Flask to be too basic a tool for modern development. But since I create APIs using Flask with Pydantic to validate the input data, some middlewares for parsing and Blueprint to separate the code into modules... I must admit that I am super comfortable, fast and easy to test.
#flask #python #pydantic
If you're a dev who uses #monday.com, you might be interested in mondantic, a library I just developed for generating and populating Python dataclasses from your boards.
Decoding Latency: Enhancing User Experience with LLMs in Software Development
As large language models (LLMs) become integral to software applications, understanding and optimizing latency is crucial for user experience. This article delves into the technical nuances of LLM res...
PythonのPydanticとC#を比較してみた + C++ DCOMの思い出
https://qiita.com/Tadataka_Takahashi/items/9840bf0929c2c53da28e?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
Mastering Application Configuration: A Developer's Guide to Environment Variables
Navigating application configuration can be a daunting task for developers, especially when it comes to managing sensitive information. This article delves into the best practices for using environmen...
Pydantic v2.10: A Game-Changer for Data Validation in Python
The latest release of Pydantic, v2.10, introduces groundbreaking features that enhance data validation capabilities for Python developers. With contributions from over 30 experts, this version promise...
https://news.lavx.hu/article/pydantic-v2-10-a-game-changer-for-data-validation-in-python
Pydantic入門: 型制約付きフィールドからFastAPI連携まで
https://qiita.com/Tadataka_Takahashi/items/1a66ebd3e98702b6ae82?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items