<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Pydantic v2 Cheatsheets on Manvendra Rajpoot</title>
    <link>https://blog.rajpoot.dev/cheatsheets/pydantic/</link>
    <description>Recent content in Pydantic v2 Cheatsheets on Manvendra Rajpoot</description>
    <image>
      <title>Manvendra Rajpoot</title>
      <url>https://blog.rajpoot.dev/img/personal/cover.png</url>
      <link>https://blog.rajpoot.dev/img/personal/cover.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Manvendra Rajpoot</copyright>
    <atom:link href="https://blog.rajpoot.dev/cheatsheets/pydantic/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Pydantic Cheatsheet 01 — BaseModel Basics</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/01-basemodel-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 06:00:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/01-basemodel-cheatsheet/</guid>
      <description>Pydantic v2 BaseModel cheatsheet — definition, validation, serialization.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 02 — Field and Constraints</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/02-fields-constraints-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 06:10:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/02-fields-constraints-cheatsheet/</guid>
      <description>Pydantic v2 Field cheatsheet — defaults, constraints, descriptions, aliases.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 03 — Validators</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/03-validators-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 06:20:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/03-validators-cheatsheet/</guid>
      <description>Pydantic v2 validators — field_validator, model_validator, before/after, Annotated validators.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 04 — Serialization</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/04-serialization-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 06:30:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/04-serialization-cheatsheet/</guid>
      <description>Pydantic v2 serialization — model_dump, custom serializers, mode.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 05 — Discriminated Unions and Generics</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/05-discriminated-unions-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 06:40:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/05-discriminated-unions-cheatsheet/</guid>
      <description>Pydantic v2 discriminated unions, generic models, recursion.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 06 — Custom Types and TypeAdapter</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/06-custom-types-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 06:50:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/06-custom-types-cheatsheet/</guid>
      <description>Pydantic v2 custom types, TypeAdapter, dataclass integration.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 07 — Strict vs Lax Mode</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/07-strict-lax-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 07:00:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/07-strict-lax-cheatsheet/</guid>
      <description>Pydantic v2 strict / lax mode — coercion rules, per-field strict, per-call strict.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 08 — Aliases (Input/Output Field Names)</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/08-aliases-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 07:10:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/08-aliases-cheatsheet/</guid>
      <description>Pydantic v2 aliases — alias, validation_alias, serialization_alias, AliasChoices, AliasPath.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 09 — pydantic-settings</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/09-settings-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 07:20:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/09-settings-cheatsheet/</guid>
      <description>pydantic-settings cheatsheet — env vars, .env, secrets, layered config.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 10 — JSON Schema and OpenAPI</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/10-json-schema-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 07:30:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/10-json-schema-cheatsheet/</guid>
      <description>Pydantic v2 JSON Schema generation — model_json_schema, OpenAPI, LLM tool calling.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 11 — Performance</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/11-performance-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 07:40:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/11-performance-cheatsheet/</guid>
      <description>Pydantic v2 performance tips — schema caching, TypeAdapter, validation speed, msgspec comparison.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 12 — Error Handling</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/12-errors-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 07:50:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/12-errors-cheatsheet/</guid>
      <description>Pydantic v2 ValidationError — structure, formatting, custom error envelopes.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 13 — ORM Mode (from_attributes)</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/13-orm-mode-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 08:00:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/13-orm-mode-cheatsheet/</guid>
      <description>Pydantic v2 from_attributes — converting SQLAlchemy / attrs / dataclass instances.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 14 — FastAPI Patterns</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/14-fastapi-patterns-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 08:10:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/14-fastapi-patterns-cheatsheet/</guid>
      <description>Pydantic &#43; FastAPI common patterns — request/response models, partial updates, query class.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 15 — Recursive Models and Forward References</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/15-recursive-models-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 08:20:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/15-recursive-models-cheatsheet/</guid>
      <description>Pydantic v2 recursive models, forward refs, mutually-recursive models.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 16 — Computed Fields</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/16-computed-fields-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 08:30:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/16-computed-fields-cheatsheet/</guid>
      <description>Pydantic v2 computed_field — derived attributes in output.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 17 — pydantic.dataclasses</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/17-dataclass-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 08:40:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/17-dataclass-cheatsheet/</guid>
      <description>Pydantic v2 dataclass integration — when to use, when to skip.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 18 — Common Domain Types (IDs, Money, Phone, Email)</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/18-common-domain-types-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 08:50:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/18-common-domain-types-cheatsheet/</guid>
      <description>Pydantic v2 common domain types — IDs, money, phone numbers, dates, URLs.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 19 — Testing Pydantic Models</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/19-testing-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 09:00:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/19-testing-cheatsheet/</guid>
      <description>Pydantic testing patterns — parametrized validation tests, factories, error matching.</description>
    </item>
    <item>
      <title>Pydantic Cheatsheet 20 — Migration v1 → v2</title>
      <link>https://blog.rajpoot.dev/cheatsheets/pydantic/20-migration-v1-v2-cheatsheet/</link>
      <pubDate>Thu, 14 May 2026 09:10:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/cheatsheets/pydantic/20-migration-v1-v2-cheatsheet/</guid>
      <description>Pydantic v1 → v2 migration cheatsheet — renames, API differences, gotchas.</description>
    </item>
  </channel>
</rss>
