性能优化是每个程序员的必修课,但你是否想过,除了更换算法,还有哪些“大招”?这篇文章堪称典范,它将一个普通的函数,通过四套组合拳,硬生生把性能提升了 330 倍!作者不仅展示了“术”,更传授了“道”。让我们一起跟随作者的思路,体验一次酣畅淋漓的优化之旅。
https://pythoncat.top/posts/2025-07-09-speed-up
https://pythoncat.top/posts/2025-07-09-speed-up
豌豆花下猫
让代码飙升330倍:从入门到精通的四种性能优化实践 - 豌豆花下猫
#Python潮流周刊
🐱🐱🐱🐱 第 110 期 🐱🐱🐱🐱
🦄文章&教程
① CPython JIT 编译器两年回顾
② 类型系统正在改变 Python
③ 用 uv 依赖解析器解决 Wordle
④ 使用 FastAPI、MongoDB 和 WebSockets 开发实时仪表板
⑤ Python 类型检查中的逆变问题解决方案
⑥ LangFlow 教程:用可视化工作流构建生产级 AI 应用
⑦ FastAPI 推荐服务的扩展实战
⑧ 让扩展适配自由线程 Python
⑨ Augmented Coding:超越感觉
⑩ 智能体的上下文工程
⑪ PyTorch 已死,JAX 万岁
⑫ 操作者,而非用户和程序员
🐿️项目&资源
① trae-agent:基于 LLM 的通用软件工程智能体
② xai-sdk-python:xAI 官方 Python SDK
③ desto:tmux 会话中的脚本管理工具
④ devin\.cursorrules:将 Cursor 转换为 Devin 级 AI 助手
⑤ LingChat:灵动的 AI 聊天陪伴助手
⑥ rowboat:AI 驱动的多智能体构建器
⑦ agent-factory:智能体工作流代码生成工具
⑧ throttled-py:高性能 Python 限流库
⑨ tubearchivist:自托管 YouTube 媒体服务
⑩ mlx-audio:基于 Apple MLX 框架的语音处理库
⑪ sloppy-xml-py: 容错性 XML 解析库
⑫ Python-Scripts: 自动化任务 Python 脚本集合
周刊实行付费订阅制,年费148元,预计50期,超过10万字。现在订阅,每周让自己进步一点点。
👀 前往订阅
👀 免费合集下载
🐱频道 @pythontrendingweekly
🐱🐱🐱🐱 第 110 期 🐱🐱🐱🐱
🦄文章&教程
① CPython JIT 编译器两年回顾
② 类型系统正在改变 Python
③ 用 uv 依赖解析器解决 Wordle
④ 使用 FastAPI、MongoDB 和 WebSockets 开发实时仪表板
⑤ Python 类型检查中的逆变问题解决方案
⑥ LangFlow 教程:用可视化工作流构建生产级 AI 应用
⑦ FastAPI 推荐服务的扩展实战
⑧ 让扩展适配自由线程 Python
⑨ Augmented Coding:超越感觉
⑩ 智能体的上下文工程
⑪ PyTorch 已死,JAX 万岁
⑫ 操作者,而非用户和程序员
🐿️项目&资源
① trae-agent:基于 LLM 的通用软件工程智能体
② xai-sdk-python:xAI 官方 Python SDK
③ desto:tmux 会话中的脚本管理工具
④ devin\.cursorrules:将 Cursor 转换为 Devin 级 AI 助手
⑤ LingChat:灵动的 AI 聊天陪伴助手
⑥ rowboat:AI 驱动的多智能体构建器
⑦ agent-factory:智能体工作流代码生成工具
⑧ throttled-py:高性能 Python 限流库
⑨ tubearchivist:自托管 YouTube 媒体服务
⑩ mlx-audio:基于 Apple MLX 框架的语音处理库
⑪ sloppy-xml-py: 容错性 XML 解析库
⑫ Python-Scripts: 自动化任务 Python 脚本集合
周刊实行付费订阅制,年费148元,预计50期,超过10万字。现在订阅,每周让自己进步一点点。
👀 前往订阅
👀 免费合集下载
🐱频道 @pythontrendingweekly
Python 社区中有不少优秀的技术周刊,这里把最近一周内发布的周刊汇集起来,供诸位 Pythonista 们丰富阅读。
时间:2025.07.07 - 2025.07.13
① Python Weekly - Issue 706
② Awesome Python Weekly 🐍 Issue 476 - Reflections on 2 years of CPython’s JIT Compiler: The good, the bad, the ugly
③ Python Hub Weekly Digest for 2025-07-06
④ Pycoders Weekly Issue #689: Design Patterns, Signals, TorchAudio, and More (July 8, 2025)
⑤ Django News - Django's Ecosystem - Jul 11th 2025
⑥ Python 潮流周刊#110:JIT 编译器两年回顾,AI 智能体工具大爆发
🐱频道 @pythontrendingweekly
时间:2025.07.07 - 2025.07.13
① Python Weekly - Issue 706
② Awesome Python Weekly 🐍 Issue 476 - Reflections on 2 years of CPython’s JIT Compiler: The good, the bad, the ugly
③ Python Hub Weekly Digest for 2025-07-06
④ Pycoders Weekly Issue #689: Design Patterns, Signals, TorchAudio, and More (July 8, 2025)
⑤ Django News - Django's Ecosystem - Jul 11th 2025
⑥ Python 潮流周刊#110:JIT 编译器两年回顾,AI 智能体工具大爆发
🐱频道 @pythontrendingweekly
5 things I learned from 5 years at Vercel | Lee Robinson
https://leerob.com/vercel
https://leerob.com/vercel
Leerob
5 things I learned from 5 years at Vercel | Lee Robinson
Here are some of the lessons I learned and how I grew as a leader and manager, as well as a bunch of behind-the-scenes photos.
Introducing ChatGPT agent: bridging research and action | OpenAI
https://openai.com/index/introducing-chatgpt-agent/
https://openai.com/index/introducing-chatgpt-agent/
Openai
Introducing ChatGPT agent: bridging research and action
ChatGPT now thinks and acts, proactively choosing from a toolbox of agentic skills to complete tasks for you using its own computer.
#Python潮流周刊
🐱🐱🐱🐱 第 111 期 🐱🐱🐱🐱
🦄文章&教程
① Django 20 周年快乐!
② 用 Python 探索 Llama Stack:工具调用和智能体
③ 从 SQL 到 SQLModel:Python 操作数据库的更简洁方式
④ 有时候,继承胜过组合
⑤ 2025 年的 Python 和 Make
⑥ 用 Asyncio Protocols 开发简单 HTTP 服务器
⑦ 面向数据科学家的 DuckDB 深度解析
⑧ 我正在转向 Python 并且真的喜欢它
⑨ 2048:迭代器和可迭代对象
⑩ 如何严重搞错 Django 外键?
⑪ Python 日志记录:可观测性实用指南
⑫ 前员工分享 OpenAI 工作体验
⑬ 关于在开源软件中使用大模型的思考
🐿️项目&资源
① Kimi-K2:先进的智能代理大模型
② BrowserOS:开源智能代理浏览器
③ macOS-use:让 AI 代理控制 Mac 应用
④ SuperClaude:Claude Code 增强框架
⑤ pymanager:Python 安装管理器
⑥ mcp-for-beginners:微软推出的 MCP 入门教程
⑦ acp:新的 AI 智能体通信协议
⑧ RapidOCR:多平台多语言 OCR 工具包
⑨ Voxtral:开源语音理解模型
⑩ html-to-markdown:现代化 HTML 转 Markdown 工具
⑪ aiosqlitepool:高性能异步 SQLite 连接池
⑫ epub-translator:AI 驱动的 EPUB 电子书翻译工具
⑬ ai-engineering-hub:LLM 和 AI 智能体深度教程
🐢播客&视频
① PyData London 2025 视频合集(50个)
周刊实行付费订阅制,年费148元,预计50期,超过10万字。现在订阅,每周让自己进步一点点。
👀 前往订阅
👀 免费合集下载
🐱频道 @pythontrendingweekly
🐱🐱🐱🐱 第 111 期 🐱🐱🐱🐱
🦄文章&教程
① Django 20 周年快乐!
② 用 Python 探索 Llama Stack:工具调用和智能体
③ 从 SQL 到 SQLModel:Python 操作数据库的更简洁方式
④ 有时候,继承胜过组合
⑤ 2025 年的 Python 和 Make
⑥ 用 Asyncio Protocols 开发简单 HTTP 服务器
⑦ 面向数据科学家的 DuckDB 深度解析
⑧ 我正在转向 Python 并且真的喜欢它
⑨ 2048:迭代器和可迭代对象
⑩ 如何严重搞错 Django 外键?
⑪ Python 日志记录:可观测性实用指南
⑫ 前员工分享 OpenAI 工作体验
⑬ 关于在开源软件中使用大模型的思考
🐿️项目&资源
① Kimi-K2:先进的智能代理大模型
② BrowserOS:开源智能代理浏览器
③ macOS-use:让 AI 代理控制 Mac 应用
④ SuperClaude:Claude Code 增强框架
⑤ pymanager:Python 安装管理器
⑥ mcp-for-beginners:微软推出的 MCP 入门教程
⑦ acp:新的 AI 智能体通信协议
⑧ RapidOCR:多平台多语言 OCR 工具包
⑨ Voxtral:开源语音理解模型
⑩ html-to-markdown:现代化 HTML 转 Markdown 工具
⑪ aiosqlitepool:高性能异步 SQLite 连接池
⑫ epub-translator:AI 驱动的 EPUB 电子书翻译工具
⑬ ai-engineering-hub:LLM 和 AI 智能体深度教程
🐢播客&视频
① PyData London 2025 视频合集(50个)
周刊实行付费订阅制,年费148元,预计50期,超过10万字。现在订阅,每周让自己进步一点点。
👀 前往订阅
👀 免费合集下载
🐱频道 @pythontrendingweekly
Python 社区中有不少优秀的技术周刊,这里把最近一周内发布的周刊汇集起来,供诸位 Pythonista 们丰富阅读。
时间:2025.07.14 - 2025.07.20
① Python Weekly - Issue 707
② Awesome Python Weekly 🐍 Issue 477 - Lost Chapter of Automate the Boring Stuff: Audio, Video, and Webcams in Python
③ Python Hub Weekly Digest for 2025-07-13
④ Pycoders Weekly Issue #690: JIT, __init__, dis, and That's Not It (July 15, 2025)
⑤ Django News - 🎂 Django Turns 20! - Jul 18th 2025
⑥ Python 潮流周刊#111:Django迎来 20 周年、OpenAI 前员工分享工作体验
🐱频道 @pythontrendingweekly
时间:2025.07.14 - 2025.07.20
① Python Weekly - Issue 707
② Awesome Python Weekly 🐍 Issue 477 - Lost Chapter of Automate the Boring Stuff: Audio, Video, and Webcams in Python
③ Python Hub Weekly Digest for 2025-07-13
④ Pycoders Weekly Issue #690: JIT, __init__, dis, and That's Not It (July 15, 2025)
⑤ Django News - 🎂 Django Turns 20! - Jul 18th 2025
⑥ Python 潮流周刊#111:Django迎来 20 周年、OpenAI 前员工分享工作体验
🐱频道 @pythontrendingweekly
claude-code-templates/cli-tool/templates/python/CLAUDE.md at main · davila7/claude-code-templates · GitHub
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/templates/python/CLAUDE.md
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/templates/python/CLAUDE.md
GitHub
claude-code-templates/cli-tool/templates/python/CLAUDE.md at main · davila7/claude-code-templates
CLI tool for configuring and monitoring Claude Code - davila7/claude-code-templates