<?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>Python on 我的博客</title><link>https://pengkangzhen.github.io/tags/python/</link><description>Recent content in Python on 我的博客</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Mon, 29 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://pengkangzhen.github.io/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>LangChain 入门：从核心组件到 LCEL 管道</title><link>https://pengkangzhen.github.io/posts/langchain-intro/</link><pubDate>Mon, 29 Jun 2026 00:00:00 +0000</pubDate><guid>https://pengkangzhen.github.io/posts/langchain-intro/</guid><description>用 mako 多智能体项目的真实代码，讲清 LangChain 的核心组件、LCEL 管道语法，以及网上旧教程里的废弃 API 该怎么替换。</description></item><item><title>Pydantic 入门：为 LLM 结构化输出写好数据模型</title><link>https://pengkangzhen.github.io/posts/pydantic-structured-output/</link><pubDate>Mon, 29 Jun 2026 00:00:00 +0000</pubDate><guid>https://pengkangzhen.github.io/posts/pydantic-structured-output/</guid><description>结构化输出的可靠性最终都落在那个 Pydantic 模型上。本文以一个&amp;rsquo;让 LLM 建立运筹优化模型&amp;rsquo;的真实场景，从基础定义讲到嵌套、Enum、before/after 验证器，再到 LangChain 接入。</description></item><item><title>Poetry 开发依赖管理与 mypy 类型检查实践</title><link>https://pengkangzhen.github.io/posts/new/</link><pubDate>Wed, 29 Apr 2026 00:00:00 +0000</pubDate><guid>https://pengkangzhen.github.io/posts/new/</guid><description>介绍如何用 Poetry 的 dependency groups 管理开发依赖，并通过 mypy 为项目添加静态类型检查。</description></item></channel></rss>