<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python Trending Weekly</title><description>A high-quality weekly for Python developers, curated by Python Cat from 400+ sources in English and Chinese.</description><link>https://weekly.pythoncat.top/</link><language>en</language><lastBuildDate>Thu, 03 Dec 2026 07:36:21 GMT</lastBuildDate><item><title>#177: Anthropic Redesigns Source Control with Scion</title><link>https://weekly.pythoncat.top/en/issues/177/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/177/</guid><description>Shared 12 articles, 12 open-source projects, 1 hot discussion</description><pubDate>Mon, 30 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #177: Anthropic Redesigns Source Control with Scion&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、an incomplete list of non-syntax things python raises SyntaxError for&lt;/p&gt;
&lt;p&gt;2、Securing Python projects from supply-chain attacks&lt;/p&gt;
&lt;p&gt;3、How BMLL Processes 1.5 TB of Market Data in Under 4 Minutes&lt;/p&gt;
&lt;p&gt;4、FastAPI + HTMX: Bringing the Frontend Back to the Server&lt;/p&gt;
&lt;p&gt;5、Vibe Coding Space Invaders with Python and pygame&lt;/p&gt;
&lt;p&gt;6、AI Agents List 2026&lt;/p&gt;
&lt;p&gt;7、Astra for Coding: Why Are We Doing This Again?&lt;/p&gt;
&lt;p&gt;8、Jev and RLCD: Architecture, Open-Source Models, and Practical Agent Use Cases&lt;/p&gt;
&lt;p&gt;9、I Built the Escape Hatch&lt;/p&gt;
&lt;p&gt;10、Redesigning source control at Anthropic&lt;/p&gt;
&lt;p&gt;11、Visualizing 64 Million Displaced People: How To Display The Painful Truth In Python&lt;/p&gt;
&lt;p&gt;12、Pointing AI at archives found a forgotten meteorite, lost rhinos, and more&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch&lt;/p&gt;
&lt;p&gt;2、qdrant: High-Performance, Massive-Scale Vector Database&lt;/p&gt;
&lt;p&gt;3、OpenCompass: One-stop LLM Evaluation Platform&lt;/p&gt;
&lt;p&gt;4、fast-anything: Don&apos;t rewrite it in Rust. Rewrite the 5% that&apos;s slow&lt;/p&gt;
&lt;p&gt;5、gemini-api-cli: A CLI for the Gemini API&lt;/p&gt;
&lt;p&gt;6、firecrawl: Search and Scrape the Web for AI Agents&lt;/p&gt;
&lt;p&gt;7、LoopForge: Self-hosted workflows for coding-agent delivery&lt;/p&gt;
&lt;p&gt;8、career-ops: Open-source AI job search agent&lt;/p&gt;
&lt;p&gt;9、geo-sleuth: An agent skill that finds where a photo was taken&lt;/p&gt;
&lt;p&gt;10、bama: Build Any Mac App&lt;/p&gt;
&lt;p&gt;11、prompts.chat: Community AI Prompt Library You Can Self-Host&lt;/p&gt;
&lt;p&gt;12、couch-tv: Your Own TV Home Screen - Faster, nicer, removes spyware and tonnes more features.&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、Remove &lt;strong&gt;author&lt;/strong&gt;, &lt;strong&gt;credits&lt;/strong&gt; and &lt;strong&gt;copyright&lt;/strong&gt; from stdlib modules&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/177/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#176: In Memoriam: Tim Peters (1952–2026); Microsoft agent-framework Compromised Twice on PyPI</title><link>https://weekly.pythoncat.top/en/issues/176/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/176/</guid><description>Shared 12 articles, 12 open-source projects, 1 audio/video, 2 hot discussions</description><pubDate>Mon, 23 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #176: In Memoriam: Tim Peters (1952–2026); Microsoft agent-framework Compromised Twice on PyPI&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Microsoft agent-framework Compromised Twice on PyPI&lt;/p&gt;
&lt;p&gt;2、PyPI code that breaks on Python 3.12 and 3.13&lt;/p&gt;
&lt;p&gt;3、How CPython processes Python source code&lt;/p&gt;
&lt;p&gt;4、Internals of asyncio&lt;/p&gt;
&lt;p&gt;5、How a Python Type Checker Decides a Variable Is Unused&lt;/p&gt;
&lt;p&gt;6、DRF vs Django Ninja: the Wagtail 8.1 API schema&lt;/p&gt;
&lt;p&gt;7、Authenticating Django Channels WebSockets without putting the JWT in the URL&lt;/p&gt;
&lt;p&gt;8、TestDriven.io: Taking Website Screenshots with Django, Celery, and Playwright&lt;/p&gt;
&lt;p&gt;9、How to deploy multiple Django projects on one server&lt;/p&gt;
&lt;p&gt;10、My bookkeeping runs on code now. AI only reads the PDFs.&lt;/p&gt;
&lt;p&gt;11、How I manage my agents&lt;/p&gt;
&lt;p&gt;12、Reading JSON at 277 GB/s in Python&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、pybot: A Pure Python Chatbot by a Swarm of Agents&lt;/p&gt;
&lt;p&gt;2、msgspec: A fast serialization and validation library&lt;/p&gt;
&lt;p&gt;3、Codewhale: An open-source coding agent for your terminal, written in Rust. It works with any model, can split one task across several agents, and every line of it is yours to read.&lt;/p&gt;
&lt;p&gt;4、open-code-review: Hybrid AI Code Review CLI&lt;/p&gt;
&lt;p&gt;5、caveman: why use many token when few token do trick&lt;/p&gt;
&lt;p&gt;6、modern-web-guidance-src: Keep your coding agent up to date with the latest web best practices&lt;/p&gt;
&lt;p&gt;7、phone-harness: let your agent control your phone&lt;/p&gt;
&lt;p&gt;8、agent-purge: One persona, many coding agents&lt;/p&gt;
&lt;p&gt;9、opencomputer: An open-source, faster Devin alternative&lt;/p&gt;
&lt;p&gt;10、cloud-custodian: Rules engine for cloud security, cost optimization, and governance&lt;/p&gt;
&lt;p&gt;11、claude-video-effects: 51 free video effects for Claude Code&lt;/p&gt;
&lt;p&gt;12、cefpython: Embed Chromium in desktop apps&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、Discussion regarding rules on the use of AI&lt;/p&gt;
&lt;p&gt;2、In Memoriam: Tim Peters 1952–2026&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、DjangoCon US 2026&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/176/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#175: AI Writes 610K Lines of Lean Proofs for CPython</title><link>https://weekly.pythoncat.top/en/issues/175/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/175/</guid><description>Shared 12 articles, 12 open-source projects, 1 audio/video, 2 hot discussions</description><pubDate>Sat, 14 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #175: AI Writes 610K Lines of Lean Proofs for CPython&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、PEP 852: Asynchronous functions in the C API&lt;/p&gt;
&lt;p&gt;2、Adopting Python 3.15&apos;s lazy imports: a 4× faster CLI, and where they didn&apos;t help&lt;/p&gt;
&lt;p&gt;3、Catch the import. Name the culprit. Keep threads free: Introducing gilguard&lt;/p&gt;
&lt;p&gt;4、Adapting CPython for yk&lt;/p&gt;
&lt;p&gt;5、Muru: import once, fork many&lt;/p&gt;
&lt;p&gt;6、Portable Python scripts with dependencies&lt;/p&gt;
&lt;p&gt;7、mizu: thread-speed parallel R and Python over shared memory&lt;/p&gt;
&lt;p&gt;8、Building an Agent Sandbox from Scratch in Python&lt;/p&gt;
&lt;p&gt;9、Michigan prof creates Python-like Jac language for AI agents&lt;/p&gt;
&lt;p&gt;10、What makes uv slow?&lt;/p&gt;
&lt;p&gt;11、Django in Space with Loes Crama&lt;/p&gt;
&lt;p&gt;12、Formalizing CPython&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、paperclip: The open-source app everyone uses to manage agents at work&lt;/p&gt;
&lt;p&gt;2、LangGraph: Build resilient agents&lt;/p&gt;
&lt;p&gt;3、agent-desktop: Computer use CLI for AI agents&lt;/p&gt;
&lt;p&gt;4、vllm: A high-throughput and memory-efficient inference and serving engine for LLMs&lt;/p&gt;
&lt;p&gt;5、indra: Fast CPU OCR&lt;/p&gt;
&lt;p&gt;6、artcraft: An Intentional Crafting Engine for Artists, Designers, and Filmmakers&lt;/p&gt;
&lt;p&gt;7、sqlfluff: The SQL Linter for Humans&lt;/p&gt;
&lt;p&gt;8、linkding-cn: A self-hosted bookmark manager with highlights and read-later&lt;/p&gt;
&lt;p&gt;9、Mailu: Mail server as Docker images&lt;/p&gt;
&lt;p&gt;10、ioe: One-Stop Retail Inventory Solution&lt;/p&gt;
&lt;p&gt;11、android-ad-cleaner: Turn off ads on Chinese Android phones without root&lt;/p&gt;
&lt;p&gt;12、cn-math-taxonomy: Chinese K-12 Math Knowledge Graph and Prerequisite Diagnostics&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、DjangoCon Europe 2026&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、Google Adopts Pyrefly for Faster, More Accurate Python Type Checking&lt;/p&gt;
&lt;p&gt;2、PEP 840: Name Resolution in Class Namespaces&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/175/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#174: CPython Experimental JIT to Be Removed; PEP 836 Withdrawn</title><link>https://weekly.pythoncat.top/en/issues/174/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/174/</guid><description>Shared 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sat, 07 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #174: CPython Experimental JIT to Be Removed; PEP 836 Withdrawn&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、CPython to Remove the Experimental JIT&lt;/p&gt;
&lt;p&gt;2、The State of Python Profiling Tools in 2026&lt;/p&gt;
&lt;p&gt;3、Why DuckDB 2.0 Is Faster&lt;/p&gt;
&lt;p&gt;4、UUIDv7 Doesn&apos;t Have the Properties You Think It Does&lt;/p&gt;
&lt;p&gt;5、Writing a Coding Agent in 306 Lines of Python&lt;/p&gt;
&lt;p&gt;6、Orchestrating Disposable Browsers with Python&lt;/p&gt;
&lt;p&gt;7、Production Practices for Caching Django at Scale&lt;/p&gt;
&lt;p&gt;8、Storing Django Static and Media Files with Cloudflare R2&lt;/p&gt;
&lt;p&gt;9、From Loops to Vectorization: 7 Key Ideas for Speeding Up NumPy&lt;/p&gt;
&lt;p&gt;10、pyinfra: Server Automation with Python Code&lt;/p&gt;
&lt;p&gt;11、A 3D Game Built Entirely with AI: The Full Production Process Revealed&lt;/p&gt;
&lt;p&gt;12、PyScript Enters Maintenance Mode: What&apos;s Left for Python in the Browser&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、taste-skill: Have Coding Agents Set the Art Direction First&lt;/p&gt;
&lt;p&gt;2、mcode-stack: The MiniMax Team&apos;s AI Coding Workflow and Skill Set&lt;/p&gt;
&lt;p&gt;3、BMAD-METHOD: An AI-Driven Agile Development Methodology&lt;/p&gt;
&lt;p&gt;4、artemis: An Agent That Drives Android Automation with Natural Language&lt;/p&gt;
&lt;p&gt;5、ego-lite: Hand Your Logged-In Browser to AI Agents&lt;/p&gt;
&lt;p&gt;6、agent-zero: Give Your Agent a Linux Computer&lt;/p&gt;
&lt;p&gt;7、Hy-Memory: A Multi-Scenario Memory Store for Agents&lt;/p&gt;
&lt;p&gt;8、jeff: A 0.8B Small Model for Fast Decision-Making with Local LLMs&lt;/p&gt;
&lt;p&gt;9、KittenTTS: An Open-Source Speech Synthesis Model That Runs on CPU&lt;/p&gt;
&lt;p&gt;10、Open-Source-Face-Recognition-SDK: Local Offline Face Recognition&lt;/p&gt;
&lt;p&gt;11、TalkLikeYou-Streaming-RealTime-Demo: Real-Time Digital Human Generation in the Browser&lt;/p&gt;
&lt;p&gt;12、deepopen-3d-webs: Generate Walkable 3D Scenes from a Single Image&lt;/p&gt;
&lt;h2&gt;🥂Discussion &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、PEP 845: Leading Dot Value Patterns&lt;/p&gt;
&lt;p&gt;2、PEP 851 Proposes Adding discard() to list&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/174/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#173: Guido-Sponsored PEP 823 Proposes ?. and ?[] for Python 3.16</title><link>https://weekly.pythoncat.top/en/issues/173/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/173/</guid><description>Shared 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sat, 31 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #173: Guido-Sponsored PEP 823 Proposes ?. and ?[] for Python 3.16&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、PEP 823 Proposes None-Aware Access Operators for Python 3.16&lt;/p&gt;
&lt;p&gt;2、Python 3.15 Adds the frozendict Built-in Type&lt;/p&gt;
&lt;p&gt;3、Tachyon, the Sampling Profiler Shipping with Python 3.15&lt;/p&gt;
&lt;p&gt;4、Why DuckDB 2.0 Is Faster&lt;/p&gt;
&lt;p&gt;5、uv&apos;s New Tar Parser: Twice as Fast and More Secure&lt;/p&gt;
&lt;p&gt;6、Brotli Vulnerability (CVSS 9.2) Affects Python Packages Including requests&lt;/p&gt;
&lt;p&gt;7、Building a RAG System from Scratch in Python: 40 Lines to Get It Running, Then Optimize&lt;/p&gt;
&lt;p&gt;8、Keeping LLM Output Under Control: Validating Model Output with Pydantic&lt;/p&gt;
&lt;p&gt;9、How the Claude Code Team Does Code Review&lt;/p&gt;
&lt;p&gt;10、Implementing Elevator Scheduling Algorithms in Python&lt;/p&gt;
&lt;p&gt;11、A Five-Month Experiment Treating Bugs as Patients and Coding Agents as a Medical Team&lt;/p&gt;
&lt;p&gt;12、How I Post-Trained a Jev-Style Decision Model for $600&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、orca: A Dev Environment for Running a Whole Squad of Agents in Parallel&lt;/p&gt;
&lt;p&gt;2、diagram-design: An Editor-Grade Diagram Skill for AI Coding Agents&lt;/p&gt;
&lt;p&gt;3、Claude-Red: A Red-Teaming Skill Library&lt;/p&gt;
&lt;p&gt;4、Windows-MCP: A Computer-Use Service for Windows&lt;/p&gt;
&lt;p&gt;5、docker-agent: An AI Agent Runtime from Docker&lt;/p&gt;
&lt;p&gt;6、MaxKB: An Open-Source Enterprise-Grade Agent Platform&lt;/p&gt;
&lt;p&gt;7、SPACE: A Code Execution Sandbox for Agents&lt;/p&gt;
&lt;p&gt;8、mimic: Generating Python Clients from Captured App Traffic&lt;/p&gt;
&lt;p&gt;9、ref2game: Let Coding Agents Turn Screenshots into Playable Games&lt;/p&gt;
&lt;p&gt;10、srt-whiteboard-animation: Turning Subtitles into Whiteboard Hand-Drawn Animations&lt;/p&gt;
&lt;p&gt;11、weread-omni: An Unofficial Enhancement Toolkit for WeChat Reading&lt;/p&gt;
&lt;p&gt;12、FridayOS1.0: A Blueprint for an Offline Markdown Knowledge Base Built with the Python Standard Library&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、PEP 718: Subscriptable Functions for Explicitly Specifying Generic Arguments&lt;/p&gt;
&lt;p&gt;2、Python 3.15.2 Among Five Releases Issuing Urgent Security Updates&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/173/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#172: CPython 3.15&apos;s JIT Finally Pays Off; Eight Algorithm Benchmarks Run 2.47x Faster Than CPython 2.7</title><link>https://weekly.pythoncat.top/en/issues/172/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/172/</guid><description>Shared 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sat, 24 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #172: CPython 3.15&apos;s JIT Finally Pays Off; Eight Algorithm Benchmarks Run 2.47x Faster Than CPython 2.7&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Can Python Have Both Generational and Incremental Garbage Collection?&lt;/p&gt;
&lt;p&gt;2、The Next Stage of Free-Threaded Python&lt;/p&gt;
&lt;p&gt;3、Measured: CPython 3.15 JIT Delivers a 2.47x Geometric Mean Speedup&lt;/p&gt;
&lt;p&gt;4、Benchmark Comparison: Python 3.15 vs. 3.14 and Earlier Versions&lt;/p&gt;
&lt;p&gt;5、Python 3.15&apos;s Most Noteworthy New Features&lt;/p&gt;
&lt;p&gt;6、Hello Python 3.15, Goodbye 3.10, Finally We Get to Use 3.11&lt;/p&gt;
&lt;p&gt;7、The 5 Most Notable New Features in Python 3.15&lt;/p&gt;
&lt;p&gt;8、Django Async Transactions Expected to Land in 6.2&lt;/p&gt;
&lt;p&gt;9、5 Design Patterns in a Django Habit-Tracking App&lt;/p&gt;
&lt;p&gt;10、Building a Working AI Agent from Scratch with Pydantic AI&lt;/p&gt;
&lt;p&gt;11、Polars 2.0 Released: collect Uses the Streaming Engine by Default and SQL Becomes a First-Class Citizen&lt;/p&gt;
&lt;p&gt;12、Nod: A Debugging Extension That Summons a Jupyter Notebook from Anywhere in Your Code&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、context-mode: An MCP Service That Keeps Tool Output Out of the Context Window&lt;/p&gt;
&lt;p&gt;2、harness2: Google&apos;s Open-Source Framework for Optimizing Agent Harnesses&lt;/p&gt;
&lt;p&gt;3、impeccable: A Design Instruction Set for AI Agents&lt;/p&gt;
&lt;p&gt;4、ruflo: A Multi-Agent Swarm Orchestration Framework&lt;/p&gt;
&lt;p&gt;5、flint-chart: A Visualization Language That Lets AI Agents Generate Charts Reliably&lt;/p&gt;
&lt;p&gt;6、zeroshot: Constraining Coding Agents with Workflow Graphs&lt;/p&gt;
&lt;p&gt;7、EvoOntology: A Self-Evolving Ontology Layer for Data Agents&lt;/p&gt;
&lt;p&gt;8、skills-manager: Unified Management of Agent Skills Across 50+ Tools&lt;/p&gt;
&lt;p&gt;9、magpie: Switch Models for Your Coding Agent from the Menu Bar&lt;/p&gt;
&lt;p&gt;10、earshot: Giving Coding Agents a Pair of Ears&lt;/p&gt;
&lt;p&gt;11、cy-carousel-skill: Generate Image-and-Text Carousels from a Single Sentence&lt;/p&gt;
&lt;p&gt;12、open-dots: An Open-Source, Self-Hosted AI Agent Workbench&lt;/p&gt;
&lt;h2&gt;🥂Discussion &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、PEP 818: Folding the Core of the Pyodide Foreign Function Interface into Python&lt;/p&gt;
&lt;p&gt;2、PEP 823: A None-Aware Access Operator&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/172/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#171: Python 3.15 Is Released; Lazy Imports and frozendict Are Now Builtins</title><link>https://weekly.pythoncat.top/en/issues/171/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/171/</guid><description>Shared 12 articles, 12 open-source projects, 1 audio/video, 2 hot discussions</description><pubDate>Sat, 17 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #171: Python 3.15 Is Released; Lazy Imports and frozendict Are Now Builtins&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、A Look at Python 3.15&apos;s New Features&lt;/p&gt;
&lt;p&gt;2、Python 3.15 Released: Lazy Imports Become First-Class Language Syntax&lt;/p&gt;
&lt;p&gt;3、Practical New Python 3.15 Features for Data Science&lt;/p&gt;
&lt;p&gt;4、Python 3.14 vs. 3.15 Performance Benchmarks&lt;/p&gt;
&lt;p&gt;5、PEP 849: More Expressive Type Expressions&lt;/p&gt;
&lt;p&gt;6、Optimizing the PyBytesWriter and PyUnicodeWriter Implementations&lt;/p&gt;
&lt;p&gt;7、Parsing Tens of GB of JSON per Second in Python&lt;/p&gt;
&lt;p&gt;8、Cutting a Python CLI Tool&apos;s Cold Start from 4 Seconds to 0.4 Seconds&lt;/p&gt;
&lt;p&gt;9、Rewriting ScyllaDB&apos;s Python Driver with PyO3&lt;/p&gt;
&lt;p&gt;10、Why Pendulum Has Python&apos;s Weirdest + Operator&lt;/p&gt;
&lt;p&gt;11、Redis Embraces AI: When the &quot;Database That Knows Speed Best&quot; Starts Solving the &quot;Memory Problem&quot;&lt;/p&gt;
&lt;p&gt;12、Python&apos;s Two Random Number Modules&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、LangWatch: Agent Observability and Evaluation Platform&lt;/p&gt;
&lt;p&gt;2、rea: A Reverse Engineering Tool for Agents&lt;/p&gt;
&lt;p&gt;3、repowise: A Local Index for AI Agents to Query Codebases&lt;/p&gt;
&lt;p&gt;4、quicksand: One-off Sandboxes for AI Agents&lt;/p&gt;
&lt;p&gt;5、Sage: A Stateful Agent Runtime Embeddable in Python Applications&lt;/p&gt;
&lt;p&gt;6、orbi: A Coding Agent in Python, from GitHub Issue to Release&lt;/p&gt;
&lt;p&gt;7、git-lrc: Automatic AI Code Review on Commit&lt;/p&gt;
&lt;p&gt;8、agentplay: Replay Agent Sessions as Maps and Timelines&lt;/p&gt;
&lt;p&gt;9、replica-skill: Clone Any App with Eleven Claude Skills&lt;/p&gt;
&lt;p&gt;10、iPhone-use: Let Codex Control a Real iPhone over USB&lt;/p&gt;
&lt;p&gt;11、talorys: An AI Agent Running in Your Own Cloudflare Account&lt;/p&gt;
&lt;p&gt;12、tlgr: A Telegram CLI Built for Scripts and AI Agents&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、A Feature-by-Feature Walkthrough of Python 3.15&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、PEP 848: Generational Incremental Garbage Collection&lt;/p&gt;
&lt;p&gt;2、Adding an !R Conversion to f-strings for Formatting Error Messages&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/171/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#170: Python 3.15 Lazy Imports Land; Incremental GC and ?? Operator Target 3.16</title><link>https://weekly.pythoncat.top/en/issues/170/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/170/</guid><description>Shared 13 articles, 13 open-source projects, 2 audio/videos, 2 hot discussions</description><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #170: Python 3.15 Lazy Imports Land; Incremental GC and ?? Operator Target 3.16&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Python 3.15: Lazy Imports, frozendict, and a Faster JIT&lt;/p&gt;
&lt;p&gt;2、Python 3.15 Preview: A Built-in Sentinel Type&lt;/p&gt;
&lt;p&gt;3、PEP 824: The None Coalescing Operator&lt;/p&gt;
&lt;p&gt;4、PEP 848: Generational Incremental Garbage Collection&lt;/p&gt;
&lt;p&gt;5、Python 3.15 Benchmarks: Noticeable JIT Speedups, Limited Gains in the Regular Build&lt;/p&gt;
&lt;p&gt;6、Speeding Up Python Services with CinderX&lt;/p&gt;
&lt;p&gt;7、Python Concurrency in Practice: Choosing Between the GIL, Multiprocessing, and asyncio&lt;/p&gt;
&lt;p&gt;8、How Datadog Built an Async-Aware Python Profiler&lt;/p&gt;
&lt;p&gt;9、How OpenAI Scaled Its Python Storage Platform to a Billion Users&lt;/p&gt;
&lt;p&gt;10、Python Agent Engineering: From Ad-Hoc Coding to Evidence-Driven&lt;/p&gt;
&lt;p&gt;11、A Visual Guide to the Four Types of LLM Caching: KV, Prefix, Prompt, and Semantic&lt;/p&gt;
&lt;p&gt;12、The Last Mile of a Long Road: Faster NumPy in the Browser&lt;/p&gt;
&lt;p&gt;13、How AI Works in Modern Games: From State Machines to LLMs&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、tonio: A Multithreaded Async Runtime for Free-Threaded Python&lt;/p&gt;
&lt;p&gt;2、PythonCall.jl: Two-Way Interop Between Python and Julia&lt;/p&gt;
&lt;p&gt;3、sqlmodel: SQLAlchemy and Pydantic in One&lt;/p&gt;
&lt;p&gt;4、Flowfile: Turn Polars-Style Code into ETL Pipelines&lt;/p&gt;
&lt;p&gt;5、Reef: Continuously Self-Improving Agent Infrastructure&lt;/p&gt;
&lt;p&gt;6、agent-memory: A Long-Term Memory Runtime for AI Agents&lt;/p&gt;
&lt;p&gt;7、iFixAi: An Independent Auditing Tool for AI Agents&lt;/p&gt;
&lt;p&gt;8、paper-docx: A python-docx Fork for AI Agents&lt;/p&gt;
&lt;p&gt;9、invisible_playwright_mcp: An Anti-Detection Browser Automation MCP&lt;/p&gt;
&lt;p&gt;10、OpenArch: A Modern LLM Architecture Implementation Written from Scratch&lt;/p&gt;
&lt;p&gt;11、LongCat-Video: Meituan&apos;s Open-Source 13.6B Video Generation Model&lt;/p&gt;
&lt;p&gt;12、UniMate: One Unified Model Driving Diverse Skeletal Animations&lt;/p&gt;
&lt;p&gt;13、archify: Turn Codebases into Interactive Architecture Diagrams&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、Talk Python to Me #565: Tachyon, Python 3.15&apos;s Built-in Sampling Profiler&lt;/p&gt;
&lt;p&gt;2、Talk Python to Me #564: EVE Online Says Goodbye to Python 2, Migrating 2.4 Million Lines of Code to 3.12&lt;/p&gt;
&lt;h2&gt;🥂Discussion &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、PEP 827: The Type Manipulation Proposal&lt;/p&gt;
&lt;p&gt;2、PEP 843: The export Statement for Simpler Re-Exports&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/170/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#169: Fermat in 11 Days; Python Weighs an export Keyword; 3,000 Tools on One Key</title><link>https://weekly.pythoncat.top/en/issues/169/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/169/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 26 Sep 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #169: Fermat in 11 Days; Python Weighs an export Keyword; 3,000 Tools on One Key&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Breaking a Four Year Hiatus to Talk about the Export Keyword (PEPs 842 and 843)&lt;/p&gt;
&lt;p&gt;2、UnboundLocalError: It&apos;s Not a Missing Variable, It&apos;s Scope Decided in Advance&lt;/p&gt;
&lt;p&gt;3、Protocol or ABC? Designing a Pluggable Provider Interface&lt;/p&gt;
&lt;p&gt;4、PEP 847: Problem Details for the Simple Repository API&lt;/p&gt;
&lt;p&gt;5、New Technical Governance Approved&lt;/p&gt;
&lt;p&gt;6、The PyLadiesCon Portal Was Spammed: 2,249 Fake Accounts. Four Months Before Anyone Noticed&lt;/p&gt;
&lt;p&gt;7、MongoDB Migrations in Python with DBLift&lt;/p&gt;
&lt;p&gt;8、How to Review AI-Generated Python Code Efficiently&lt;/p&gt;
&lt;p&gt;9、Jev in 25 Lines of Python&lt;/p&gt;
&lt;p&gt;10、An Agentic Data Science Story&lt;/p&gt;
&lt;p&gt;11、Reimagining Research Papers as Interactive and Reliable AI Agents&lt;/p&gt;
&lt;p&gt;12、Formalizing Fermat&apos;s Last Theorem&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、wrapture: Monkey Patch, Test, and Trace Python by Attaching Bindings to Call Sites&lt;/p&gt;
&lt;p&gt;2、nonebot2: Asynchronous Multi-Platform Chatbot Framework&lt;/p&gt;
&lt;p&gt;3、datamodel-code-generator: Generate Python Data Models from Schema Definitions&lt;/p&gt;
&lt;p&gt;4、GLiNER2: Unified Schema-Based Information Extraction and Text Classification&lt;/p&gt;
&lt;p&gt;5、autoclip: Turn Long Videos into Moments Worth Sharing&lt;/p&gt;
&lt;p&gt;6、a-stock-data: A-Share Data for AI Agents&lt;/p&gt;
&lt;p&gt;7、jev-ultrafast: Fastest and Cheapest Web Agent&lt;/p&gt;
&lt;p&gt;8、kev: Jev-like Family of Decision Models You Can Train and Run Yourself&lt;/p&gt;
&lt;p&gt;9、engrim: The Universal Cross-Model &amp;amp; Cross-Agent Episodic Memory Standard&lt;/p&gt;
&lt;p&gt;10、treg: OpenRouter for Agent Tools&lt;/p&gt;
&lt;p&gt;11、VoiceMem: Universal Memory for the Next Generation of Voice Agents&lt;/p&gt;
&lt;p&gt;12、PixelRAG: Web Screenshots Beat Text for Retrieval-Augmented Generation&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/169/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#168: AI Agents Write Half the Code; Numba at 750×; A Two-Week PyPI Outage</title><link>https://weekly.pythoncat.top/en/issues/168/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/168/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 19 Sep 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #168: AI Agents Write Half the Code; Numba at 750×; A Two-Week PyPI Outage&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Incident Report: File Hosting Errors&lt;/p&gt;
&lt;p&gt;2、Announcing the PSF Strategic Plan 2026&lt;/p&gt;
&lt;p&gt;3、Make Your Django Application Editable&lt;/p&gt;
&lt;p&gt;4、Database-Driven RBAC with FastAPI and Azure Entra ID&lt;/p&gt;
&lt;p&gt;5、PEP 846: Docstrings for Type Aliases&lt;/p&gt;
&lt;p&gt;6、PEP 845: Leading-Dot Value Patterns&lt;/p&gt;
&lt;p&gt;7、Deterministic testing for multithreaded Python&lt;/p&gt;
&lt;p&gt;8、Presentation: Python, Numba, and Algorithm Design: Building Efficient Models in Financial Services&lt;/p&gt;
&lt;p&gt;9、Introducing django-mcpz, for making MCP servers&lt;/p&gt;
&lt;p&gt;10、How Libraries Run Rust Inside Python (with PyO3)&lt;/p&gt;
&lt;p&gt;11、Squill: My Canvas for Writing SQL&lt;/p&gt;
&lt;p&gt;12、Stop Writing Edge Case Tests. Let Hypothesis Find Them Instead&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、ponytail: Make Your AI Agent Think Like a Lazy Senior Dev&lt;/p&gt;
&lt;p&gt;2、changedetection.io: Self-Hosted Website Change Detection&lt;/p&gt;
&lt;p&gt;3、OmniVoice: High-Quality Voice Cloning TTS for 600+ Languages&lt;/p&gt;
&lt;p&gt;4、VulnHunter: Agentic AI Security Tool&lt;/p&gt;
&lt;p&gt;5、datahub: The Context Platform for Data and AI Stack&lt;/p&gt;
&lt;p&gt;6、fugleramme: E-ink Bird Frame for Raspberry Pi&lt;/p&gt;
&lt;p&gt;7、MathModelAgent: Agent for Mathematical Modeling&lt;/p&gt;
&lt;p&gt;8、hyperresearch: Agent-Driven Research Knowledge Base&lt;/p&gt;
&lt;p&gt;9、distilly: Distill How They Think into Reusable Skills&lt;/p&gt;
&lt;p&gt;10、shedskin: Restricted-Python-to-C++ Transpiler&lt;/p&gt;
&lt;p&gt;11、openlibrary: One Webpage for Every Book Ever Published&lt;/p&gt;
&lt;p&gt;12、commerce-agents: Reference Blueprint for Commerce Agents&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/168/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#167: A Python Interpreter in 1024 Bytes</title><link>https://weekly.pythoncat.top/en/issues/167/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/167/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 12 Sep 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #167: A Python Interpreter in 1024 Bytes&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Python sets and dictionaries can have quadratic-time performance&lt;/p&gt;
&lt;p&gt;2、Reading &lt;strong&gt;dict&lt;/strong&gt; Once Permanently Deoptimizes Attribute Access&lt;/p&gt;
&lt;p&gt;3、Making a Python Interpreter in 1024 Bytes&lt;/p&gt;
&lt;p&gt;4、Teaching NumPy&apos;s ufuncs new tricks&lt;/p&gt;
&lt;p&gt;5、Plugin Architecture Across Service Boundaries: An API Contract with Pydantic &amp;amp; FastAPI (Pt. 1)&lt;/p&gt;
&lt;p&gt;6、Migration strategies for going from pandas to Polars&lt;/p&gt;
&lt;p&gt;7、Soft-deprecating re.match()&lt;/p&gt;
&lt;p&gt;8、When to use NotImplemented&lt;/p&gt;
&lt;p&gt;9、Parity before cutover&lt;/p&gt;
&lt;p&gt;10、Testing Async Python Without Losing Your Mind&lt;/p&gt;
&lt;p&gt;11、It Has Users and Revenue, Yet AI Apps Are Still Not a Good Business&lt;/p&gt;
&lt;p&gt;12、The Claude Code guide for startups&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、NetAlertX: Network Visibility and Asset Intelligence&lt;/p&gt;
&lt;p&gt;2、NPC-Forge: Deterministic Conversational Agents Without LLMs&lt;/p&gt;
&lt;p&gt;3、deep-swe: Benchmarking Frontier Coding Agents&lt;/p&gt;
&lt;p&gt;4、linecast: Weather, Tides, Sun and Moon in Your Terminal&lt;/p&gt;
&lt;p&gt;5、OpenExecutive: AI Virtual Executive Team&lt;/p&gt;
&lt;p&gt;6、securo: Self-hosted, Privacy-first Personal Finance&lt;/p&gt;
&lt;p&gt;7、Python Iceberg: Visualizing Python Obscurity in 3D&lt;/p&gt;
&lt;p&gt;8、cloud-in-a-bottle: Deploy and Share Web Apps on Your Own Server&lt;/p&gt;
&lt;p&gt;9、domonic: The Browser DOM in Python&lt;/p&gt;
&lt;p&gt;10、pentestkit: Autonomous Multi-Agent Pentest Framework&lt;/p&gt;
&lt;p&gt;11、PRAXIST: Autonomous Research System for Measurable, Computer-Executable Research&lt;/p&gt;
&lt;p&gt;12、FreeToken: Datacenter-Scale MoE Serving on Your Desktop&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/167/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#166: How Kimi K3 Engineered Its Way to the Frontier</title><link>https://weekly.pythoncat.top/en/issues/166/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/166/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 05 Sep 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #166: How Kimi K3 Engineered Its Way to the Frontier&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、The State of Django 2026: Boring Is So Back&lt;/p&gt;
&lt;p&gt;2、Boring Python: Dependency Management&lt;/p&gt;
&lt;p&gt;3、Introducing wrapture&lt;/p&gt;
&lt;p&gt;4、Writing AGENTS.md for Python Projects&lt;/p&gt;
&lt;p&gt;5、Tracing np.add, All the Way Down&lt;/p&gt;
&lt;p&gt;6、Functionally Zen&lt;/p&gt;
&lt;p&gt;7、OpenAI Python SDK Migrates to HTTPX2&lt;/p&gt;
&lt;p&gt;8、Thinking in Python: Fluency, Types, and Design&lt;/p&gt;
&lt;p&gt;9、htmx and Django LiveView side-by-side&lt;/p&gt;
&lt;p&gt;10、Metadata requests no longer tracked in PyPI download counts&lt;/p&gt;
&lt;p&gt;11、How Kimi K3 Engineered Its Way to the Frontier&lt;/p&gt;
&lt;p&gt;12、Announcing Polars 2.0&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、PDFMathTranslate: AI-powered PDF Translation with Preserved Layout&lt;/p&gt;
&lt;p&gt;2、oh-my-openagent: Orchestrate 11 Agents with One Command&lt;/p&gt;
&lt;p&gt;3、TradingAgents-astock: A-share Multi-Agent Investment Research&lt;/p&gt;
&lt;p&gt;4、InvoiceFlowAI: E-Invoice Collection and Reimbursement Prep&lt;/p&gt;
&lt;p&gt;5、Switchyard: Smart LLM Routing for Cost Efficiency&lt;/p&gt;
&lt;p&gt;6、awesome-agent-skills: Curated Index of 1000+ Agent Skills&lt;/p&gt;
&lt;p&gt;7、plannotator: Visual Review Tool for Coding Agents&lt;/p&gt;
&lt;p&gt;8、AI-Infra-Guard: Full-Stack AI Red Teaming Platform&lt;/p&gt;
&lt;p&gt;9、Sequoia-X: A-Share Quantitative Stock Selection System&lt;/p&gt;
&lt;p&gt;10、borg: Deduplicating Encrypted Backup Tool&lt;/p&gt;
&lt;p&gt;11、KiroCrew: Self-Hosted Persistent Agent Workspace&lt;/p&gt;
&lt;p&gt;12、vcrpy: Record and Replay HTTP Interactions&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/166/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#165: Mojo Is Now Open Source</title><link>https://weekly.pythoncat.top/en/issues/165/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/165/</guid><description>Shared 12 articles, 12 open-source projects, 3 audio/videos</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #165: Mojo Is Now Open Source&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、IPython is All You Need&lt;/p&gt;
&lt;p&gt;2、The Move to Python 3 Begins&lt;/p&gt;
&lt;p&gt;3、RISC-V Now Officially Supported&lt;/p&gt;
&lt;p&gt;4、Fuzzy String Matching in Django and PostgreSQL&lt;/p&gt;
&lt;p&gt;5、PEP 843: Export Statement for DRY Re-exports&lt;/p&gt;
&lt;p&gt;6、When Python Is Too Slow&lt;/p&gt;
&lt;p&gt;7、PEP 822: Dedented Multiline String (d-string)&lt;/p&gt;
&lt;p&gt;8、Rewriting Awkward Array&apos;s GPU Kernels in Python with NVIDIA&apos;s cuda.compute&lt;/p&gt;
&lt;p&gt;9、Mojo Is Now Open Source!&lt;/p&gt;
&lt;p&gt;10、Representing Python paths using pathlib&lt;/p&gt;
&lt;p&gt;11、Unsubscribe links without a login: Django signing&lt;/p&gt;
&lt;p&gt;12、Harness Engineering for Self-Improvement&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、aiperf: Benchmark Generative AI Inference&lt;/p&gt;
&lt;p&gt;2、VoiceStudio: Open-Source Local ElevenLabs Alternative&lt;/p&gt;
&lt;p&gt;3、ai-job-search: AI Job Application Framework&lt;/p&gt;
&lt;p&gt;4、awesome-gpt-image-2: GPT-Image2 Prompt Engine &amp;amp; Template Library&lt;/p&gt;
&lt;p&gt;5、future-agi: Open-Source AI Agent Evaluation Platform&lt;/p&gt;
&lt;p&gt;6、tick-stock-panel: A-Share Quantitative Workstation&lt;/p&gt;
&lt;p&gt;7、tortoise-orm: Familiar Async ORM for Python&lt;/p&gt;
&lt;p&gt;8、buildwithclaude: Claude Extension Hub&lt;/p&gt;
&lt;p&gt;9、fake-bpy-module: Fake Blender API Modules for Code Completion&lt;/p&gt;
&lt;p&gt;10、airllm: 70B inference with a single 4GB GPU&lt;/p&gt;
&lt;p&gt;11、PYAS: ML &amp;amp; Behavior-Based Antivirus in Python and C++&lt;/p&gt;
&lt;p&gt;12、ServerKit: Modern Server Control Panel&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、Updates on Django&apos;s Async Story&lt;/p&gt;
&lt;p&gt;2、EuroPython 2026&lt;/p&gt;
&lt;p&gt;3、PyData &amp;amp; PyCon Yerevan 2026&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/165/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#164: deepseek-harness: Everything is a Plugin</title><link>https://weekly.pythoncat.top/en/issues/164/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/164/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 22 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #164: deepseek-harness: Everything is a Plugin&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、PEP 805: Safe Parallel Python&lt;/p&gt;
&lt;p&gt;2、Python Polars: The Definitive Cheatsheet&lt;/p&gt;
&lt;p&gt;3、The Polars vs SQL differences nobody is talking about&lt;/p&gt;
&lt;p&gt;4、What&apos;s missing to have reproducible builds on PyPI&lt;/p&gt;
&lt;p&gt;5、When str.lower() is a security vulnerability in Python&lt;/p&gt;
&lt;p&gt;6、The Mullet Stack&lt;/p&gt;
&lt;p&gt;7、The Problem with pandas Isn&apos;t Performance. It&apos;s Cognitive Overhead.&lt;/p&gt;
&lt;p&gt;8、How AWS Powers PyPI and the PSF&lt;/p&gt;
&lt;p&gt;9、Python: fix SyntaxWarning: invalid octal escape sequence&lt;/p&gt;
&lt;p&gt;10、A Practical Guide to Agent Evaluation&lt;/p&gt;
&lt;p&gt;11、My Agentic Coding Setup, July 2026&lt;/p&gt;
&lt;p&gt;12、Growing as an engineer in a world of AI&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、deepseek-harness: Everything is a Plugin&lt;/p&gt;
&lt;p&gt;2、ACE-Step-1.5: The most powerful local music generation model&lt;/p&gt;
&lt;p&gt;3、OpenBiliClaw: Self-evolving AI content discovery agent&lt;/p&gt;
&lt;p&gt;4、colleague-skill: From colleague to digital life&lt;/p&gt;
&lt;p&gt;5、watermarks-remover: Strip AI provenance marks&lt;/p&gt;
&lt;p&gt;6、500-AI-Agents-Projects: 500 AI agent projects&lt;/p&gt;
&lt;p&gt;7、usage: AI quota and cost monitor&lt;/p&gt;
&lt;p&gt;8、shieldfont: Poison AI training data with a typeface&lt;/p&gt;
&lt;p&gt;9、wenyi: Bring literature into your language&lt;/p&gt;
&lt;p&gt;10、MarkCardStudio: Turn Markdown into polished social cards&lt;/p&gt;
&lt;p&gt;11、tinycast: A tiny, fully native macOS launcher&lt;/p&gt;
&lt;p&gt;12、defending-code-reference-harness: Autonomous vulnerability discovery &amp;amp; remediation&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/164/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#163: Running Numba in the Browser</title><link>https://weekly.pythoncat.top/en/issues/163/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/163/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 15 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #163: Running Numba in the Browser&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Two lines of Python that segfault the interpreter&lt;/p&gt;
&lt;p&gt;2、Building an Advanced Agentic Harness&lt;/p&gt;
&lt;p&gt;3、Numba in the Browser: Unlocking a New Scientific Python Stack in JupyterLite&lt;/p&gt;
&lt;p&gt;4、Shipping post-quantum cryptography to Python&lt;/p&gt;
&lt;p&gt;5、jsonfold: Making Pretty-Printed JSON Compact and Readable in Python&lt;/p&gt;
&lt;p&gt;6、A quick look at zero-knowledge proofs&lt;/p&gt;
&lt;p&gt;7、Prototype on a laptop, scale to 16 billion rows: one Polars query&lt;/p&gt;
&lt;p&gt;8、Projects I Wouldn&apos;t Use Python For in 2026&lt;/p&gt;
&lt;p&gt;9、PEP 844 – public and private builtins&lt;/p&gt;
&lt;p&gt;10、Breaking up (lines) is hard to do&lt;/p&gt;
&lt;p&gt;11、From Routing Checks to Trajectory Testing: Evaluating an Agentic Chatbot&lt;/p&gt;
&lt;p&gt;12、Almost Consensus: ABD and the Edges of Quorum Replication&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、index-tts: Industrial-Level Zero-Shot Text-To-Speech System&lt;/p&gt;
&lt;p&gt;2、claude-plugins-official: Official Claude Code Plugins Directory&lt;/p&gt;
&lt;p&gt;3、openworker: AI Coworker on Your Desktop&lt;/p&gt;
&lt;p&gt;4、seedance-2.0: Quad-Modal AI Filmmaking Pipeline&lt;/p&gt;
&lt;p&gt;5、SuperClaude_Framework: Configuration Framework for Claude Code&lt;/p&gt;
&lt;p&gt;6、Antra: Streaming Links to Tagged Local Music Library&lt;/p&gt;
&lt;p&gt;7、claude-obsidian: Self-organizing AI Second Brain&lt;/p&gt;
&lt;p&gt;8、learnhouse: Next-gen Open Source Learning Platform&lt;/p&gt;
&lt;p&gt;9、odysseus: Self-hosted AI Workspace&lt;/p&gt;
&lt;p&gt;10、interlock: Circuit Breaker for Python&lt;/p&gt;
&lt;p&gt;11、GeoLibre: Lightweight Cloud-Native GIS Platform&lt;/p&gt;
&lt;p&gt;12、semantica: Graph-Native Infrastructure for Context and Accountable AI Systems&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/163/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#162: PEP 841: Frozen Display Syntax</title><link>https://weekly.pythoncat.top/en/issues/162/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/162/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 08 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #162: PEP 841: Frozen Display Syntax&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、PEP 841: Frozen Display Syntax for Immutable Types&lt;/p&gt;
&lt;p&gt;2、Why time-machine Is O(1) While freezegun Is O(n)&lt;/p&gt;
&lt;p&gt;3、Production-ready Python Docker Containers with uv&lt;/p&gt;
&lt;p&gt;4、Why the Hardest Concept for Python Devs Is Concurrency&lt;/p&gt;
&lt;p&gt;5、Faster Floating Point Math with Rust&apos;s New API&lt;/p&gt;
&lt;p&gt;6、Pymmich: an AI-first OSS Python Project&lt;/p&gt;
&lt;p&gt;7、Extracting N64 ROMs from Zelda: Wind Waker Bonus Disc&lt;/p&gt;
&lt;p&gt;8、Wheels, Bottles, and Images&lt;/p&gt;
&lt;p&gt;9、Celery Recipes: From Basics to Production Patterns&lt;/p&gt;
&lt;p&gt;10、Python&apos;s Six &quot;Constants&quot; and Their Inconsistent Behaviors&lt;/p&gt;
&lt;p&gt;11、SQLite vs DuckDB on the Same $16 Box&lt;/p&gt;
&lt;p&gt;12、How Big Is a Git Commit?&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、agents: Realtime Voice AI Agent Framework&lt;/p&gt;
&lt;p&gt;2、fish-speech: SOTA Multilingual TTS Engine&lt;/p&gt;
&lt;p&gt;3、DeepSeek-Reasonix: DeepSeek-native Terminal AI Coding Agent&lt;/p&gt;
&lt;p&gt;4、TencentDB-Agent-Memory: Team-level Memory Hub for AI Agents&lt;/p&gt;
&lt;p&gt;5、InvokeAI: Stable Diffusion Creative Engine&lt;/p&gt;
&lt;p&gt;6、xy: Ultra-fast Python Charting Library&lt;/p&gt;
&lt;p&gt;7、voice-pro: TTS &amp;amp; Voice Cloning WebUI&lt;/p&gt;
&lt;p&gt;8、ADR: Enterprise AI Agent Security&lt;/p&gt;
&lt;p&gt;9、icalendar: iCalendar Parser for Python&lt;/p&gt;
&lt;p&gt;10、hackingtool: All-in-One Hacking Tool&lt;/p&gt;
&lt;p&gt;11、cnsplots: Publication-quality Scientific Plots&lt;/p&gt;
&lt;p&gt;12、claude-seo: Universal SEO Skill for Claude Code&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/162/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#161: How Claude Code Works, From Tokens to Agents</title><link>https://weekly.pythoncat.top/en/issues/161/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/161/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 01 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #161: How Claude Code Works, From Tokens to Agents&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Planned Updates to the PyPI User Interface&lt;/p&gt;
&lt;p&gt;2、Binary search in Python with bisect&lt;/p&gt;
&lt;p&gt;3、Protobuf-py: Protobuf for Python, without compromises&lt;/p&gt;
&lt;p&gt;4、Tool-Agnostic Python Lock Files With PEP 751 and pylock.toml&lt;/p&gt;
&lt;p&gt;5、PEP 842: Module Exports&lt;/p&gt;
&lt;p&gt;6、pip 26.2&apos;s --only-deps Solves 16 Years of App Deployment Hacks&lt;/p&gt;
&lt;p&gt;7、The Design of Everyday Cryptography&lt;/p&gt;
&lt;p&gt;8、Scaling NumPy on Free-Threaded Python&lt;/p&gt;
&lt;p&gt;9、Ban commits/transactions using AST analysis and linters&lt;/p&gt;
&lt;p&gt;10、How Claude Code Works, From Tokens to Agents&lt;/p&gt;
&lt;p&gt;11、3 Years of Graph Engineering with LangGraph&lt;/p&gt;
&lt;p&gt;12、What Is LLM-as-a-Judge, Really? A Field Guide to the State of the Art in 2026&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、vnpy: Open-source Quantitative Trading Platform&lt;/p&gt;
&lt;p&gt;2、pytorch_geometric: Graph Neural Network Library for PyTorch&lt;/p&gt;
&lt;p&gt;3、ida-pro-mcp: AI-powered Reverse Engineering Assistant&lt;/p&gt;
&lt;p&gt;4、Scrapegraph-ai: AI-Powered Web Scraping Library&lt;/p&gt;
&lt;p&gt;5、DocsGPT: Private AI Platform for Agents and Enterprise Search&lt;/p&gt;
&lt;p&gt;6、memanto: Memory Agent for AI Agents&lt;/p&gt;
&lt;p&gt;7、superset: Apache Data Visualization and Exploration Platform&lt;/p&gt;
&lt;p&gt;8、QwenPaw: Your Personal AI Assistant&lt;/p&gt;
&lt;p&gt;9、git-filter-repo: Quickly Rewrite Git Repository History&lt;/p&gt;
&lt;p&gt;10、streamlit: A Faster Way to Build and Share Data Apps&lt;/p&gt;
&lt;p&gt;11、engram: Evidence-based Learning Engine for Claude Code&lt;/p&gt;
&lt;p&gt;12、Hyper-Extract: Transform Unstructured Text into Structured Knowledge with LLMs&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/161/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#160: PyCon US 2026 Recap</title><link>https://weekly.pythoncat.top/en/issues/160/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/160/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 25 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #160: PyCon US 2026 Recap&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Building Agentic Workflows in Python with LangGraph&lt;/p&gt;
&lt;p&gt;2、A Data Landscape Guide for Developers&lt;/p&gt;
&lt;p&gt;3、Sandboxing an AI Agent&lt;/p&gt;
&lt;p&gt;4、Adding python-version to pyvenv.cfg&lt;/p&gt;
&lt;p&gt;5、What happens in the milliseconds after you tap pay&lt;/p&gt;
&lt;p&gt;6、In-House LLM Serving at Netflix&lt;/p&gt;
&lt;p&gt;7、Releases now reject new files after 14 days&lt;/p&gt;
&lt;p&gt;8、Deploying Web Apps in 2026&lt;/p&gt;
&lt;p&gt;9、PyCon US 2026 Recap&lt;/p&gt;
&lt;p&gt;10、Some more things about Django I&apos;ve been enjoying&lt;/p&gt;
&lt;p&gt;11、Django: introducing django-crawl&lt;/p&gt;
&lt;p&gt;12、PEP 837: Extensible JSON serialization&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、loopgain: Cost Controller for AI Agent Loops&lt;/p&gt;
&lt;p&gt;2、protobuf-py: Modern Protocol Buffers for Python&lt;/p&gt;
&lt;p&gt;3、ai-agent-book: &quot;In-Depth Understanding of AI Agents: Design Principles and Engineering Practice&quot;&lt;/p&gt;
&lt;p&gt;4、LightRAG: Simple and Fast Retrieval-Augmented Generation&lt;/p&gt;
&lt;p&gt;5、AI-Infra-Guard: Full-Stack AI Red Teaming Platform&lt;/p&gt;
&lt;p&gt;6、outlines: Structured Text Generation&lt;/p&gt;
&lt;p&gt;7、WrenAI: GenBI for AI Agents&lt;/p&gt;
&lt;p&gt;8、ODS: Osmantic Device Server&lt;/p&gt;
&lt;p&gt;9、SenseNova-U1: Native Unified Multimodal Model&lt;/p&gt;
&lt;p&gt;10、gs-quant: Python Toolkit for Quantitative Finance&lt;/p&gt;
&lt;p&gt;11、headroom: Context Compression for AI Agents&lt;/p&gt;
&lt;p&gt;12、Omnigent: Meta-Harness for AI Coding Agents&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/160/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#159: Python 3.15 Preview</title><link>https://weekly.pythoncat.top/en/issues/159/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/159/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 18 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #159: Python 3.15 Preview&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、PEP 840 – Name Resolution in Class Namespaces&lt;/p&gt;
&lt;p&gt;2、Python 3.15 Preview: Upgraded JIT Compiler&lt;/p&gt;
&lt;p&gt;3、Supporting the Triptych Project&lt;/p&gt;
&lt;p&gt;4、Objects and Types in Python&lt;/p&gt;
&lt;p&gt;5、How We Scaled Notifications with Fanout&lt;/p&gt;
&lt;p&gt;6、What Every Python Developer Should Know About the CPython ABI&lt;/p&gt;
&lt;p&gt;7、How Airflow is using AI to make data engineering more resilient, not more complex&lt;/p&gt;
&lt;p&gt;8、Python 3.15’s Ultra-Low Overhead Interpreter Profiling Mode&lt;/p&gt;
&lt;p&gt;9、Building a fast HTML toolkit in C for Python&lt;/p&gt;
&lt;p&gt;10、You shouldn&apos;t trust Trusted Publishing&lt;/p&gt;
&lt;p&gt;11、What Makes System Calls Expensive: A Linux Internals Deep Dive&lt;/p&gt;
&lt;p&gt;12、Loop engineering: Getting started with loops&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、chrome-devtools-mcp: Chrome DevTools for coding agents&lt;/p&gt;
&lt;p&gt;2、runloom: Go-style coroutines for Python free-threaded&lt;/p&gt;
&lt;p&gt;3、pr-agent: AI-powered PR review agent&lt;/p&gt;
&lt;p&gt;4、fara: Efficient Agentic Model for Computer Use&lt;/p&gt;
&lt;p&gt;5、book-to-skill: Turn technical books into Claude Code skills&lt;/p&gt;
&lt;p&gt;6、home-assistant: Open source home automation&lt;/p&gt;
&lt;p&gt;7、geosql: Geospatial analytics agent for Claude&lt;/p&gt;
&lt;p&gt;8、paperless-ngx: Document management system&lt;/p&gt;
&lt;p&gt;9、nanobot: Lightweight AI agent framework&lt;/p&gt;
&lt;p&gt;10、CapsWriter-Offline: Offline voice input tool&lt;/p&gt;
&lt;p&gt;11、OpenMAIC: Open Multi-Agent Interactive Classroom&lt;/p&gt;
&lt;p&gt;12、Echo-Loop: AI English listening &amp;amp; speaking app&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/159/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#158: Add frozendict built-in type</title><link>https://weekly.pythoncat.top/en/issues/158/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/158/</guid><description>Shared 11 articles, 12 open-source projects</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #158: Add frozendict built-in type&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、PEP 814: Add frozendict built-in type&lt;/p&gt;
&lt;p&gt;2、A peek into Reddit&apos;s anti-spam internals&lt;/p&gt;
&lt;p&gt;3、How to publish to PyPI using GitHub Actions securely&lt;/p&gt;
&lt;p&gt;4、Write a coding agent from first principles: better tools&lt;/p&gt;
&lt;p&gt;5、Serving a Frontend with FastAPI: A Practical Guide&lt;/p&gt;
&lt;p&gt;6、Use AI to not use AI (as much)&lt;/p&gt;
&lt;p&gt;7、Wagtail as Django admin on steroids&lt;/p&gt;
&lt;p&gt;8、Free-threaded Python: past, present, and future&lt;/p&gt;
&lt;p&gt;9、Peewee 4: Async, JSON, Eager-Loading and Types&lt;/p&gt;
&lt;p&gt;10、How LLMs Actually Work&lt;/p&gt;
&lt;p&gt;11、Ten years of ClickHouse in open source&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、skills-for-fabric: Microsoft Fabric AI coding assistant skills&lt;/p&gt;
&lt;p&gt;2、claude-video: Give Claude the ability to watch any video&lt;/p&gt;
&lt;p&gt;3、fortress: Stealth Chromium engine&lt;/p&gt;
&lt;p&gt;4、pon: Python 3.14 JIT &amp;amp; AoT native compiler&lt;/p&gt;
&lt;p&gt;5、tau: Minimalist terminal coding agent&lt;/p&gt;
&lt;p&gt;6、video-use: Edit videos with coding agents&lt;/p&gt;
&lt;p&gt;7、graphify: AI coding assistant knowledge graph&lt;/p&gt;
&lt;p&gt;8、speech-to-speech: Build local voice agents with open-source models&lt;/p&gt;
&lt;p&gt;9、ai-berkshire: AI-era value investing research framework&lt;/p&gt;
&lt;p&gt;10、VulnClaw: AI-powered penetration testing tool&lt;/p&gt;
&lt;p&gt;11、NeMo Speech: NVIDIA&apos;s scalable speech AI framework&lt;/p&gt;
&lt;p&gt;12、LingBot-Map: Feed-forward 3D foundation model for streaming reconstruction&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/158/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#157: CPython JIT Compiler Development Roadmap</title><link>https://weekly.pythoncat.top/en/issues/157/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/157/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 04 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #157: CPython JIT Compiler Development Roadmap&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Mitigated API authentication bypass for python.org download metadata&lt;/p&gt;
&lt;p&gt;2、uv skills for coding agents&lt;/p&gt;
&lt;p&gt;3、Python: store extra data for objects in a WeakKeyDictionary&lt;/p&gt;
&lt;p&gt;4、Bridging conda and PyPI ecosystems: Install PyPI packages with conda install&lt;/p&gt;
&lt;p&gt;5、PEP 836: The Path to a Supported JIT Compiler for CPython&lt;/p&gt;
&lt;p&gt;6、Read Python behind the scenes #3: stepping through the CPython source code&lt;/p&gt;
&lt;p&gt;7、Async/Await is a Plague: Part 1 Roots&lt;/p&gt;
&lt;p&gt;8、Ask the Canon: Semantic Search Without a Vector Database&lt;/p&gt;
&lt;p&gt;9、Pyodide 314.0 Release&lt;/p&gt;
&lt;p&gt;10、How and why to run modified Python code using the ast module&lt;/p&gt;
&lt;p&gt;11、The 2026 way of using importmaps in Django&lt;/p&gt;
&lt;p&gt;12、Breaking Circular Imports in Python Without Losing Type Safety&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、Unlimited-OCR: Unlimited OCR Works&lt;/p&gt;
&lt;p&gt;2、jc: CLI to JSON Converter&lt;/p&gt;
&lt;p&gt;3、MONAI: AI Toolkit for Healthcare Imaging&lt;/p&gt;
&lt;p&gt;4、Voicebox: Open-Source AI Voice Studio&lt;/p&gt;
&lt;p&gt;5、ai-agents-from-zero: AI Agent Learning Roadmap&lt;/p&gt;
&lt;p&gt;6、awesome-django: Curated Django Resources&lt;/p&gt;
&lt;p&gt;7、graphify: AI Coding Assistant Knowledge Graph&lt;/p&gt;
&lt;p&gt;8、biliTickerBuy: Bilibili Auto Ticket Buyer&lt;/p&gt;
&lt;p&gt;9、sia: Self-Improving AI&lt;/p&gt;
&lt;p&gt;10、stable-worldmodel: Reproducible World Model Research and Evaluation Platform&lt;/p&gt;
&lt;p&gt;11、EverOS: Self-Evolving Memory Across Agent and Platform&lt;/p&gt;
&lt;p&gt;12、WinPodX: Windows pod system for Linux&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/157/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#156: Pydantic Takes Over httpx</title><link>https://weekly.pythoncat.top/en/issues/156/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/156/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 27 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #156: Pydantic Takes Over httpx&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、The Complete Story of Python JIT Being Halted&lt;/p&gt;
&lt;p&gt;2、The Story of Pydantic Taking Over httpx: A Textbook Open Source Community Rescue&lt;/p&gt;
&lt;p&gt;3、The Fastest Python Struct?&lt;/p&gt;
&lt;p&gt;4、Free Threading internals: PyMutex&lt;/p&gt;
&lt;p&gt;5、Why I wrote PEP 832 -- virtual environment discovery&lt;/p&gt;
&lt;p&gt;6、Write a coding agent from first principles&lt;/p&gt;
&lt;p&gt;7、Scikit-learn&apos;s fit transform paradigm is probably not for you&lt;/p&gt;
&lt;p&gt;8、Context Engineering for Python Codebases&lt;/p&gt;
&lt;p&gt;9、PEP 835: Shorthand syntax for Annotated type metadata&lt;/p&gt;
&lt;p&gt;10、Choosing Python Task Queue Library&lt;/p&gt;
&lt;p&gt;11、Armin Ronacher: The Coming Loop&lt;/p&gt;
&lt;p&gt;12、How we contain Claude across products&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、uuid-utils: Rust-Based Replacement for Python&apos;s UUID&lt;/p&gt;
&lt;p&gt;2、HippoRAG: Neurobiologically Inspired Long-Term Memory for LLMs&lt;/p&gt;
&lt;p&gt;3、storm: LLM-Powered Knowledge Curation System&lt;/p&gt;
&lt;p&gt;4、microsoft/presidio: Data Protection and De-identification SDK&lt;/p&gt;
&lt;p&gt;5、GNews: A Python Package for Google News Search&lt;/p&gt;
&lt;p&gt;6、scientific-agent-skills: 147 Ready-to-Use Scientific Agent Skills&lt;/p&gt;
&lt;p&gt;7、obsidian-wiki: AI Agent Digital Brain Framework&lt;/p&gt;
&lt;p&gt;8、sdk-python: End-to-End AI Agent Orchestration SDK&lt;/p&gt;
&lt;p&gt;9、claude-tap: Local Proxy and Trace Viewer for AI Coding Agents&lt;/p&gt;
&lt;p&gt;10、kirigami: PEP Discussion Reader &amp;amp; Analyzer&lt;/p&gt;
&lt;p&gt;11、Symbolica: high-performance computer algebra library for Python and Rust&lt;/p&gt;
&lt;p&gt;12、MediaCrawler: Multi-platform Social Media Crawler&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/156/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#155: Python 3.14 GC Rigamarole and More</title><link>https://weekly.pythoncat.top/en/issues/155/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/155/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 20 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #155: Python 3.14 GC Rigamarole and More&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Introducing Apache Arrow Support in mssql-python&lt;/p&gt;
&lt;p&gt;2、Raw+DC: The ORM pattern of 2026?&lt;/p&gt;
&lt;p&gt;3、The Smallest Brain You Can Build: A Perceptron in Python&lt;/p&gt;
&lt;p&gt;4、Replacing Flask with Robyn wasn&apos;t worth it&lt;/p&gt;
&lt;p&gt;5、Debugging in Python, part 14: Resolving recursion issues&lt;/p&gt;
&lt;p&gt;6、When to use classmethod, staticmethod, or instance method in Python&lt;/p&gt;
&lt;p&gt;7、Python 3.14 Garbage Collection Rigamarole&lt;/p&gt;
&lt;p&gt;8、How and Why to Run Modified Python Code Using the ast Module&lt;/p&gt;
&lt;p&gt;9、How I Made Dependency Injection in Python 130× Faster&lt;/p&gt;
&lt;p&gt;10、A GitHub Pages Alternative with Native Python&lt;/p&gt;
&lt;p&gt;11、Jupyter Enterprise Gateway: From Notebook to Kubernetes Cluster Admin&lt;/p&gt;
&lt;p&gt;12、Plugins Case Study: Pluggy&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、train-llm-from-scratch: A complete pipeline for training LLMs from scratch&lt;/p&gt;
&lt;p&gt;2、claude-bug-bounty: AI-powered bug bounty hunting inside Claude Code&lt;/p&gt;
&lt;p&gt;3、opik: Debug, evaluate, and monitor your LLM applications&lt;/p&gt;
&lt;p&gt;4、bocpy: Behavior-Oriented Concurrency in Python&lt;/p&gt;
&lt;p&gt;5、django-upgrade: Automatically upgrade your Django projects&lt;/p&gt;
&lt;p&gt;6、heretic: Fully automatic censorship removal for language models&lt;/p&gt;
&lt;p&gt;7、codebase-memory-mcp: High-performance code intelligence MCP server&lt;/p&gt;
&lt;p&gt;8、agent-governance-toolkit: AI Agent Governance Toolkit&lt;/p&gt;
&lt;p&gt;9、agentmemory: Persistent memory for AI coding agents&lt;/p&gt;
&lt;p&gt;10、inferencefs: The new data-free filesystem!&lt;/p&gt;
&lt;p&gt;11、maths-cs-ai-compendium: Become a cracked AI/ML Research Engineer&lt;/p&gt;
&lt;p&gt;12、helmor: Open-source local workbench for multi-agent software development&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/155/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#154: CPython JIT Temporarily Suspended</title><link>https://weekly.pythoncat.top/en/issues/154/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/154/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 13 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #154: CPython JIT Temporarily Suspended&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、CPython: 36 Years of Source Code&lt;/p&gt;
&lt;p&gt;2、Running Python code in a sandbox with MicroPython and WASM&lt;/p&gt;
&lt;p&gt;3、Incident Report: LiteLLM/Telnyx supply-chain attacks, with guidance&lt;/p&gt;
&lt;p&gt;4、The Claude Code transcript from discovering the LiteLLM supply chain attack&lt;/p&gt;
&lt;p&gt;5、How to write Claude Code hooks for Python projects&lt;/p&gt;
&lt;p&gt;6、Use Chameleon templates in the Robyn web framework&lt;/p&gt;
&lt;p&gt;7、Using a ~/.pdbrc file to customize the Python Debugger&lt;/p&gt;
&lt;p&gt;8、Read: Python behind the scenes #1 - How the CPython VM Works&lt;/p&gt;
&lt;p&gt;9、OpenClaw: Technical Notes and Takeaways for AI Application Development&lt;/p&gt;
&lt;p&gt;10、Raw+DC Database Pattern: A Retrospective&lt;/p&gt;
&lt;p&gt;11、Indexable iterables&lt;/p&gt;
&lt;p&gt;12、An announcement from the Steering Council regarding the JIT project&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、LlamaFactory: Unified Efficient Fine-Tuning of 100+ LLMs &amp;amp; VLMs&lt;/p&gt;
&lt;p&gt;2、supervision: Reusable Computer Vision Tools&lt;/p&gt;
&lt;p&gt;3、Agent-Reach: Give Your AI Agent Eyes to See the Internet&lt;/p&gt;
&lt;p&gt;4、SkillSpector: Security scanner for AI agent skills&lt;/p&gt;
&lt;p&gt;5、Zulip: Open-source organized team chat&lt;/p&gt;
&lt;p&gt;6、MemPalace: Local-first AI memory&lt;/p&gt;
&lt;p&gt;7、autoresearch: AI agents autonomously run training experiments&lt;/p&gt;
&lt;p&gt;8、MLflow: Open-source AI engineering platform&lt;/p&gt;
&lt;p&gt;9、maigret: Collect a dossier on a person by username from thousands of sites&lt;/p&gt;
&lt;p&gt;10、secure: Unified HTTP security headers for Python web frameworks&lt;/p&gt;
&lt;p&gt;11、OpenMontage: World&apos;s first open-source agentic video production system&lt;/p&gt;
&lt;p&gt;12、claude-code-templates: CLI Tool for Claude Code Configuration, Monitoring &amp;amp; Component Marketplace&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/154/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#153: Control and Memory for AI Agents</title><link>https://weekly.pythoncat.top/en/issues/153/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/153/</guid><description>Shared 12 articles, 14 open-source projects</description><pubDate>Sat, 06 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #153: Control and Memory for AI Agents&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Breaking Circular Imports in Python Without Losing Type Safety&lt;/p&gt;
&lt;p&gt;2、blanket: Deterministic Multithreaded Testing in Python&lt;/p&gt;
&lt;p&gt;3、How Servers Work: A Hands-On Introduction to TCP Sockets&lt;/p&gt;
&lt;p&gt;4、django-integrity-policy: Integrity-Policy Middleware for Django&lt;/p&gt;
&lt;p&gt;5、nb-cli: A CLI for AI Agents and Notebook Automation&lt;/p&gt;
&lt;p&gt;6、LLM Evaluation and AI Observability for Agent Monitoring&lt;/p&gt;
&lt;p&gt;7、Agent Hooks: Deterministic Control for Agent Workflows&lt;/p&gt;
&lt;p&gt;8、Rethinking Search as Code Generation&lt;/p&gt;
&lt;p&gt;9、How often does Python allocate?&lt;/p&gt;
&lt;p&gt;10、Building Memory Systems for AI Agents&lt;/p&gt;
&lt;p&gt;11、How LLMs Actually Work&lt;/p&gt;
&lt;p&gt;12、From Zero to Agent: 17 Agent Architecture Evolutions&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、awesome-harness-engineering: Curated Harness Engineering Resources&lt;/p&gt;
&lt;p&gt;2、Eagle: Frontier Vision-Language Models with Data-Centric Strategies&lt;/p&gt;
&lt;p&gt;3、headroom: Context Compression for AI Agents&lt;/p&gt;
&lt;p&gt;4、hermes-webui: Web UI for Hermes Agent&lt;/p&gt;
&lt;p&gt;5、deep-eye: AI-Powered Vulnerability Scanner&lt;/p&gt;
&lt;p&gt;6、stable-worldmodel: Reproducible World Model Research Platform&lt;/p&gt;
&lt;p&gt;7、hiring-agent: AI Resume Evaluation &amp;amp; Scoring&lt;/p&gt;
&lt;p&gt;8、Vibe-Trading: Your Personal Trading Agent&lt;/p&gt;
&lt;p&gt;9、skills: Google&apos;s Agent Skills Collection&lt;/p&gt;
&lt;p&gt;10、Horizon: AI-Powered News Radar&lt;/p&gt;
&lt;p&gt;11、EverOS: Self-Evolving Memory Across Agent and Platform&lt;/p&gt;
&lt;p&gt;12、remove-ai-watermarks: Strip Visible and Invisible AI Watermarks&lt;/p&gt;
&lt;p&gt;13、semble: Fast Code Search for Agents, 98% Fewer Tokens than grep+read&lt;/p&gt;
&lt;p&gt;14、ViMax: Agentic Video Generation, Director &amp;amp; Producer All-in-One&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/153/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#152: Have AI Coding Agents Finally Crossed the Quality Threshold?</title><link>https://weekly.pythoncat.top/en/issues/152/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/152/</guid><description>Shared 10 articles, 12 open-source projects</description><pubDate>Sat, 30 May 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #152: Have AI Coding Agents Finally Crossed the Quality Threshold?&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Batching API calls&lt;/p&gt;
&lt;p&gt;2、Shrink Your Python Container in One Command with SlimToolkit&lt;/p&gt;
&lt;p&gt;3、Build a Live Object Detection App for the Reachy Mini With TensorFlow and PyCharm&lt;/p&gt;
&lt;p&gt;4、When Python Manual Wiring Turns Into Copy-Paste Architecture&lt;/p&gt;
&lt;p&gt;5、In-Kernel Broadcast Optimization: Co-Designing Kernels for RecSys Inference&lt;/p&gt;
&lt;p&gt;6、The Last Six Months in LLMs in Five Minutes&lt;/p&gt;
&lt;p&gt;7、Transformer From Scratch&lt;/p&gt;
&lt;p&gt;8、A History of IDEs at Google&lt;/p&gt;
&lt;p&gt;9、The Boundary of Pydantic&lt;/p&gt;
&lt;p&gt;10、What We Maintain When Maintaining Model API&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、RAMPART: Risk Assessment &amp;amp; Measurement Platform for Agentic Red Teaming&lt;/p&gt;
&lt;p&gt;2、ZOZO&apos;s Contact Solver: A contact solver for physics-based simulations involving shells, solids and rods&lt;/p&gt;
&lt;p&gt;3、BleachBit: Cleans files to free disk space and to maintain privacy&lt;/p&gt;
&lt;p&gt;4、turbovec: A 10M document vector index that fits in 4GB RAM and searches faster than FAISS&lt;/p&gt;
&lt;p&gt;5、Anthropic Cybersecurity Skills: The largest open-source cybersecurity skills library for AI agents&lt;/p&gt;
&lt;p&gt;6、LongLive: Real-time Interactive Long Video Generation&lt;/p&gt;
&lt;p&gt;7、OBLITERATUS: Advanced open-source toolkit for understanding and removing refusal behaviors from LLMs&lt;/p&gt;
&lt;p&gt;8、Webwright: A Terminal Is All You Need For Web Agents&lt;/p&gt;
&lt;p&gt;9、whichllm: Find the best local LLM that actually runs on your hardware&lt;/p&gt;
&lt;p&gt;10、OmniParse: Ingest, parse, and optimize any data format for enhanced compatibility with GenAI frameworks&lt;/p&gt;
&lt;p&gt;11、Kami: Good content deserves good paper&lt;/p&gt;
&lt;p&gt;12、Open Design: The open-source alternative to Claude Design&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/152/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#151: Takeaways from PyCon US 2026</title><link>https://weekly.pythoncat.top/en/issues/151/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/151/</guid><description>Sharing 11 articles, 12 open-source projects</description><pubDate>Sun, 24 May 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #151: Takeaways from PyCon US 2026&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Python 3.15: features that didn&apos;t make the headlines&lt;/p&gt;
&lt;p&gt;2、Opaque Types in Python&lt;/p&gt;
&lt;p&gt;3、uv is fantastic, but its package management UX is a mess&lt;/p&gt;
&lt;p&gt;4、If AI Writes Your Code, Why Use Python?&lt;/p&gt;
&lt;p&gt;5、Cleaning the Slate: The Radical Engineering Behind Python 3.0&lt;/p&gt;
&lt;p&gt;6、4 Pyrefly Type Narrowing Patterns that make Type Checking more Intuitive&lt;/p&gt;
&lt;p&gt;7、Build a route planner for maps using Python&lt;/p&gt;
&lt;p&gt;8、My experience at PyCon US 2026&lt;/p&gt;
&lt;p&gt;9、Symptoms of Bad Software Design&lt;/p&gt;
&lt;p&gt;10、How Browsers Work&lt;/p&gt;
&lt;p&gt;11、The Eternal Promise: A History of Attempts to Eliminate Programmers&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、CLI-Anything: Making ALL Software Agent-Native&lt;/p&gt;
&lt;p&gt;2、Shadowbroker: Real-Time Geospatial Intelligence Platform&lt;/p&gt;
&lt;p&gt;3、Memori: Memory Infrastructure for AI Agents&lt;/p&gt;
&lt;p&gt;4、qiaomu-anything-to-notebooklm: Anything to NotebookLM&lt;/p&gt;
&lt;p&gt;5、Forge: A Reliability Layer for Self-Hosted LLM Tool-Calling&lt;/p&gt;
&lt;p&gt;6、Articraft: An Agentic System for Scalable Articulated 3D Asset Generation&lt;/p&gt;
&lt;p&gt;7、DreamServer: Own Your AI&lt;/p&gt;
&lt;p&gt;8、Dograh: Open Source Voice Agent Platform&lt;/p&gt;
&lt;p&gt;9、Decepticon: Autonomous Red Team Agent&lt;/p&gt;
&lt;p&gt;10、CodeBoarding: Interactive Architecture Diagrams for Codebases&lt;/p&gt;
&lt;p&gt;11、geo-seo-claude: GEO-first SEO Skill for Claude Code&lt;/p&gt;
&lt;p&gt;12、JustHireMe: Local-first AI Job Intelligence Workbench&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/151/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#150: A Practical Guide to Python Project Profiling</title><link>https://weekly.pythoncat.top/en/issues/150/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/150/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 16 May 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #150: A Practical Guide to Python Project Profiling&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、A Recap of the PyCon US 2026 Typing Summit&lt;/p&gt;
&lt;p&gt;2、Introducing Retrace: Record Python in Production and Debug in Reverse&lt;/p&gt;
&lt;p&gt;3、Compiling SQLGlot with mypyc to Speed Up SQL Transpilation&lt;/p&gt;
&lt;p&gt;4、Embracing the httpx2 Branch&lt;/p&gt;
&lt;p&gt;5、Pyrefly v1.0 Officially Released&lt;/p&gt;
&lt;p&gt;6、Using Python to Watch for Changes and Auto-Refresh Web Pages in the Browser&lt;/p&gt;
&lt;p&gt;7、A Practical Guide to Python Project Profiling with uv&lt;/p&gt;
&lt;p&gt;8、Why Are Terminal User Interfaces (TUIs) Making a Comeback?&lt;/p&gt;
&lt;p&gt;9、A Getting-Started Guide to AI Agents&lt;/p&gt;
&lt;p&gt;10、The World Before GitHub&lt;/p&gt;
&lt;p&gt;11、Dissecting MicroGPT Interactively&lt;/p&gt;
&lt;p&gt;12、Building Your Own Text Editor from Scratch and Making It Your Daily Driver&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、academic-research-skills: A Suite of Claude Code AI Agents for Academic Research&lt;/p&gt;
&lt;p&gt;2、hermes-agent-self-evolution: A Self-Evolving System for the Hermes Agent&lt;/p&gt;
&lt;p&gt;3、bambuddy: A Self-Hosted Management System for Bambu Lab 3D Printers&lt;/p&gt;
&lt;p&gt;4、pocket-tts: A Lightweight Text-to-Speech Tool That Runs on CPU&lt;/p&gt;
&lt;p&gt;5、ios-simulator-skill: A Claude Code Skill for the iOS Simulator&lt;/p&gt;
&lt;p&gt;6、Hiddify-Manager: A Multi-User Anti-Censorship Proxy Management Panel&lt;/p&gt;
&lt;p&gt;7、Auto-claude-code-research-in-sleep: An Overnight Automated ML Research Assistant&lt;/p&gt;
&lt;p&gt;8、mirage: A Unified Virtual File System for AI Agents&lt;/p&gt;
&lt;p&gt;9、kiro-gateway: An API Proxy Gateway for the Kiro IDE&lt;/p&gt;
&lt;p&gt;10、wechat-decrypt: A Decryption Tool for WeChat 4.0 Databases&lt;/p&gt;
&lt;p&gt;11、open-interpreter: A Tool for Interacting with Computers in Natural Language&lt;/p&gt;
&lt;p&gt;12、argos-translate: An Open-Source Offline Translation Library&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/150/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#149: What&apos;s new in pip 26.1</title><link>https://weekly.pythoncat.top/en/issues/149/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/149/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 09 May 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #149: What&apos;s new in pip 26.1&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、What&apos;s new in pip 26.1&lt;/p&gt;
&lt;p&gt;2、The Complete Guide to Python Concurrency&lt;/p&gt;
&lt;p&gt;3、browser-use vs. Playwright: Which Should You Pick for Web Scraping?&lt;/p&gt;
&lt;p&gt;4、Django: fixing a memory “leak” from Python 3.14’s incremental garbage collection&lt;/p&gt;
&lt;p&gt;5、Typing Your Django Project in 2026&lt;/p&gt;
&lt;p&gt;6、How I built a sub-500ms latency voice agent from scratch&lt;/p&gt;
&lt;p&gt;7、boc: Behavior-Oriented Concurrency for Python&lt;/p&gt;
&lt;p&gt;8、Cleaning up unused imports&lt;/p&gt;
&lt;p&gt;9、Boosting multimodal inference performance by &amp;gt;10% with a single Python dictionary&lt;/p&gt;
&lt;p&gt;10、Using Bag-of-Words With PyCharm&lt;/p&gt;
&lt;p&gt;11、SQLAlchemy 2 In Practice - Chapter 7: Asynchronous SQLAlchemy&lt;/p&gt;
&lt;p&gt;12、Floating point from scratch: Hard Mode&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、financial-services: Claude for Financial Services&lt;/p&gt;
&lt;p&gt;2、memsearch: A persistent, unified memory layer for all your AI agents&lt;/p&gt;
&lt;p&gt;3、XianyuAutoAgent: Intelligent Customer Service Bot System for Xianyu&lt;/p&gt;
&lt;p&gt;4、CloakBrowser: Stealth Chromium that passes every bot detection test&lt;/p&gt;
&lt;p&gt;5、awesome-codex-skills: A curated list of practical Codex skills for automating workflows across the Codex CLI and API&lt;/p&gt;
&lt;p&gt;6、honker: Minimal AI code review tool&lt;/p&gt;
&lt;p&gt;7、docglow: Modern documentation site generator for dbt Core&lt;/p&gt;
&lt;p&gt;8、aidlc-workflows: AI-Driven Life Cycle adaptive workflow steering rules for AI coding agents&lt;/p&gt;
&lt;p&gt;9、Rapid-MLX: The fastest local AI engine for Apple Silicon&lt;/p&gt;
&lt;p&gt;10、ai4animationpy: Python framework for AI-driven character animation&lt;/p&gt;
&lt;p&gt;11、openai-cs-agents-demo: Demo of a customer service use case implemented with the OpenAI Agents SDK&lt;/p&gt;
&lt;p&gt;12、TranslateBooksWithLLMs: Translate full-length books and documents with LLMs&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/149/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#148: Using LLMs to Find Python C-Extension Vulnerabilities</title><link>https://weekly.pythoncat.top/en/issues/148/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/148/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 25 Apr 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #148: Using LLMs to Find Python C-Extension Vulnerabilities&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、PyPI has completed its second audit&lt;/p&gt;
&lt;p&gt;2、PyTexas 2026 Recap&lt;/p&gt;
&lt;p&gt;3、Defense in Depth: A Practical Guide to Python Supply Chain Security&lt;/p&gt;
&lt;p&gt;4、PEP 833 – Freezing the HTML simple repository API&lt;/p&gt;
&lt;p&gt;5、Django: fixing a memory “leak” from Python 3.14’s incremental garbage collection&lt;/p&gt;
&lt;p&gt;6、Array API adoption: Performance wins across the ecosystem&lt;/p&gt;
&lt;p&gt;7、Learn Python object-oriented programming with Raymond Hettinger&lt;/p&gt;
&lt;p&gt;8、Building a Better conda CLI: A Vision&lt;/p&gt;
&lt;p&gt;9、Building a Python Library in 2026&lt;/p&gt;
&lt;p&gt;10、Reimagine Python Notebooks in the AI Era&lt;/p&gt;
&lt;p&gt;11、Using LLMs to find Python C-extension bugs&lt;/p&gt;
&lt;p&gt;12、Components of A Coding Agent&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、planning-with-files: AI Agent Persistent Markdown Planning Tool&lt;/p&gt;
&lt;p&gt;2、fastmcp: Fast MCP Server and Client Development&lt;/p&gt;
&lt;p&gt;3、FinceptTerminal: Modern Financial Terminal Application&lt;/p&gt;
&lt;p&gt;4、lyra: Open Generative 3D World Models&lt;/p&gt;
&lt;p&gt;5、GR00T-WholeBodyControl: Unified Platform for Advanced Humanoid Controllers&lt;/p&gt;
&lt;p&gt;6、MOSS-TTS: Open-source speech and sound generation model family&lt;/p&gt;
&lt;p&gt;7、secure: Modern Python library for HTTP security headers&lt;/p&gt;
&lt;p&gt;8、ml-intern: An open-source machine learning intern&lt;/p&gt;
&lt;p&gt;9、ai-engineering-from-scratch: Learn it. Build it. Ship it for others.&lt;/p&gt;
&lt;p&gt;10、dinobase: The agent-first data platform&lt;/p&gt;
&lt;p&gt;11、browser-harness: Self-healing harness that enables LLMs to complete any task&lt;/p&gt;
&lt;p&gt;12、docking: A lightweight, feature-rich dock for Linux&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/148/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#147: The Story of JIT in Python and Ruby</title><link>https://weekly.pythoncat.top/en/issues/147/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/147/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 18 Apr 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #147：The Story of JIT in Python and Ruby&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Two Answers to One Question: The JIT Story of Python and Ruby&lt;/p&gt;
&lt;p&gt;2、Python is More Than Writing Code: The Powerful &quot;Political System&quot; Behind It&lt;/p&gt;
&lt;p&gt;3、Why aren&apos;t we uv yet?&lt;/p&gt;
&lt;p&gt;4、Decoupling Your Business Logic from the Django ORM&lt;/p&gt;
&lt;p&gt;5、Pandas v/s Polars | Backed by a 10 Million Row Study&lt;/p&gt;
&lt;p&gt;6、A Python Interpreter Written in Python&lt;/p&gt;
&lt;p&gt;7、PEP 830: Add timestamps to exceptions and tracebacks&lt;/p&gt;
&lt;p&gt;8、PEP 831 – Frame Pointers Everywhere: Enabling System-Level Observability for Python&lt;/p&gt;
&lt;p&gt;9、PEP 832 – Virtual environment discovery&lt;/p&gt;
&lt;p&gt;10、Tracking Celery Task Failures in Python&lt;/p&gt;
&lt;p&gt;11、Python Type Checker Comparison: Speed and Memory Usage&lt;/p&gt;
&lt;p&gt;12、Reverting the incremental GC in Python 3.14 and 3.15&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、GenericAgent: Self-evolving AI Agent&lt;/p&gt;
&lt;p&gt;2、CowAgent: Super AI Agent based on LLMs&lt;/p&gt;
&lt;p&gt;3、opensre: Build your own AI SRE agents&lt;/p&gt;
&lt;p&gt;4、ppt-master: AI generates natively editable PPTX from any document&lt;/p&gt;
&lt;p&gt;5、parameter-golf: Train the smallest LM you can that fits in 16MB&lt;/p&gt;
&lt;p&gt;6、textgen: The original local LLM interface&lt;/p&gt;
&lt;p&gt;7、Bindu: Turn any AI agent into a living microservice&lt;/p&gt;
&lt;p&gt;8、pypi-security-best-practices: Collection of PyPI Security Best Practices&lt;/p&gt;
&lt;p&gt;9、great-docs: easily build a Python package docs site&lt;/p&gt;
&lt;p&gt;10、omlx: Apple Silicon LLM inference server&lt;/p&gt;
&lt;p&gt;11、python-docx-template: Use a docx as a jinja2 template&lt;/p&gt;
&lt;p&gt;12、qodo-cover: AI-Powered Tool for Automated Test Generation&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/147/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#146: Rust for CPython Progress Update</title><link>https://weekly.pythoncat.top/en/issues/146/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/146/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 11 Apr 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #146：Rust for CPython Progress Update&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Decentralized AI in 50 Lines of Python&lt;/p&gt;
&lt;p&gt;2、Python 3.3: The Version That Quietly Rewired Everything&lt;/p&gt;
&lt;p&gt;3、Python: introducing profiling-explorer&lt;/p&gt;
&lt;p&gt;4、Rust for CPython Progress Update April 2026&lt;/p&gt;
&lt;p&gt;5、Rust Made Me a Better Python Developer&lt;/p&gt;
&lt;p&gt;6、Async Python is Secretly Deterministic&lt;/p&gt;
&lt;p&gt;7、Enforce Business Logic in the Database with Django&lt;/p&gt;
&lt;p&gt;8、Building an Invisible Daemon: Architecture Patterns for Local Developer Tools&lt;/p&gt;
&lt;p&gt;9、PEP 786 – Precision and modulo-precision flag format specifiers for integer fields&lt;/p&gt;
&lt;p&gt;10、The Engineering Philosophy of LLM Applications&lt;/p&gt;
&lt;p&gt;11、Components of A Coding Agent&lt;/p&gt;
&lt;p&gt;12、I Replaced Kafka, Redis, and RabbitMQ With One Tool. Here’s What I Learned.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、personaplex: Voice and Role Control for Full Duplex Conversational Speech Models&lt;/p&gt;
&lt;p&gt;2、DeepTutor: Agent-Native Personalized Learning Assistant&lt;/p&gt;
&lt;p&gt;3、tradingview-mcp: AI Trading Intelligence Framework and MCP Server&lt;/p&gt;
&lt;p&gt;4、solace-agent-mesh: An event-driven framework designed to build and orchestrate multi-agent AI systems&lt;/p&gt;
&lt;p&gt;5、gemma: Gemma open-weight LLM library, from Google DeepMind&lt;/p&gt;
&lt;p&gt;6、Open-LLM-VTuber: Talk to any LLM with hands-free voice interaction, voice interruption, and Live2D taking face running locally across platforms&lt;/p&gt;
&lt;p&gt;7、code-review-graph: Local knowledge graph for Claude Code&lt;/p&gt;
&lt;p&gt;8、void-model: Video Object and Interaction Deletion&lt;/p&gt;
&lt;p&gt;9、justx: A TUI command launcher built on top of just&lt;/p&gt;
&lt;p&gt;10、dflash: DFlash: Block Diffusion for Flash Speculative Decoding&lt;/p&gt;
&lt;p&gt;11、DataDesigner: NeMo Data Designer: A framework for generating synthetic data from scratch or based on your own seed data&lt;/p&gt;
&lt;p&gt;12、mngr: CLI for managing coding agents&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/146/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#145: Claude Code Port Reaches 160K Stars!</title><link>https://weekly.pythoncat.top/en/issues/145/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/145/</guid><description>Shared 12 articles, 12 open-source projects</description><pubDate>Sat, 04 Apr 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #145：Claude Code Port Reaches 160K Stars!&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Cutting Python Web App Memory Over 31%&lt;/p&gt;
&lt;p&gt;2、Building modern Django apps with Alpine AJAX, revisited&lt;/p&gt;
&lt;p&gt;3、Timesliced reservoir sampling: a new(?) algorithm for profilers&lt;/p&gt;
&lt;p&gt;4、PEP 829 – Structured Startup Configuration via .site.toml Files&lt;/p&gt;
&lt;p&gt;5、NumPy as Synth Engine&lt;/p&gt;
&lt;p&gt;6、Vibe Coding Pong with Python and pygame&lt;/p&gt;
&lt;p&gt;7、Claude Pitfalls: Database Indexes&lt;/p&gt;
&lt;p&gt;8、Smello for HTTP Requests&lt;/p&gt;
&lt;p&gt;9、LangDrained: 3 Paths to Your Data Through LangChain, the World’s Most Popular AI Framework&lt;/p&gt;
&lt;p&gt;10、How Agentic Engineering Changed the Way I Build Streamlit Apps&lt;/p&gt;
&lt;p&gt;11、You Store Data and You Do Stuff With Data • The OOP Mindset&lt;/p&gt;
&lt;p&gt;12、Scaling a Monolith to 1M LOC: 113 Pragmatic Lessons from Tech Lead to CTO&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、claude-howto: A visual, example-driven guide to Claude Code&lt;/p&gt;
&lt;p&gt;2、AI-Scientist-v2: Workshop-Level Automated Scientific Discovery via Agentic Tree Search&lt;/p&gt;
&lt;p&gt;3、visidata: A terminal spreadsheet multitool for discovering and arranging data&lt;/p&gt;
&lt;p&gt;4、build123d: A python CAD programming library&lt;/p&gt;
&lt;p&gt;5、osgameclones: Open Source Clones of Popular Games&lt;/p&gt;
&lt;p&gt;6、FireRed-OpenStoryline: AI video editing agent&lt;/p&gt;
&lt;p&gt;7、Matrix-Game: Real-Time and Streaming Interactive World Model&lt;/p&gt;
&lt;p&gt;8、GLM-OCR: Accurate × Fast × Comprehensive&lt;/p&gt;
&lt;p&gt;9、chardet: Python character encoding detector&lt;/p&gt;
&lt;p&gt;10、Engram: Conditional Memory via Scalable Lookup&lt;/p&gt;
&lt;p&gt;11、Lightpanda: the headless browser designed for AI and automation&lt;/p&gt;
&lt;p&gt;12、claw-code: Better Harness Tools&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/145/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#144: Rewriting a 20-year-old Python library</title><link>https://weekly.pythoncat.top/en/issues/144/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/144/</guid><description>Sharing 13 articles, 12 open-source projects</description><pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #144：Rewriting a 20-year-old Python library&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Rewriting a 20-year-old Python library&lt;/p&gt;
&lt;p&gt;2、Working to make Python lazy&lt;/p&gt;
&lt;p&gt;3、Reducing Pydantic&apos;s Memory Footprint by 55% Using Bitsets&lt;/p&gt;
&lt;p&gt;4、Mojo&apos;s not (yet) Python&lt;/p&gt;
&lt;p&gt;5、Why I forked httpx&lt;/p&gt;
&lt;p&gt;6、The Slow Collapse of MkDocs&lt;/p&gt;
&lt;p&gt;7、Fixed Python autocomplete&lt;/p&gt;
&lt;p&gt;8、Supply Chain Attack in litellm 1.82.8 on PyPI&lt;/p&gt;
&lt;p&gt;9、Lessons from Pyre&lt;/p&gt;
&lt;p&gt;10、Fire and forget (or never) with Python&apos;s asyncio&lt;/p&gt;
&lt;p&gt;11、Capturing Plots in R and Python: A Tale of Two Architectures&lt;/p&gt;
&lt;p&gt;12、SQLAlchemy 2 In Practice - Chapter 2 - Database Tables&lt;/p&gt;
&lt;p&gt;13、Thoughts on OpenAI acquiring Astral and uv/ruff/ty&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、last30days-skill: AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary&lt;/p&gt;
&lt;p&gt;2、open-wearables: Self-hosted platform to unify wearable health data through one AI-ready API.&lt;/p&gt;
&lt;p&gt;3、sirchmunk: Raw data to self-evolving intelligence, real-time.&lt;/p&gt;
&lt;p&gt;4、honcho: Memory library for building stateful agents&lt;/p&gt;
&lt;p&gt;5、codex-skills: A collection of Codex/agent skills for planning, documentation access, frontend development, and browser automation.&lt;/p&gt;
&lt;p&gt;6、mtga: Bypass IDE&apos;s fixed model provider restrictions via local proxy&lt;/p&gt;
&lt;p&gt;7、skylos: Open-source Python, TypeScript, and Go SAST with dead code detection. Finds secrets, exploitable flows, and AI regressions. VS Code extension, GitHub Action, and MCP server for AI agents.&lt;/p&gt;
&lt;p&gt;8、gh-space-shooter: Visualizes GitHub contribution graphs as Space Shooter!&lt;/p&gt;
&lt;p&gt;9、InvenTree: Open Source Inventory Management System&lt;/p&gt;
&lt;p&gt;10、no-magic: Because model.fit() isn&apos;t an explanation&lt;/p&gt;
&lt;p&gt;11、qmd: mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local&lt;/p&gt;
&lt;p&gt;12、openclaw: Your own personal AI assistant. Any OS. Any Platform. The lobster way.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/144/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#143: Reinventing Python&apos;s AsyncIO</title><link>https://weekly.pythoncat.top/en/issues/143/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/143/</guid><description>Sharing 13 articles, 12 open-source projects</description><pubDate>Sat, 21 Mar 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #143：Reinventing Python&apos;s AsyncIO&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Reinventing Python&apos;s AsyncIO&lt;/p&gt;
&lt;p&gt;2、Python 3.15’s JIT is now back on track&lt;/p&gt;
&lt;p&gt;3、Python Unplugged on PyTV Recap&lt;/p&gt;
&lt;p&gt;4、How many digits are there in pi?&lt;/p&gt;
&lt;p&gt;5、Halfway on the path to community support for free-threaded Python&lt;/p&gt;
&lt;p&gt;6、OpenAI to acquire Astral&lt;/p&gt;
&lt;p&gt;7、How we optimized Dash&apos;s relevance judge with DSPy&lt;/p&gt;
&lt;p&gt;8、SQLAlchemy 2 In Practice - Chapter 1 - Database Setup&lt;/p&gt;
&lt;p&gt;9、One problem with (Python) docstrings is that they&apos;re local&lt;/p&gt;
&lt;p&gt;10、The Story of Python&apos;s Lazy Imports: Why It Took Three Years and Two Attempts&lt;/p&gt;
&lt;p&gt;11、The Operator That Dethroned a King: Python&apos;s Walrus Operator Story&lt;/p&gt;
&lt;p&gt;12、Caching an Asyncio Function the Easy Way&lt;/p&gt;
&lt;p&gt;13、YAML? That’s Norway problem&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、webnovel-writer: Long Webnovel Assisted Creation System&lt;/p&gt;
&lt;p&gt;2、apm: Agent Package Manager&lt;/p&gt;
&lt;p&gt;3、gpt-oss: OpenAI Open-Weight Language Models&lt;/p&gt;
&lt;p&gt;4、ouroboros: Specification-First AI Development System&lt;/p&gt;
&lt;p&gt;5、hindsight: Agent Memory That Learns&lt;/p&gt;
&lt;p&gt;6、open-swe: An Open-Source Asynchronous Coding Agent&lt;/p&gt;
&lt;p&gt;7、antigravity-awesome-skills: Skill Library for AI Coding Assistants&lt;/p&gt;
&lt;p&gt;8、claude-code-telegram: Remote Access to Claude Code via Telegram&lt;/p&gt;
&lt;p&gt;9、AutoResearchClaw: Fully Autonomous Research Pipeline&lt;/p&gt;
&lt;p&gt;10、open-terminal: A Computer You Can Curl&lt;/p&gt;
&lt;p&gt;11、turboAPI: FastAPI-compatible Python framework&lt;/p&gt;
&lt;p&gt;12、dbslice: Extract a slice of your production database&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/143/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#142: The Python Optimization Ladder</title><link>https://weekly.pythoncat.top/en/issues/142/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/142/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 14 Mar 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #142：The Python Optimization Ladder&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、What If Python Code Could Run Like Rust?&lt;/p&gt;
&lt;p&gt;2、Unlocking Python&apos;s Cores: Hardware Usage and Energy Implications of Removing the GIL&lt;/p&gt;
&lt;p&gt;3、Multi-Codebase Summarization&lt;/p&gt;
&lt;p&gt;4、Anthropic Performance Team Take-Home for Dummies&lt;/p&gt;
&lt;p&gt;5、PEP 828 – Supporting &apos;yield from&apos; in asynchronous generators&lt;/p&gt;
&lt;p&gt;6、Python Type Checker Comparison: Empty Container Inference&lt;/p&gt;
&lt;p&gt;7、Python Logging: An In-Depth Tutorial&lt;/p&gt;
&lt;p&gt;8、The Optimization Ladder&lt;/p&gt;
&lt;p&gt;9、Deprecate confusing APIs like “os.path.commonprefix()”&lt;/p&gt;
&lt;p&gt;10、Stop using pickle already. Seriously, stop it!&lt;/p&gt;
&lt;p&gt;11、Madblog: A Markdown Folder That Federates Everywhere&lt;/p&gt;
&lt;p&gt;12、MicroGPT explained interactively&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、notebooklm-py: Unofficial Python API and agentic skill for Google NotebookLM&lt;/p&gt;
&lt;p&gt;2、claude-scientific-skills: Ready-to-use Agent Skills for Research, Science &amp;amp; Engineering&lt;/p&gt;
&lt;p&gt;3、agentscope: Build and run agents you can see, understand and trust&lt;/p&gt;
&lt;p&gt;4、hermes-agent: The agent that grows with you&lt;/p&gt;
&lt;p&gt;5、ReMe: Memory Management Kit for Agents - Remember Me, Refine Me.&lt;/p&gt;
&lt;p&gt;6、seomachine: A specialized Claude Code workspace for SEO-optimized content&lt;/p&gt;
&lt;p&gt;7、daily_stock_analysis: A/H/US stock analysis powered by LLM&lt;/p&gt;
&lt;p&gt;8、claude-code-security-review: An AI-powered security review GitHub Action&lt;/p&gt;
&lt;p&gt;9、python-apple-fm-sdk: Python bindings for Apple Intelligence on-device models&lt;/p&gt;
&lt;p&gt;10、city2graph: GeoAI with Graph Neural Networks (GNNs)&lt;/p&gt;
&lt;p&gt;11、openrag: Intelligent Agent-powered document search&lt;/p&gt;
&lt;p&gt;12、CorridorKey: Perfect Green Screen Keys&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/142/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#141: Oral History of Python&apos;s Early Contributors</title><link>https://weekly.pythoncat.top/en/issues/141/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/141/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 07 Mar 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #141: Oral History of Python&apos;s Early Contributors&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Interview with Thomas Wouters&lt;/p&gt;
&lt;p&gt;2、The Python Insider Blog Has Moved!&lt;/p&gt;
&lt;p&gt;3、Webmentions with batteries included&lt;/p&gt;
&lt;p&gt;4、Rendering 18,000 videos in real-time with Python&lt;/p&gt;
&lt;p&gt;5、Django ORM Standalone: Querying an existing database&lt;/p&gt;
&lt;p&gt;6、Software 3.1? - AI Functions&lt;/p&gt;
&lt;p&gt;7、How to use overloaded signatures in Python?&lt;/p&gt;
&lt;p&gt;8、Python: introducing icu4py, bindings to the Unicode ICU library&lt;/p&gt;
&lt;p&gt;9、Creating Reddit Summaries with URL Context and Gemini&lt;/p&gt;
&lt;p&gt;10、The bug fix paradox: why AI agents keep breaking working code&lt;/p&gt;
&lt;p&gt;11、How I Use django-simple-nav for Dashboards, Command Palettes, and More&lt;/p&gt;
&lt;p&gt;12、LLM Use in the Python Source Code&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、OpenViking: Context Database for AI Agents&lt;/p&gt;
&lt;p&gt;2、Auto-Claude: Autonomous Multi-Session AI Coding&lt;/p&gt;
&lt;p&gt;3、DoodleCloud: Infinite Cloud Storage via Instagram&lt;/p&gt;
&lt;p&gt;4、movement: Animal Movement Analysis Toolbox&lt;/p&gt;
&lt;p&gt;5、ai-functions: AI Agent-Powered Reliable Functions&lt;/p&gt;
&lt;p&gt;6、ai-dev-kit: Databricks Toolkit for Coding Agents&lt;/p&gt;
&lt;p&gt;7、PersonaLive: Expressive Portrait Image Animation for Live Streaming&lt;/p&gt;
&lt;p&gt;8、Intercept: Web-based Signal Intelligence Platform&lt;/p&gt;
&lt;p&gt;9、Agent-Skills-for-Context-Engineering: Agent Skills for Context Engineering&lt;/p&gt;
&lt;p&gt;10、OpenSandbox: General-Purpose Sandbox Platform for AI Applications&lt;/p&gt;
&lt;p&gt;11、user-scanner: Username and Email OSINT Tool&lt;/p&gt;
&lt;p&gt;12、django-orbit: Satellite Observability for Django&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/141/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#140: You Could&apos;ve Invented OpenClaw</title><link>https://weekly.pythoncat.top/en/issues/140/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/140/</guid><description>Sharing 12 articles, 13 open-source projects</description><pubDate>Sat, 28 Feb 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #140: You Could&apos;ve Invented OpenClaw&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、You Could&apos;ve Invented OpenClaw&lt;/p&gt;
&lt;p&gt;2、Python 3.12 vs 3.13 vs 3.14: Features, Performance, Which to Use&lt;/p&gt;
&lt;p&gt;3、Text classification with Python 3.14&apos;s zstd module&lt;/p&gt;
&lt;p&gt;4、Better Python tests with inline-snapshot&lt;/p&gt;
&lt;p&gt;5、Chained assignment has a footgun&lt;/p&gt;
&lt;p&gt;6、cysqlite - a new sqlite driver&lt;/p&gt;
&lt;p&gt;7、Python circular import puzzle&lt;/p&gt;
&lt;p&gt;8、Rewriting pycparser with the help of an LLM&lt;/p&gt;
&lt;p&gt;9、PEP 813 – The Pretty Print Protocol&lt;/p&gt;
&lt;p&gt;10、Unit testing your code&apos;s performance, part 2: Catching speed changes&lt;/p&gt;
&lt;p&gt;11、CLI subcommands with lazy imports&lt;/p&gt;
&lt;p&gt;12、Software Performance Engineering: The Ideas I Keep Coming Back To&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、sift-kg: Turn documents into a knowledge graph&lt;/p&gt;
&lt;p&gt;2、httpie: modern, user-friendly command-line HTTP client for the API era&lt;/p&gt;
&lt;p&gt;3、baserow: Build databases, automations, apps &amp;amp; agents with AI — no code&lt;/p&gt;
&lt;p&gt;4、cinderx: High-performance Python runtime extensions&lt;/p&gt;
&lt;p&gt;5、skills: A collection of skills for AI agents&lt;/p&gt;
&lt;p&gt;6、google_workspace_mcp: Control Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search &amp;amp; Drive with AI&lt;/p&gt;
&lt;p&gt;7、AstrBot: Agentic IM Chatbot infrastructure that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative&lt;/p&gt;
&lt;p&gt;8、autoglm-gui: A modern Web GUI for AutoGLM to simplify AI automation on Android devices&lt;/p&gt;
&lt;p&gt;9、context-engineering-intro: A comprehensive template for getting started with Context Engineering&lt;/p&gt;
&lt;p&gt;10、monty: A minimal, secure Python interpreter written in Rust for use by AI&lt;/p&gt;
&lt;p&gt;11、synapse: Matrix homeserver written in Python/Twisted + Rust&lt;/p&gt;
&lt;p&gt;12、wifi-densepose: Production-ready implementation of InvisPose&lt;/p&gt;
&lt;p&gt;13、production-agentic-rag-course: A learner-focused journey into production RAG systems&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/140/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#139: Why People Always Want to Replace Data Analysts?</title><link>https://weekly.pythoncat.top/en/issues/139/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/139/</guid><description>Sharing 14 articles, 14 open-source projects</description><pubDate>Sat, 07 Feb 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #139: Why People Always Want to Replace Data Analysts?&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、What arguments was Python called with?&lt;/p&gt;
&lt;p&gt;2、Django: profile memory usage with Memray&lt;/p&gt;
&lt;p&gt;3、Django views versus the Zen of Python&lt;/p&gt;
&lt;p&gt;4、PEP 821 – Support for unpacking TypedDicts in Callable type hints&lt;/p&gt;
&lt;p&gt;5、Calling Lean Functions As Python Functions&lt;/p&gt;
&lt;p&gt;6、From Good Code to Reliable Software: A Practical Guide to Production-Ready Python Packages&lt;/p&gt;
&lt;p&gt;7、Recent trends in the work of the Django Security Team&lt;/p&gt;
&lt;p&gt;8、Distributing Go binaries like sqlite-scanner through PyPI using go-to-wheel&lt;/p&gt;
&lt;p&gt;9、Multi-Paxos - Consensus in Distributed Databases&lt;/p&gt;
&lt;p&gt;10、Anatomy of a Python Function&lt;/p&gt;
&lt;p&gt;11、The challenges of soft delete&lt;/p&gt;
&lt;p&gt;12、Eight Lessons Learned in Two Years of Ph.D.&lt;/p&gt;
&lt;p&gt;13、Build chatbot to talk with your PostgreSQL database using Python and local LLM&lt;/p&gt;
&lt;p&gt;14、Why We’ve Tried to Replace Data Analytics Developers Every Decade Since 1974&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、oban-py: A robust job orchestration framework for Python&lt;/p&gt;
&lt;p&gt;2、knowledge-work-plugins: Plugins for knowledge workers to use in Claude Cowork&lt;/p&gt;
&lt;p&gt;3、review-prompts: AI review prompts&lt;/p&gt;
&lt;p&gt;4、Stable-Video-Infinity: Infinite-Length Video Generation with Error Recycling&lt;/p&gt;
&lt;p&gt;5、MiroFish: A Simple and Universal Swarm Intelligence Engine&lt;/p&gt;
&lt;p&gt;6、Pixelle-Video: AI Fully Automated Short Video Engine&lt;/p&gt;
&lt;p&gt;7、Grok2API: Grok 2 API Adapter Service&lt;/p&gt;
&lt;p&gt;8、PentestAgent: AI Agent Framework for Automated Penetration Testing&lt;/p&gt;
&lt;p&gt;9、Django Orbit: Satellite Observability for Django&lt;/p&gt;
&lt;p&gt;10、La Suite Drive: Collaborative File Sharing&lt;/p&gt;
&lt;p&gt;11、django-hawkeye: Django BM25 full-text search using PostgreSQL&lt;/p&gt;
&lt;p&gt;12、cmd-chat: Encrypted Terminal Chat&lt;/p&gt;
&lt;p&gt;13、copier-astral: Fast Python project template with Astral&apos;s toolchain&lt;/p&gt;
&lt;p&gt;14、Paper2Any: Turn paper/text/topic into editable research figures&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/139/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#138: Is It Being Killed by Incremental Improvements?</title><link>https://weekly.pythoncat.top/en/issues/138/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/138/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 31 Jan 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #138：Is It Being Killed by Incremental Improvements?&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Python, Is It Being Killed by Incremental Improvements?&lt;/p&gt;
&lt;p&gt;2、Speeding up Pillow&apos;s open and save&lt;/p&gt;
&lt;p&gt;3、Asyncio is neither fast nor slow&lt;/p&gt;
&lt;p&gt;4、What&apos;s new in pandas 3&lt;/p&gt;
&lt;p&gt;5、Nothing to declare - from NaN to None via null&lt;/p&gt;
&lt;p&gt;6、Some notes on starting to use Django&lt;/p&gt;
&lt;p&gt;7、From Python 3.3 to today: ending 15 years of subprocess polling&lt;/p&gt;
&lt;p&gt;8、Speeding up NumPy with parallelism&lt;/p&gt;
&lt;p&gt;9、Prototyping a Live Product Recommender with Python&lt;/p&gt;
&lt;p&gt;10、Testing: exceptions and caches&lt;/p&gt;
&lt;p&gt;11、All iteration is the same in Python&lt;/p&gt;
&lt;p&gt;12、The C-Shaped Hole in Package Management&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、kimi-cli: Your next CLI agent&lt;/p&gt;
&lt;p&gt;2、earth2studio: Deep-learning framework for AI weather/climate workflows&lt;/p&gt;
&lt;p&gt;3、ai-data-science-team: AI-powered data science team of agents&lt;/p&gt;
&lt;p&gt;4、UltraRAG: Low-Code MCP Framework for RAG Pipelines&lt;/p&gt;
&lt;p&gt;5、wifi-densepose: WiFi-based dense human pose estimation system&lt;/p&gt;
&lt;p&gt;6、dirsearch: Web path scanner&lt;/p&gt;
&lt;p&gt;7、cultivation-world-simulator: AI-powered Cultivation World Simulator&lt;/p&gt;
&lt;p&gt;8、x-algorithm: Algorithm powering the For You feed on X&lt;/p&gt;
&lt;p&gt;9、reaktiv: Reactive Declarative State Management Library for Python&lt;/p&gt;
&lt;p&gt;10、keep: The open-source AIOps and alert management platform&lt;/p&gt;
&lt;p&gt;11、webrockets: High-performance rust powered websocket server for python&lt;/p&gt;
&lt;p&gt;12、cua: Open-source infrastructure for Computer-Use Agents&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/138/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#137: What&apos;s New in pandas 3.0</title><link>https://weekly.pythoncat.top/en/issues/137/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/137/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 24 Jan 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #137：What&apos;s New in pandas 3.0&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、What&apos;s New in pandas 3.0: Expressions, Copy-on-Write, and Faster Strings&lt;/p&gt;
&lt;p&gt;2、I created a game engine for Django?&lt;/p&gt;
&lt;p&gt;3、Asyncio Finally Got Peewee&lt;/p&gt;
&lt;p&gt;4、Can LLMs translate Polars code to SQL?&lt;/p&gt;
&lt;p&gt;5、Use-after-free in Python&lt;/p&gt;
&lt;p&gt;6、Django 6.0 Tasks: a framework without a worker&lt;/p&gt;
&lt;p&gt;7、DynamoDB crash course: part 1 – philosophy&lt;/p&gt;
&lt;p&gt;8、Load and store forwarding in the Toy Optimizer&lt;/p&gt;
&lt;p&gt;9、Building Critical Infrastructure with htmx: Network Automation for the Paris 2024 Olympics&lt;/p&gt;
&lt;p&gt;10、The Prompt Engineering Playbook for Programmers&lt;/p&gt;
&lt;p&gt;11、Performance Hints&lt;/p&gt;
&lt;p&gt;12、Use Agents or Be Left Behind&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、maptoposter: City Map Poster Generator&lt;/p&gt;
&lt;p&gt;2、webctl: Browser automation via CLI&lt;/p&gt;
&lt;p&gt;3、nanochat: The best ChatGPT that $100 can buy&lt;/p&gt;
&lt;p&gt;4、freemocap: Free Motion Capture for Everyone&lt;/p&gt;
&lt;p&gt;5、Skill_Seekers: AI Skills Generator&lt;/p&gt;
&lt;p&gt;6、automem: AI Memory That Actually Learns&lt;/p&gt;
&lt;p&gt;7、pyinfra: pyinfra turns Python code into shell commands and runs them on your servers&lt;/p&gt;
&lt;p&gt;8、violit: The High-Performance Python Web Framework&lt;/p&gt;
&lt;p&gt;9、sharepoint-to-text: Sharepoint to text&lt;/p&gt;
&lt;p&gt;10、moka-py: A high performance caching library for Python written in Rust&lt;/p&gt;
&lt;p&gt;11、shot-scraper: A command-line utility for taking automated screenshots of websites&lt;/p&gt;
&lt;p&gt;12、sqlite-utils: Python CLI utility and library for manipulating SQLite databases&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/137/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#136: Anthropic invests $1.5 million to PSF</title><link>https://weekly.pythoncat.top/en/issues/136/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/136/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 17 Jan 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #136：Anthropic invests $1.5 million to PSF&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Anthropic invests $1.5 million in the Python Software Foundation and open source security&lt;/p&gt;
&lt;p&gt;2、How Reddit Migrated Comments Functionality from Python to Go&lt;/p&gt;
&lt;p&gt;3、How we made Python&apos;s packaging library 3x faster&lt;/p&gt;
&lt;p&gt;4、PEP 797 – Shared Object Proxies&lt;/p&gt;
&lt;p&gt;5、Unit testing your code’s performance, part 1: Big-O scaling&lt;/p&gt;
&lt;p&gt;6、A Python web development methodology for complex business scenarios&lt;/p&gt;
&lt;p&gt;7、How a Single Test Revealed a Bug in Django 6.0&lt;/p&gt;
&lt;p&gt;8、The coolest feature in Python 3.14&lt;/p&gt;
&lt;p&gt;9、PEP 819 – JSON Package Metadata&lt;/p&gt;
&lt;p&gt;10、Python: introducing tprof, a targeting profiler&lt;/p&gt;
&lt;p&gt;11、The Emperor Has No Clothes: How to Code Claude Code in 200 Lines of Code&lt;/p&gt;
&lt;p&gt;12、Introducing EktuPy&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、open-webui: User-friendly AI Interface&lt;/p&gt;
&lt;p&gt;2、ai-knowledge-graph: AI Powered Knowledge Graph Generator&lt;/p&gt;
&lt;p&gt;3、compound-engineering-plugin: Official Claude Code compound engineering plugin&lt;/p&gt;
&lt;p&gt;4、ComfyUI: The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.&lt;/p&gt;
&lt;p&gt;5、modern-software-dev-assignments: Assignments for CS146S: The Modern Software Dev (Stanford University Fall 2025)&lt;/p&gt;
&lt;p&gt;6、learn-claude-code: How can we build a true AI agent? Like Claude Code.&lt;/p&gt;
&lt;p&gt;7、icloud_photos_downloader: A command-line tool to download photos from iCloud&lt;/p&gt;
&lt;p&gt;8、music-assistant-server: Open source Media library manager server&lt;/p&gt;
&lt;p&gt;9、ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous AI agent orchestration&lt;/p&gt;
&lt;p&gt;10、fastscheduler: Decorator-first Python scheduler — cron/interval/at jobs with simple persistence and built-in run history.&lt;/p&gt;
&lt;p&gt;11、pyauto-desktop: The resolution-agnostic, high-performance automation library&lt;/p&gt;
&lt;p&gt;12、jetbase: Simple database migration tool for Python&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/136/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#135: Python 3.6-3.14 Performance</title><link>https://weekly.pythoncat.top/en/issues/135/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/135/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 10 Jan 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #135：Python 3.6-3.14 Performance&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、What async really means for your python web app?&lt;/p&gt;
&lt;p&gt;2、A different way to think about Python API Clients&lt;/p&gt;
&lt;p&gt;3、Python 3.6-3.14 Performance on M1, M5, Zen2 and Cascade Lake&lt;/p&gt;
&lt;p&gt;4、Static Protocols in Python: Behaviour Over Inheritance&lt;/p&gt;
&lt;p&gt;5、Sandboxing Untrusted Python&lt;/p&gt;
&lt;p&gt;6、Migrating From Celery to Django Tasks&lt;/p&gt;
&lt;p&gt;7、Recent optimizations in Python&apos;s Reference Counting&lt;/p&gt;
&lt;p&gt;8、WebAssembly as a Python extension platform&lt;/p&gt;
&lt;p&gt;9、A Year of Typing: My NumPy Fellowship Retrospective&lt;/p&gt;
&lt;p&gt;10、Fun with mypy: reifying runtime relations on types&lt;/p&gt;
&lt;p&gt;11、PEP 822: Dedented Multiline String (d-string)&lt;/p&gt;
&lt;p&gt;12、PEP 818 – Adding the Core of the Pyodide Foreign Function Interface to Python&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、MiroFlow:Fully Open-Source Deep Research Agent&lt;/p&gt;
&lt;p&gt;2、MiroThinker:Open-Source Search Agent Model&lt;/p&gt;
&lt;p&gt;3、Auto_job_applier_linkedIn:LinkedIn AI Auto Job Applier&lt;/p&gt;
&lt;p&gt;4、Qwen-Image:Powerful Image Generation Foundation Model&lt;/p&gt;
&lt;p&gt;5、memU:Future-Oriented Agentic Memory System&lt;/p&gt;
&lt;p&gt;6、owl:Optimized Workforce Learning for General Multi-Agent Assistance in Real-World Task Automation&lt;/p&gt;
&lt;p&gt;7、docling:Get your documents ready for gen AI&lt;/p&gt;
&lt;p&gt;8、TrustGraph:The Context Graph Factory for AI&lt;/p&gt;
&lt;p&gt;9、PennyLane:Cross-Platform Quantum Computing Framework&lt;/p&gt;
&lt;p&gt;10、Beancount:Double-Entry Accounting from Text Files&lt;/p&gt;
&lt;p&gt;11、AlpaSim:A Modular, Lightweight, and Data-Driven Research Simulator for Autonomous Driving&lt;/p&gt;
&lt;p&gt;12、promptic: 90% of what you need for LLM app development&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/135/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#134: How uv got so fast ？</title><link>https://weekly.pythoncat.top/en/issues/134/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/134/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 03 Jan 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #134：How uv got so fast ？&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Python Numbers Every Programmer Should Know&lt;/p&gt;
&lt;p&gt;2、How I wrote JustHTML using coding agents&lt;/p&gt;
&lt;p&gt;3、Replacing python-dateutil to remove six&lt;/p&gt;
&lt;p&gt;4、How uv got so fast&lt;/p&gt;
&lt;p&gt;5、PyPI in 2025: A Year in Review&lt;/p&gt;
&lt;p&gt;6、&quot;Enabling&quot; C threads in a Python / Wasm environment&lt;/p&gt;
&lt;p&gt;7、profiling.sampling — Statistical profiler&lt;/p&gt;
&lt;p&gt;8、Looking Back at Python Pescara 2025&lt;/p&gt;
&lt;p&gt;9、A Year In Review: Flask in 2025&lt;/p&gt;
&lt;p&gt;10、Friendly Python: Porting from other languages&lt;/p&gt;
&lt;p&gt;11、Top Python libraries of 2025&lt;/p&gt;
&lt;p&gt;12、2025: The year in LLMs&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、SongGeneration: High-Quality Song Generation with Multi-Preference Alignment&lt;/p&gt;
&lt;p&gt;2、VideoRAG: Chat with Your Videos&lt;/p&gt;
&lt;p&gt;3、TradingAgents: Multi-Agents LLM Financial Trading Framework&lt;/p&gt;
&lt;p&gt;4、VoxCPM: Tokenizer-Free TTS for Context-Aware Speech Generation and True-to-Life Voice Cloning&lt;/p&gt;
&lt;p&gt;5、sloppylint: Python AI Slop Detector - Find over-engineering, hallucinations, and dead code in Python codebases&lt;/p&gt;
&lt;p&gt;6、pyreqwest: Fast Python HTTP client based on Rust reqwest&lt;/p&gt;
&lt;p&gt;7、svc-infra: Production-ready backend infrastructure SDK for Python&lt;/p&gt;
&lt;p&gt;8、pg-aiguide: AI-optimized PostgreSQL expertise for coding assistants&lt;/p&gt;
&lt;p&gt;9、vllm-omni: A framework for efficient model inference with omni-modality models&lt;/p&gt;
&lt;p&gt;10、ragas: Supercharge Your LLM Application Evaluations&lt;/p&gt;
&lt;p&gt;11、GraphQLite: A SQLite extension that adds graph database capabilities&lt;/p&gt;
&lt;p&gt;12、PyPDFForm: Python library for PDF forms&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/134/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#133: Why You Should Read More Engineering Blogs</title><link>https://weekly.pythoncat.top/en/issues/133/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/133/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 27 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #133：Why You Should Read More Engineering Blogs&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Python Workers redux: fast cold starts, packages, and a uv-first workflow&lt;/p&gt;
&lt;p&gt;2、Python 3.15’s interpreter for Windows x86-64 should hopefully be 15% faster&lt;/p&gt;
&lt;p&gt;3、Advent of Code 2025: The AI LLM Edition&lt;/p&gt;
&lt;p&gt;4、Advent of Code 2025&lt;/p&gt;
&lt;p&gt;5、Migrating Litecli From Mypy to Ty&lt;/p&gt;
&lt;p&gt;6、Updating Python, revisited&lt;/p&gt;
&lt;p&gt;7、Swanky Python: Interactive development for Python&lt;/p&gt;
&lt;p&gt;8、Beautiful reprs&lt;/p&gt;
&lt;p&gt;9、And now for something completely different&lt;/p&gt;
&lt;p&gt;10、Why You Should Read More Engineering Blogs&lt;/p&gt;
&lt;p&gt;11、Modernizing Reddit&apos;s Comment Backend Infrastructure&lt;/p&gt;
&lt;p&gt;12、21 Lessons from 14 Years at Google&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、DataFlow: Easy Data Preparation with latest LLMs-based Operators and Pipelines.&lt;/p&gt;
&lt;p&gt;2、Yuxi-Know: An agent platform that integrates a LightRAG knowledge base and knowledge graphs.&lt;/p&gt;
&lt;p&gt;3、bloom: An Open Source Tool for Automated Behavior Evaluation of LLMs&lt;/p&gt;
&lt;p&gt;4、LangBot: Production-grade platform for building IM bots.&lt;/p&gt;
&lt;p&gt;5、justhtml: A pure Python HTML5 parser that just works.&lt;/p&gt;
&lt;p&gt;6、GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models&lt;/p&gt;
&lt;p&gt;7、DeepAudit: Multi-Agent System for Automated Code Vulnerability Mining&lt;/p&gt;
&lt;p&gt;8、skills: Public repository for Agent Skills&lt;/p&gt;
&lt;p&gt;9、executorch: On-device AI across mobile, embedded and edge for PyTorch&lt;/p&gt;
&lt;p&gt;10、gmail-cleaner: web based GUI to cleanup gmail delete, mark as read, unsubsribe from uncessary things u dont like&lt;/p&gt;
&lt;p&gt;11、PasteMD: One-click paste Markdown and AI responses (ChatGPT/DeepSeek) into Word, WPS, and Excel perfectly.&lt;/p&gt;
&lt;p&gt;12、banana-slides: An AI-native PPT generator based on nano banana pro🍌&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/133/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#132: 30 Years of Freelancing with Python</title><link>https://weekly.pythoncat.top/en/issues/132/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/132/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 20 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #132：30 Years of Freelancing with Python&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Don&apos;t fear Python subprocess or Go codegen&lt;/p&gt;
&lt;p&gt;2、Building the Fastest Python CI&lt;/p&gt;
&lt;p&gt;3、My Python setup, December 2025&lt;/p&gt;
&lt;p&gt;4、Advanced, Overlooked Python Typing&lt;/p&gt;
&lt;p&gt;5、30 things I’ve learned from 30 years as a Python freelancer&lt;/p&gt;
&lt;p&gt;6、A &quot;frozen&quot; dictionary for Python&lt;/p&gt;
&lt;p&gt;7、Self Improving Text2Sql Agent with Dynamic Context and Continuous Learning&lt;/p&gt;
&lt;p&gt;8、A testing conundrum&lt;/p&gt;
&lt;p&gt;9、Embrace whitespace&lt;/p&gt;
&lt;p&gt;10、Improve Query Performance Using Python Django QuerySets&lt;/p&gt;
&lt;p&gt;11、Dependency groups and uv run&lt;/p&gt;
&lt;p&gt;12、Year in Review (2025)&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、xianyu-auto-reply: Xianyu Auto Reply System&lt;/p&gt;
&lt;p&gt;2、rendercv: Typst-based CV Generator&lt;/p&gt;
&lt;p&gt;3、pdf-document-layout-analysis: PDF Document Layout Analysis&lt;/p&gt;
&lt;p&gt;4、mash-playbook: The Mother-of-All-Self-Hosting Ansible Playbook&lt;/p&gt;
&lt;p&gt;5、CosyVoice: Multi-lingual Large Voice Generation Model&lt;/p&gt;
&lt;p&gt;6、sam3: Segment Anything Model 3&lt;/p&gt;
&lt;p&gt;7、robin: AI-Powered Dark Web OSINT Tool&lt;/p&gt;
&lt;p&gt;8、sqlit: The lazygit of SQL databases&lt;/p&gt;
&lt;p&gt;9、Awesome-ML-SYS-Tutorial: My learning notes for ML SYS&lt;/p&gt;
&lt;p&gt;10、MHR: Momentum Human Rig&lt;/p&gt;
&lt;p&gt;11、chanx: A batteries-included WebSocket framework&lt;/p&gt;
&lt;p&gt;12、VideoDataset: GPU-accelerated video decoding library&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/132/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#131: build AI agents from scratch</title><link>https://weekly.pythoncat.top/en/issues/131/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/131/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 13 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #131：build AI agents from scratch&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Deprecations via warnings don’t work for Python libraries&lt;/p&gt;
&lt;p&gt;2、PEP 816 – WASI Support&lt;/p&gt;
&lt;p&gt;3、State of PyTorch Hardware Acceleration 2025&lt;/p&gt;
&lt;p&gt;4、Build a RAG app with Django &amp;amp; MongoDB Backend in 30 minutes&lt;/p&gt;
&lt;p&gt;5、Regex Golf&lt;/p&gt;
&lt;p&gt;6、Introducing Django RAPID Architecture&lt;/p&gt;
&lt;p&gt;7、Application Logging in Python: Recipes for Observability&lt;/p&gt;
&lt;p&gt;8、Python Guide for Japanese Corpus Linguistics&lt;/p&gt;
&lt;p&gt;9、Useful patterns for building HTML tools&lt;/p&gt;
&lt;p&gt;10、Create A Pandas Dataframe AI Agent With Generative AI, Python And OpenAI&lt;/p&gt;
&lt;p&gt;11、Making Sense of Memory in AI Agents&lt;/p&gt;
&lt;p&gt;12、Bloom filters: the niche trick behind a 16× faster API&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、lada: Restore videos with pixelated/mosaic regions&lt;/p&gt;
&lt;p&gt;2、hello-agents: A comprehensive guide to building AI agents from scratch&lt;/p&gt;
&lt;p&gt;3、TotalSegmentator: Tool for robust segmentation of &amp;gt;100 important anatomical structures in CT and MR images&lt;/p&gt;
&lt;p&gt;4、-mcp-server: The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.&lt;/p&gt;
&lt;p&gt;5、MemMachine: Universal memory layer for AI Agents.&lt;/p&gt;
&lt;p&gt;6、flask-pydantic: flask extension for integration with the awesome pydantic package&lt;/p&gt;
&lt;p&gt;7、ten-framework: Open-source framework for conversational voice AI agents&lt;/p&gt;
&lt;p&gt;8、GLM-V: GLM-4.6V/4.5V/4.1V-Thinking: Towards Versatile Multimodal Reasoning with Scalable Reinforcement Learning&lt;/p&gt;
&lt;p&gt;9、cutile-python: cuTile is a programming model for writing parallel kernels for NVIDIA GPUs&lt;/p&gt;
&lt;p&gt;10、tau2-bench: τ²-Bench: Evaluating Conversational Agents in a Dual-Control Environment&lt;/p&gt;
&lt;p&gt;11、metacode: A standard language for machine-readable code comments&lt;/p&gt;
&lt;p&gt;12、Syd: Air-Gapped Cybersecurity Assistant&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/131/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#130: Django 6.0 is Here</title><link>https://weekly.pythoncat.top/en/issues/130/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/130/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #130：Django 6.0 is Here&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Django 6.0 release notes&lt;/p&gt;
&lt;p&gt;2、A first look at Django&apos;s new background tasks&lt;/p&gt;
&lt;p&gt;3、Modernising Django Packages Without Breaking Everything&lt;/p&gt;
&lt;p&gt;4、Use Python for Scripting!&lt;/p&gt;
&lt;p&gt;5、Building AI Agents for DevOps: From CI/CD Automation to Autonomous Deployments&lt;/p&gt;
&lt;p&gt;6、Eventual Rust in CPython&lt;/p&gt;
&lt;p&gt;7、Lazy Skills: A Token-Efficient Approach to Dynamic Agent Capabilities&lt;/p&gt;
&lt;p&gt;8、Image Search App with ColPali and FastAPI&lt;/p&gt;
&lt;p&gt;9、The Qtile Window Manager: A Python-Powered Tiling Experience&lt;/p&gt;
&lt;p&gt;10、Why developers still flock to Python: Guido van Rossum on readability, AI, and the future of programming&lt;/p&gt;
&lt;p&gt;11、AI infrastructure in the &quot;Era of experience&quot;&lt;/p&gt;
&lt;p&gt;12、History of Domains&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、fastapi_best_architecture: Enterprise-level Backend Architecture Solution&lt;/p&gt;
&lt;p&gt;2、agents: Intelligent Automation and Multi-agent Orchestration for Claude Code&lt;/p&gt;
&lt;p&gt;3、spec-kit: Toolkit for Spec-Driven Development&lt;/p&gt;
&lt;p&gt;4、VibeVoice: Open-Source Frontier Voice AI&lt;/p&gt;
&lt;p&gt;5、GlobalBuildingAtlas: An Open Global and Complete Dataset of Building Polygons, Heights and LoD1 3D Models&lt;/p&gt;
&lt;p&gt;6、social-engineer-toolkit：The Social-Engineer Toolkit (SET) repository from TrustedSec&lt;/p&gt;
&lt;p&gt;7、raptor: Autonomous Offensive/Defensive Research Framework Based on Claude Code&lt;/p&gt;
&lt;p&gt;8、Nano-PDF: Edit PDF files with Nano Banana&lt;/p&gt;
&lt;p&gt;9、elf: A Modern Advent of Code Helper&lt;/p&gt;
&lt;p&gt;10、onlymaps: A Python micro-ORM&lt;/p&gt;
&lt;p&gt;11、LightX2V: Light Video Generation Inference Framework&lt;/p&gt;
&lt;p&gt;12、nicegui-fastapi-template: FastAPI and NiceGUI Full-Stack Template&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/130/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#129: Pydantic can do what?</title><link>https://weekly.pythoncat.top/en/issues/129/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/129/</guid><description>Sharing 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sat, 29 Nov 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #129： Pydantic can do what?&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、Pydantic can do what?&lt;/p&gt;
&lt;p&gt;2、Python is not a great language for data science&lt;/p&gt;
&lt;p&gt;3、The &quot;Dependency Cutout&quot; Workflow Pattern&lt;/p&gt;
&lt;p&gt;4、Floodfill algorithm in Python&lt;/p&gt;
&lt;p&gt;5、Should I rewrite the Python Launcher for Unix in Python?&lt;/p&gt;
&lt;p&gt;6、Manim: Create Mathematical Animations Like 3Blue1Brown Using Python&lt;/p&gt;
&lt;p&gt;7、Pretending to be PostgreSQL: Part one&lt;/p&gt;
&lt;p&gt;8、What&apos;s In A Name?&lt;/p&gt;
&lt;p&gt;9、How we made Blurhash 128x faster&lt;/p&gt;
&lt;p&gt;10、Python Project-Local Virtualenv Management Redux&lt;/p&gt;
&lt;p&gt;11、The Uselessness of &quot;Fast&quot; and &quot;Slow&quot; in Programming&lt;/p&gt;
&lt;p&gt;12、Cloudflare outage on November 18, 2025&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、pipdeptree: Python Dependency Tree Visualization Tool&lt;/p&gt;
&lt;p&gt;2、skyvern: AI Agent for Browser Workflow Automation&lt;/p&gt;
&lt;p&gt;3、cocoindex: AI Data Transformation Framework&lt;/p&gt;
&lt;p&gt;4、PyStrict-strict-python: Ultra-strict Python Project Template&lt;/p&gt;
&lt;p&gt;5、spectre: Radio Spectrogram Recording and Visualization Tool&lt;/p&gt;
&lt;p&gt;6、fastapi-best-practices: FastAPI Best Practices Guide&lt;/p&gt;
&lt;p&gt;7、PythonRobotics: Python Robotics Algorithms Code Library&lt;/p&gt;
&lt;p&gt;8、tiny8: Educational 8-bit CPU Simulator&lt;/p&gt;
&lt;p&gt;9、github-assistant: Natural Language GitHub Repository Explorer&lt;/p&gt;
&lt;p&gt;10、turso: Rust-based In-process SQL Database&lt;/p&gt;
&lt;p&gt;11、mopidy: Python Extensible Music Server&lt;/p&gt;
&lt;p&gt;12、potnia: Ancient Text to Unicode Converter&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、How Big is the GIL Update?&lt;/p&gt;
&lt;p&gt;2、The great leap forward: Python 2.7 -&amp;gt; 3.12, Django 1.11 -&amp;gt; 5.2&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/129/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#128: Rust for CPython</title><link>https://weekly.pythoncat.top/en/issues/128/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/128/</guid><description>Sharing 13 articles, 12 open-source projects</description><pubDate>Sat, 22 Nov 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #128：Rust for CPython&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、How to use UUIDv7 in Python, Django and PostgreSQL&lt;/p&gt;
&lt;p&gt;2、Why Python&apos;s deepcopy Can Be So Slow (and How to Avoid It)&lt;/p&gt;
&lt;p&gt;3、Modern Python CI with Coverage in 2025&lt;/p&gt;
&lt;p&gt;4、Six lines of code to prevent Python spaghetti&lt;/p&gt;
&lt;p&gt;5、Hachi: An (Image) Search engine built with Python&lt;/p&gt;
&lt;p&gt;6、Heartbeats in Distributed Systems&lt;/p&gt;
&lt;p&gt;7、The varying strictness of TypedDict&lt;/p&gt;
&lt;p&gt;8、Pre-PEP: Rust for CPython&lt;/p&gt;
&lt;p&gt;9、Why your mock breaks later&lt;/p&gt;
&lt;p&gt;10、&lt;strong&gt;slots&lt;/strong&gt; for optimizing classes&lt;/p&gt;
&lt;p&gt;11、The Internet is Cool. Thank you, TCP&lt;/p&gt;
&lt;p&gt;12、Reflections on My Tech Career – Part 2&lt;/p&gt;
&lt;p&gt;13、Conscious Debugging: 10 Effective Debugging Strategies&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、fastapi-voyager: FastAPI endpoint visualization tool&lt;/p&gt;
&lt;p&gt;2、mkslides: Turn Markdown into beautiful slides&lt;/p&gt;
&lt;p&gt;3、Django LiveView: Build real-time SPAs with Python&lt;/p&gt;
&lt;p&gt;4、tiny-diffusion: Character-level language diffusion model&lt;/p&gt;
&lt;p&gt;5、Ax: Adaptive Experimentation Platform&lt;/p&gt;
&lt;p&gt;6、pyloid: Electron for Python Developer&lt;/p&gt;
&lt;p&gt;7、UptimeKit: Simple uptime monitoring dashboard&lt;/p&gt;
&lt;p&gt;8、patito: Data modelling layer built on polars and pydantic&lt;/p&gt;
&lt;p&gt;9、RA.Aid: Develop software autonomously&lt;/p&gt;
&lt;p&gt;10、Resume Matcher: Improve your resumes with AI-powered optimization&lt;/p&gt;
&lt;p&gt;11、simplemind: Python API client for AI providers&lt;/p&gt;
&lt;p&gt;12、pyarmor: A tool used to obfuscate python scripts&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/128/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt; (&lt;a href=&quot;https://patreon.com/PythonCat666&quot; target=&quot;_blank&quot;&gt;Unlock the full issue on Patreon&lt;/a&gt;)&lt;/p&gt;
</content:encoded></item><item><title>#127: Python 3.16 JIT 性能提升计划</title><link>https://weekly.pythoncat.top/en/issues/127/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/127/</guid><description>Sharing 13 articles, 12 open-source projects, 2 audio/video items</description><pubDate>Sat, 15 Nov 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;你好，我是猫哥。这里每周分享优质的 Python、AI 及通用技术内容，大部分为英文。周刊开源在 &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; 上，喜欢请给颗小星星支持下~&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;温馨提示：&lt;/strong&gt; 在微信关注 &lt;strong&gt;Python猫&lt;/strong&gt;，发送一个数字&quot;&lt;strong&gt;9&lt;/strong&gt;&quot;，即可领取 9 折优惠码，订阅专栏可享 15 元优惠。&lt;/p&gt;
&lt;p&gt;本期分享了 13 篇文章，12 个开源项目，2 则音视频，全文  字。&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://fidget-spinner.github.io/posts/faster-jit-plan.html&quot; target=&quot;_blank&quot;&gt;A Plan for 5-10% Faster Free-Threaded JIT by Python 3.16&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;CPython 核心开发者公布了一项计划，通过 LLVM 21 实现性能分析支持、跟踪记录 JIT、改进机器代码生成和寄存器分配等优化，让 Python 3.15 提速 5%、3.16 提速 10%，全新 JIT 前端已初步提升 1.5% 平均性能，部分基准测试甚至翻倍。&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://emmatyping.dev/decompression-is-up-to-30-faster-in-cpython-315.html&quot; target=&quot;_blank&quot;&gt;Decompression is up to 30% faster in CPython 3.15&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;CPython 3.15 通过优化输出缓冲区管理，能让 Zstandard 解压缩提速 25-30%，zlib 解压缩提速 10-15%，大幅提升 pip 安装依赖包等场景的性能，使标准库压缩模块超越第三方库。&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://zackoverflow.dev/writing/how-often-does-python-allocate&quot; target=&quot;_blank&quot;&gt;How often does Python allocate?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 为每个整数都分配堆内存？作者通过修改 CPython 源码，发现即使是简单的循环加法也会触发近 10 万次内存分配，揭示出 Python 在内存管理上的惊人开销，小整数池和对象缓存机制也无法完全避免频繁分配。&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://peps.python.org/pep-0814/&quot; target=&quot;_blank&quot;&gt;PEP 814 – Add frozendict built-in type&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;这则 PEP 提议在 Python 3.15 引入内置不可变字典 frozendict，支持哈希计算和线程安全共享，可用作字典键或函数默认参数，解决可变默认值问题，提供 C API 支持扩展模块集成。&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.rippling.com/blog/rippling-gunicorn-pre-fork-journey-memory-savings-and-cost-reduction&quot; target=&quot;_blank&quot;&gt;Rippling&apos;s Gunicorn pre-fork journey&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Rippling 通过 monkey-patch 技术系统解决 TCP 连接和线程问题，成功实现 Gunicorn pre-fork 模式，让 1700 万行 Django 单体应用内存使用降低 70%，成本节省 30%，显著提升部署可靠性。&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://slack.engineering/build-better-software-to-build-software-better&quot; target=&quot;_blank&quot;&gt;Build better software to build software better&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Slack 工程师团队将 Python 后端开发流程建模为有向无环图，通过 Bazel 实现智能缓存和并行化处理，把长达 60 分钟的开发周期大幅压缩，采用细粒度缓存策略提升命中率，用优化代码的思维来优化开发流程。&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://emma.has-a.blog/articles/django-admin-deux-bringing-admin-back-to-django.html&quot; target=&quot;_blank&quot;&gt;Django Admin Deux: Bringing Django&apos;s Admin Back to Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django Admin Deux 项目重新设计管理后台架构，真正基于 Django 通用 CBV 开发，将 CRUD 操作统一为可组合动作，让管理后台技能与 Django 视图开发互通，解决传统 admin 与 Django 框架割裂的问题。&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://peps.python.org/pep-0791/&quot; target=&quot;_blank&quot;&gt;PEP 791 – math.integer: submodule for integer-specific mathematics functions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.15 计划将 gcd、isqrt、comb、perm 等整数相关函数迁移到新的 math.integer 子模块，从 math 模块中独立出来，提供更清晰的 API 组织和更好的 IDE 自动补全支持。&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://muhammadraza.me/2025/building-cicd-pipeline-runner-python/&quot; target=&quot;_blank&quot;&gt;Building a CI/CD Pipeline Runner from Scratch in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;作者用 Python 从零开发 CI/CD 流水线执行器，通过 Docker 容器实现多阶段并行执行、任务依赖图调度和构建产物传递，完整复现了 GitLab Runner 的核心机制：YAML 配置解析、隔离环境执行、实时日志流和错误处理。&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://blog.yakkomajuri.com/blog/python-to-node&quot; target=&quot;_blank&quot;&gt;Why we migrated from Python to Node.js&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;作者分享了切换项目框架的原因，吐槽 Python 异步编程的复杂性：Django 缺乏完整异步支持、需要频繁 sync_to_async 转换，而 Node.js 原生事件循环提供更简洁的并发模型。&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.pythonmorsels.com/unnecessary-parentheses/&quot; target=&quot;_blank&quot;&gt;Unnecessary parentheses in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 的 if 语句其实不需要括号，很多人误把分组括号当成语法要求，文章提到 del、return 等语句也常因多余括号被误认为函数调用，解释了函数调用、元组创建和表达式分组三大用途，避免画蛇添足。&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://tratt.net/laurie/blog/2025/async_and_finaliser_deadlocks.html&quot; target=&quot;_blank&quot;&gt;Async and Finaliser Deadlocks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;作者通过 Python 示例揭示异步代码中终结器与互斥锁的致命组合，当垃圾回收器在错误时机执行 __del__ 方法时会触发死锁，这个早在 2002 年就被指出的问题至今无解，只能通过独立线程运行终结器来规避。&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://medium.com/data-and-beyond/how-deepseek-ocr-quietly-solved-a-billion-dollar-problem-in-ai-scaling-7b4502613af9&quot; target=&quot;_blank&quot;&gt;How DeepSeek OCR Quietly Solved a Billion-Dollar Problem in AI Scaling&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;DeepSeek OCR 通过结合 SAM 分割模型、CLIP 视觉编码器和稀疏 MoE 解码器，实现 10-20 倍上下文压缩，将文档处理所需的 token 数量减少 90%，在保持 97% 准确率的同时大幅降低 AI 模型处理成本，解决了大模型文本处理的高昂费用问题。&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/googlefonts/googlesans-code&quot; target=&quot;_blank&quot;&gt;Google Sans Code 编程字体&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google 专为编程设计的等宽字体，优化字符辨识度，支持可变字重和斜体样式，适用于代码编辑器和终端。&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/GibsonAI/Memori&quot; target=&quot;_blank&quot;&gt;Memori: AI Agent Memory Engine&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;一行代码让 LLM 拥有持久化记忆，支持 SQL 数据库存储，自动提取实体和关系，兼容主流 AI 框架。&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/alibaba/ROLL&quot; target=&quot;_blank&quot;&gt;ROLL: Large Language Model Reinforcement Learning Library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;阿里巴巴开发的高效强化学习库，支持 PPO/GRPO/Reinforce++ 等算法，可扩展至数千 GPU 集群，集成 Megatron-Core、vLLM 等框架。&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/jamwithai/arxiv-paper-curator&quot; target=&quot;_blank&quot;&gt;arxiv-paper-curator: Building Production RAG Systems&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;6 周学习构建生产级 RAG 系统，自动获取 arXiv 论文，支持混合搜索和本地 LLM，包含完整的基础设施和监控。&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/datawhalechina/all-in-rag&quot; target=&quot;_blank&quot;&gt;all-in-rag: RAG Technology Full Stack Guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Datawhale 出品的 RAG 技术全栈教程，从基础到进阶系统学习 RAG，包含理论讲解、代码实践和多模态支持，适合构建生产级智能问答系统。&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/empowerd-cms/nyno&quot; target=&quot;_blank&quot;&gt;nyno: Multi-Language Workflow Engine&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;开源多语言工作流引擎，支持 Python、PHP、JavaScript、Bash 语言，通过 YAML 配置创建自动化流程，高性能多进程工作引擎，支持 Docker 部署。&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/arman-bd/httpmorph&quot; target=&quot;_blank&quot;&gt;httpmorph: Browser Fingerprint HTTP Client&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python HTTP 客户端，完美模拟 Chrome 142 浏览器指纹，支持 JA3N/JA4 指纹匹配、HTTP/2 和 TLS 指纹，兼容 requests 的 API，高性能 C 实现。&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/langchain-ai/langgraph-swarm-py&quot; target=&quot;_blank&quot;&gt;langgraph-swarm-py: Multi-Agent Coordination Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;基于 LangGraph 的多智能体群协同框架，支持智能体间动态切换和上下文传递，内置流式响应、短期和长期记忆支持，兼容 LangChain 生态系统。&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/droidrun/droidrun&quot; target=&quot;_blank&quot;&gt;droidrun: Mobile Device Natural Language Control Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;通过自然语言命令控制 Android 和 iOS 设备的强大框架，支持多 LLM 提供商，具备规划复杂多步骤任务能力，提供易用 CLI 和可扩展 Python API。&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/metacraft-labs/codetracer&quot; target=&quot;_blank&quot;&gt;codetracer: Time-Travel Debugger&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;用户友好的时间旅行调试器，支持多种编程语言，可记录程序执行到可分享的跟踪文件，提供 GUI 界面前后移动执行，查看内存位置历史，快速定位 bug 根因。&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/usmanhalalit/DjangoRealtime&quot; target=&quot;_blank&quot;&gt;DjangoRealtime: Django Real-time Event Push&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;为 Django 应用添加实时功能，基于 PostgreSQL 发布订阅和 SSE，无需 WebSocket、Redis 或额外进程，支持用户级事件和全局广播，提供自动重连和事件持久化。&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/mozilla-ai/any-llm&quot; target=&quot;_blank&quot;&gt;any-llm: Unified LLM Interface&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Mozilla 开发的统一 LLM 接口，支持 OpenAI、Anthropic、Mistral、Ollama 等主流提供商，提供企业级网关功能，包含预算管理、API 密钥管理和使用分析，框架无关设计。&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/playlist?list=PL85KuAjbN_gseSuHZTUCgNAHLeKuMDBxI&quot; target=&quot;_blank&quot;&gt;PyBay 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.youtube.com/playlist?list=PL2NFhrDSOxgUSZVGkmbMhUpaaZ1ORfpCl&quot; target=&quot;_blank&quot;&gt;DjangoCon US 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/127/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#126: 新一代静态网站生成器</title><link>https://weekly.pythoncat.top/en/issues/126/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/126/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 08 Nov 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;你好，我是猫哥。这里每周分享优质的 Python、AI 及通用技术内容，大部分为英文。周刊开源在 &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; 上，喜欢请给颗小星星支持下~&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;温馨提示：&lt;/strong&gt; 在微信关注 &lt;strong&gt;Python猫&lt;/strong&gt;，发送一个数字&quot;&lt;strong&gt;9&lt;/strong&gt;&quot;，即可领取 9 折优惠码，订阅专栏可享 15 元优惠。&lt;/p&gt;
&lt;p&gt;本期分享了 12 篇文章，12 个开源项目，全文  字。&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://hugovk.dev/blog/2025/python-core-sprint/&quot; target=&quot;_blank&quot;&gt;Python Core Sprint 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;作者分享了 2025 年 Python 核心开发者冲刺会议的每日见闻，会议发布了 Python 3.14.0rc3，并围绕 JIT 编译器、WASI、Pyodide FFI、深度不可变性、跨平台 wheel 构建和新的 C API 等主题展开了深入的技术交流。&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://blog.jetbrains.com/pycharm/2025/11/10-smart-performance-hacks-for-faster-python-code&quot; target=&quot;_blank&quot;&gt;10 Smart Performance Hacks For Faster Python Code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;分享了使用集合查找替代列表遍历、避免不必要的数据复制、使用 __slots__ 优化内存等 10 个实用技巧，展示了如何利用 Python 内置特性和底层优化技术提升代码速度。&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://peps.python.org/pep-0798/&quot; target=&quot;_blank&quot;&gt;PEP 798 – Unpacking in Comprehensions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP 798 提议在列表、集合、字典推导式和生成器表达式中使用 * 和 ** 解包操作符，通过 [*it for it in its] 将任意数量的可迭代对象合并到一个列表中，无需写双重循环或调用 itertools.chain。&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://gokmengorgen.net/2025/11/02/making-an-easy-to-install-application-in-python/&quot; target=&quot;_blank&quot;&gt;Making an Easy-to-Install Application in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;作者为了解决跨平台脚本执行问题，从 Bash 脚本转向开发 Python 应用，探讨了零依赖安装、自包含打包、单文件 vs 多文件架构等方案，最终通过嵌入 Python 解释器和依赖库实现了真正的跨平台零依赖部署。&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://squidfunk.github.io/mkdocs-material/blog/2025/11/05/zensical/&quot; target=&quot;_blank&quot;&gt;Zensical - A modern static site generator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Material for MkDocs 团队发布了 Zensical 静态网站生成器，基于 Rust 开发，通过 ZRX 差分构建引擎实现 5 倍构建速度提升，原生支持 mkdocs.yml 配置实现无缝迁移，采用全新现代化设计打破 Material Design 限制。&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://conda.org/blog/conda-pip-docker-nix/&quot; target=&quot;_blank&quot;&gt;Conda in the Packaging Spectrum: From pip to Docker to Nix&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;文章深入解析 conda 作为用户空间发行版的独特定位，对比 pip、Docker 和 Nix 等包管理系统，阐明 conda 通过复用主机 glibc 实现轻量级环境，采用前缀可重定位技术保证跨平台兼容性，在灵活性与可重现性之间找到平衡点。&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://fullstack.rocks/article/sqlalchemy/brewing_with_sqlalchemy&quot; target=&quot;_blank&quot;&gt;Brewing with SQLAlchemy ORM&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SQLAlchemy 系列教程（15篇），从基础映射到复杂关联查询、事务管理、性能优化等实战话题，通过实际项目案例手把手教学，彻底掌握 Python 生态中最强大的 ORM 工具。&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://grahamdumpleton.me/posts/2025/10/wrapping-immutable-types/&quot; target=&quot;_blank&quot;&gt;Wrapping immutable objects&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;文章剖析了 wrapt 库中 ObjectProxy 类处理不可变对象的技术细节，通过实例演示 in-place 运算符在可变与不可变类型上的不同行为，揭示出类属性与实例属性在 += 操作时的微妙差异。&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://codecut.ai/regex-pregex-pyparsing-text-pattern-matching-guide/&quot; target=&quot;_blank&quot;&gt;Choose the Right Text Pattern Tool: Regex, Pregex, or Pyparsing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;文章对比了 regex 的传统模式匹配、pregex 的可读性组件构建以及 pyparsing 的结构化文本解析三种方案，分析如何根据具体场景，选择最合适的文本处理工具。&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://mathspp.com/blog/a-generator-duck-typing-and-a-branchless-conditional-walk-into-a-bar&quot; target=&quot;_blank&quot;&gt;A generator, duck typing, and a branchless conditional walk into a bar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;作者通过生动的类比解释 Python 生成器的惰性求值特性，对比列表与生成器在内存使用上的差异，用找书的例子说明何时该用生成器，还探讨了鸭子类型和无分支条件语句在实际编程中的巧妙应用。&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://surister.dev/blog/debugging-live-python-code&quot; target=&quot;_blank&quot;&gt;Debugging live code with CPython 3.14&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 已发布了，该如何使用它来调试运行中的进程？文章介绍了 sys.remote_exec(pid, path) 用法，演示了如何调试 CrateDB 驱动。&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://blog.bytebytego.com/p/what-actually-happens-when-you-press&quot; target=&quot;_blank&quot;&gt;What Actually Happens When You Press &apos;Send&apos; to ChatGPT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;深入解析 ChatGPT 背后的技术流程，从 HTTPS 加密传输到上下文构建、文本分词、transformer 模型推理，再到流式响应返回，完整展示了 AI 对话系统如何通过自注意力机制和专用硬件实现实时交互，让你了解每次对话背后的复杂技术栈。&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/datalab-to/chandra&quot; target=&quot;_blank&quot;&gt;chandra: OCR model that handles complex tables, forms, handwriting with full layout&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;可将图像和 PDF 转换为结构化 HTML/Markdown/JSON，支持 40 多种语言，具备表格识别、表单重建、手写识别、图像提取等功能，提供本地和云端两种推理模式。&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/zensical/zensical&quot; target=&quot;_blank&quot;&gt;zensical: A modern static site generator by the creators of Material for MkDocs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;基于 Rust 开发的新一代静态网站生成器，构建速度提升 5 倍，采用现代化设计，支持增量构建和缓存，与 Material for MkDocs 完全兼容，可无缝迁移现有项目。&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/usestrix/strix&quot; target=&quot;_blank&quot;&gt;strix: Open-source AI hackers for your apps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;像真实黑客一样动态运行代码、发现漏洞并通过实际利用进行验证，支持 CI/CD 集成，提供完整黑客工具包和漏洞检测报告。&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/GeeeekExplorer/nano-vllm&quot; target=&quot;_blank&quot;&gt;nano-vllm: A lightweight vLLM implementation built from scratch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;从头构建的轻量级 vLLM 实现，仅用约 1200 行 Python 代码，提供与 vLLM 相当的推理速度，支持前缀缓存、张量并行、Torch 编译和 CUDA 图优化。&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/langchain-ai/deepagents&quot; target=&quot;_blank&quot;&gt;deepagents: Build deep agents that tackle complex, multi-step tasks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;LangChain 推出的深度 AI 智能体工具库，支持任务规划分解、文件系统上下文管理、子智能体委派和长期记忆，灵感来自 Claude Code 和 Deep Research。&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/kvcache-ai/ktransformers&quot; target=&quot;_blank&quot;&gt;ktransformers: A flexible framework for LLM inference optimizations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;通过注入优化模块提供 Transformers 兼容接口、OpenAI/Ollama RESTful API 和 ChatGPT 风格界面，支持 GPU/CPU 异构计算和量化模型卸载，专注本地部署优化。&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/wshobson/agents&quot; target=&quot;_blank&quot;&gt;agents: Claude Code intelligent automation plugin system&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;集成 85 个专业 AI 智能体、15 个多智能体工作流编排器、47 项智能体技能和 44 个开发工具的 Claude Code 插件系统，支持模块化安装。&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/ruc-datalab/DeepAnalyze&quot; target=&quot;_blank&quot;&gt;DeepAnalyze: The first agentic LLM for autonomous data science&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;可自动完成数据准备、分析、建模、可视化和报告生成的完整数据科学生命周期，支持多种数据源，完全开源包括模型、代码和训练数据。&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/ZA1815/caniscrape&quot; target=&quot;_blank&quot;&gt;caniscrape: Analyze anti-bot protections before scraping&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;智能分析网站反爬虫保护机制的工具，可检测 WAF、CAPTCHA、限流、TLS 指纹、蜜罐等防护手段，提供难度评分和具体建议，支持历史变化追踪和云端扫描数据库。&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/SJRiz/pytogether&quot; target=&quot;_blank&quot;&gt;pytogether: Google docs for Python collaborative IDE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;适合初学者的浏览器端 Python 协作 IDE，支持实时协作编辑、Google 登录、群组项目管理、实时绘图、语音通话、代码检查等功能，基于 Django + React + Pyodide 技术栈开发。&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Pipelex/pipelex&quot; target=&quot;_blank&quot;&gt;pipelex: Open-source language for AI Agents workflows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;专为 AI 智能体设计的开源工作流语言，通过编写业务逻辑而非 API 调用来创建可重复的 AI 工作流，支持 PDF 分析、简历匹配、面试问题生成等自动化任务，提供免费 API 密钥。&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/microsoft/amplifier&quot; target=&quot;_blank&quot;&gt;amplifier: Metacognitive AI Development&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;微软开源的元认知 AI 开发工具，通过描述思维过程（元认知配方）来自动化复杂工作流，无需编码即可将专业知识转化为可复用的 AI 工具，支持工具组合和持续改进。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/126/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#125: Personal AI Notebook Tools</title><link>https://weekly.pythoncat.top/en/issues/125/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/125/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 01 Nov 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #125: Personal AI Notebook Tools&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html&quot; target=&quot;_blank&quot;&gt;The PSF has withdrawn a $1.5 million proposal to US government grant program&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Python Software Foundation voluntarily withdrew its $1.5 million funding application to the US National Science Foundation, because the grant terms required PSF to pledge not to run any projects advancing diversity, equity and inclusion. The PSF board unanimously decided to stand by its values rather than betray its mission of supporting a diverse Python community.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://pyfound.blogspot.com/2025/10/cpython-core-dev-sprint-2025-at-arm.html&quot; target=&quot;_blank&quot;&gt;CPython Core Dev Sprint 2025 at Arm Cambridge: The biggest one yet&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Arm&apos;s Cambridge headquarters hosted the largest CPython core developer sprint to date, bringing 48 developers together for in-depth technical exchange. The event covered core topics including the JIT compiler, performance optimization, package management and language design, driving important progress on free-threading and documentation improvements.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.piglei.com/articles/why-is-python-ordereddict-ordered/&quot; target=&quot;_blank&quot;&gt;Why is Python&apos;s OrderedDict ordered?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why can OrderedDict remember insertion order while a regular dict cannot? The author dives into the internals of the OrderedDict type and reveals the root cause of its ordered behavior: a doubly linked list is added on top of the dict to maintain order information, combined with an index dictionary for fast lookup. The article also shares interesting details such as the clever use of weakref to solve &quot;circular references&quot; and the design choice of using object() as a default value.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://labs.quansight.org/blog/numpy-thread-safe-test-suite&quot; target=&quot;_blank&quot;&gt;Exploring &amp;amp; Improving the Thread Safety of NumPy&apos;s Test Suite&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author analyzes in depth the thread-safety issues of NumPy&apos;s test suite under parallel execution. By introducing the pytest-run-parallel plugin, they identified and fixed critical defects such as global state pollution and random seed conflicts, speeding up test execution several-fold.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://hakibenita.com/django-reliable-signals&quot; target=&quot;_blank&quot;&gt;Reliable Django Signals&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django signals look simple but hide a trap — when a signal handler fails, the entire transaction is rolled back. The author reveals the fundamental flaw in the signal mechanism and proposes a practical alternative: replacing synchronous signals with background task queues such as Celery, so signal exceptions no longer affect the main business flow.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://emily.space/posts/251023-uv&quot; target=&quot;_blank&quot;&gt;uv is the best thing to happen to the Python ecosystem in a decade&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;uv rewrote the whole toolchain in Rust, making everything from version installation to dependency resolution astonishingly fast. The author compares uv&apos;s performance with traditional tools in detail, showing how it turns complex environment setup into a single command.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://muhammadraza.me/2024/building-container-runtime-python/&quot; target=&quot;_blank&quot;&gt;Understanding Docker Internals: Building a Container Runtime in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author reproduced the core mechanisms of containers in fewer than 200 lines of Python code, from Linux namespaces to cgroups resource limits, with detailed code examples at every step.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://peps.python.org/pep-0686/&quot; target=&quot;_blank&quot;&gt;PEP 686 – Make UTF-8 mode default&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.15, currently in development, has implemented PEP-686 and will enable UTF-8 mode by default. It unifies encoding for files, standard input/output and pipes to UTF-8, solving cross-platform encoding inconsistencies and improving interoperability with other languages.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.jacobstechtavern.com/p/my-terrible-startup-architecture&quot; target=&quot;_blank&quot;&gt;The Terrible Technical Architecture of my First Startup&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How does technical debt accumulate at a startup? The author pulls no punches in recounting their own &quot;dark history&quot; — from a simple Django + React architecture to a microservices hell over-engineered in the name of &quot;scalability&quot;. When should you stick with simplicity, and when is complexity actually needed?&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.bitecode.dev/p/python-314-what-didnt-make-the-headlines&quot; target=&quot;_blank&quot;&gt;Python 3.14 - What didn&apos;t make the headlines&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares underappreciated practical improvements in Python 3.14: the PDB debugger supports remote debugging and better breakpoint strategies, asyncio simplifies event loop management, argparse improves help text and error messages, and multiprocessing switches to the safer forkserver strategy on Linux.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://pytorch.org/blog/helion&quot; target=&quot;_blank&quot;&gt;Helion: A High-Level DSL for Performant and Portable ML Kernels&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-level domain-specific language from PyTorch that compiles PyTorch-like syntax into optimized Triton code. With an auto-tuning engine and implicit search spaces, developers can focus on algorithm logic rather than hardware details, achieving performance portability across hardware architectures.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://planetscale.com/blog/caching&quot; target=&quot;_blank&quot;&gt;Caching: The Most Elegant Innovation in Computing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A beautifully crafted interactive tutorial on caching, using animated visualizations to explain caching principles — from CPU multi-level caches to database caching strategies. Dynamic charts demonstrate core concepts such as hit-rate changes, temporal locality and spatial locality, making abstract caching mechanisms intuitive.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/deta/surf&quot; target=&quot;_blank&quot;&gt;surf: Personal AI Notebooks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI notebook tool that brings files and web pages directly into your thinking workflow, with multimedia resource management, intelligent note generation, @mentions, web search integration and interactive app development. Built with Svelte, TypeScript and Rust; cross-platform with local data storage. (star 2.3K)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/Cp0204/quark-auto-save&quot; target=&quot;_blank&quot;&gt;quark-auto-save: Quark Cloud Drive Auto-Save&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An all-in-one tool for Quark Cloud Drive check-ins, automatic saves, naming cleanup, push notifications and media library refresh. Supports share-link subdirectories, smart file filtering, regex filename cleanup, multi-task management and Emby integration, with Docker deployment, a WebUI, multi-account management and plugins. Works with SmartStrm and Emby for automatic episode tracking. (star 2.1K)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/HKUDS/AI-Trader&quot; target=&quot;_blank&quot;&gt;AI-Trader: Can AI Beat the Market?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An experimental platform where five AI agents trade completely autonomously in the Nasdaq-100 market, featuring a multi-model arena, zero human intervention, real-time performance analysis and historical replay. Built on an MCP toolchain architecture and integrated with Jina search for market intelligence, it provides full trading records and return analysis — exploring AI&apos;s autonomous decision-making in financial markets. (star 7.9K)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/ozeranskii/httptap&quot; target=&quot;_blank&quot;&gt;httptap: HTTP Request Analysis Tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful CLI tool that breaks HTTP requests into stages — DNS, TCP connection, TLS handshake, server wait and transfer — and presents results as waterfall charts, compact summaries or metrics. Supports IPv4/IPv6 detection, TLS certificate analysis, multiple output modes, JSON export and proxy support. Written in Python with no system dependencies; ideal for interactive troubleshooting, regression analysis and performance baselines.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/getkanchi/kanchi&quot; target=&quot;_blank&quot;&gt;kanchi: A realtime celery task monitoring and management system&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A real-time Celery task monitoring and management system with a friendly UI. Supports WebSocket live monitoring, task filtering and search, retry tracking, orphan detection, daily statistics and worker health monitoring. Offers Docker Compose quick deployment, basic auth and OAuth login, and works with RabbitMQ and Redis brokers — a more modern alternative to Flower.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/isaac-sim/IsaacSim&quot; target=&quot;_blank&quot;&gt;IsaacSim: NVIDIA Isaac Sim for AI-driven robots&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;NVIDIA&apos;s open-source AI-driven robot simulation platform built on Omniverse. Supports GPU-accelerated physics simulation, RTX sensor rendering, multiple robot format imports, reinforcement learning training, ROS integration and synthetic data generation. Includes the Isaac Lab framework for robot learning and digital-twin simulation, providing complete infrastructure for every stage of robot development. (star 1.8K)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/guofei9987/scikit-opt&quot; target=&quot;_blank&quot;&gt;scikit-opt: Swarm Intelligence in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python swarm-intelligence library integrating genetic algorithms, particle swarm optimization, simulated annealing, ant colony, immune algorithms, artificial fish swarm, differential evolution and other heuristics. Supports custom functions, GPU computing, multiple acceleration strategies (vectorization, multithreading, multiprocessing, caching), constrained optimization and TSP solving. Rich examples and visualizations for complex optimization problems. (star 6.2K)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/666ghj/BettaFish&quot; target=&quot;_blank&quot;&gt;BettaFish: Multi-Agent Public Opinion Analysis Assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A multi-agent public opinion analysis system built from scratch, analyzing millions of comments from 30+ major social platforms at home and abroad through conversational interaction. Six strengths: AI-driven monitoring, a composite analysis engine, multimodal capabilities, an agent-forum collaboration mechanism, and public/private-domain data fusion — helping users break out of filter bubbles and anticipate how opinion will evolve. (star 2.1K)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/moondevonyt/moon-dev-ai-agents&quot; target=&quot;_blank&quot;&gt;moon-dev-ai-agents: autonomous ai agents for trading in python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A collection of autonomous AI agents designed for algorithmic trading, covering backtesting research, live trading, market analysis and content creation. Supports multi-model consensus decisions, parallel backtesting, risk management, whale monitoring, sentiment analysis and funding-rate arbitrage. Integrates HyperLiquid, Solana and other trading platforms, offering a complete automated solution from strategy research to live trading. (star 1.9K)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/curvedinf/wove&quot; target=&quot;_blank&quot;&gt;wove: Beautiful Python async&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A library that makes Python async programming more intuitive than asyncio: top-down code declaration, implicit parallel execution, sync/async mixing, automatic task scheduling, dependency-graph construction and zero boilerplate. Built on the pure Python standard library with no external dependencies, compatible with free-threaded mode, and easy to integrate into any project for efficient concurrency.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/microsoft/agent-framework&quot; target=&quot;_blank&quot;&gt;agent-framework: A framework for building, orchestrating and deploying AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s open-source multilingual AI agent framework with both Python and .NET implementations. Complete solutions from simple chat agents to complex multi-agent workflows, with graphical workflow orchestration, streaming, checkpoints, human-in-the-loop and time travel. Integrates the DevUI interactive development interface and OpenTelemetry observability. (star 4.5K)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/HKUDS/ViMax&quot; target=&quot;_blank&quot;&gt;ViMax: Agentic Video Generation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A multi-agent video creation framework combining director, screenwriter, producer and video generator, supporting end-to-end automation from idea to finished film — scriptwriting, storyboard design, character creation and scene consistency. Offers idea-to-video, novel adaptation, script generation and personal customization modes, solving core problems of character consistency, scene coherence and production efficiency.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/125/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#124: Taking a Rational View of GIL Removal</title><link>https://weekly.pythoncat.top/en/issues/124/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/124/</guid><description>Sharing 12 articles, 12 open-source projects, 2 audio/video items</description><pubDate>Sat, 25 Oct 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #124: Taking a Rational View of GIL Removal&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.odbms.org/blog/2025/10/beyond-the-ai-hype-guido-van-rossum-on-pythons-philosophy-simplicity-and-the-future-of-programming/&quot; target=&quot;_blank&quot;&gt;Beyond the AI Hype: Guido van Rossum on Python&apos;s Philosophy, Simplicity, and the Future of Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An interview with Python&apos;s creator Guido van Rossum: He emphasizes that code still needs human review, and Python&apos;s &quot;humanistic&quot; philosophy makes it easy for LLMs to understand. He takes a rational stance on GIL removal, noting that enterprise demands are making Python increasingly complex. He suggests using type hints only for codebases over 10,000 lines to keep Python beginner-friendly.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://blog.baro.dev/p/the-future-of-python-web-services-looks-gil-free&quot; target=&quot;_blank&quot;&gt;The future of Python web services looks GIL-free&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Benchmarking FastAPI and Flask with Python 3.14&apos;s GIL-free version, the author found that performance loss dropped from 35% to just 5-10%, with significantly reduced memory usage. In I/O-intensive scenarios, the GIL-free version slightly outperforms the standard version, bringing true multithreaded concurrency to Python web services and potentially reducing reliance on multiprocess architectures.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.adarshd.dev/posts/exploring-free-threaded-python-314/&quot; target=&quot;_blank&quot;&gt;Goodbye GIL - Exploring Free Threaded Python 3.14&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive benchmarking report shared at PyCon JP 2025, comparing Python 3.14 standard and GIL-free versions. The author found about 15% performance loss in single-threaded code but significant improvements in multithreaded CPU-intensive tasks. The article also covers setup methods, performance characteristics, and real-world use cases for GIL-free mode.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://hugovk.dev/blog/2025/lazy-imports/&quot; target=&quot;_blank&quot;&gt;Three times faster with lazy imports&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Exploring PEP 810&apos;s explicit lazy import functionality, the author tested the pypistats CLI tool and found that lazy imports reduced startup time from 104ms to 36ms—nearly a 3x improvement. This is particularly beneficial for command-line tools, test suites, and applications with large dependency graphs, significantly reducing startup time and memory usage.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://pythontest.com/python-lazy-imports-now/&quot; target=&quot;_blank&quot;&gt;Python lazy imports you can use today&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Practical techniques for implementing lazy imports in current Python versions by moving import statements inside functions to delay module loading. The article demonstrates various implementation methods, including using importlib.import_module() and python -X importtime for diagnosing slow imports.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.bitecode.dev/p/diskcache-more-than-caching&quot; target=&quot;_blank&quot;&gt;Diskcache, more than caching&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An in-depth look at diskcache, a SQLite-based Python local caching library that provides microsecond-level key-value storage plus advanced features like transactions, tagging, locking, and queues. Through sharding mechanisms, it enables multiprocess concurrent writes, includes built-in thundering herd protection and function decorators, making it a near drop-in replacement for lightweight Redis use cases.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://leontrolski.github.io/postgres-as-queue.html&quot; target=&quot;_blank&quot;&gt;Postgres as queue&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares practical experience using PostgreSQL as a task queue, implementing atomic locking through FOR UPDATE SKIP LOCKED to avoid additional infrastructure setup and complex retry mechanisms. Compared to traditional message queues, this approach reduces system complexity, provides better observability, and easily supports features like retries and delayed execution.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://blog.jetbrains.com/pycharm/2025/10/why-performance-matters-in-python-development/&quot; target=&quot;_blank&quot;&gt;Why Performance Matters in Python Development&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Starting with Python interpreter characteristics and GIL limitations, this article analyzes common performance pitfalls including unnecessary loops, string concatenation, and data structure misuse. It emphasizes that performance optimization affects not just user experience and cloud costs, but directly impacts system scalability and development efficiency.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://www.loopwerk.io/articles/2025/async-django-why/&quot; target=&quot;_blank&quot;&gt;Async Django: a solution in search of a problem?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author questions the practical value of Django&apos;s async features. Despite the Django team spending six years developing async capabilities, a 2024 survey shows only 14% of developers use async views. The article argues that async Django adds framework complexity and creates dual APIs, while traditional background task solutions (like Celery) remain the best choice for solving performance bottlenecks.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://blog.pecar.me/django-bulk-update-memory-issue&quot; target=&quot;_blank&quot;&gt;Django bulk_update memory issue&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When updating hundreds of thousands of database records, the author discovered a memory trap in Django&apos;s bulk_update. Despite setting batch_size parameters, Django still prepares UPDATE statements for all batches upfront, causing memory to balloon to 4.8GB and trigger SIGTERM. The solution was manually implementing batch processing loops, reducing memory usage to just 62MB.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://cseweb.ucsd.edu/~mcoblenz/assets/pdf/OOPSLA_2025_PBT.pdf&quot; target=&quot;_blank&quot;&gt;An Empirical Evaluation of Property-Based Testing in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This OOPSLA 2025 paper provides the first systematic evaluation of property-based testing&apos;s real-world effectiveness in Python. The research found that property-based testing excels at discovering bugs, especially for edge cases and exceptional inputs. Compared to traditional unit testing, property-based testing automatically generates numerous test cases, significantly improving code coverage and bug detection capabilities.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://blog.jetbrains.com/kotlin/2025/10/from-python-to-kotlin-a-transition-worth-making/&quot; target=&quot;_blank&quot;&gt;From Python to Kotlin: A Transition Worth Making&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article analyzes the advantages of migrating from Python to Kotlin. While both languages have similar syntax, Kotlin offers static typing, immutability, and stronger concurrency models. Benchmarks show Python is 10-100x slower than Java, while Kotlin inherits JVM&apos;s high performance. Its type safety and modern language features can significantly boost development productivity.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/AsyncFuncAI/deepwiki-open&quot; target=&quot;_blank&quot;&gt;deepwiki-open: AI-Powered Wiki Generator for GitHub/Gitlab/Bitbucket Repositories&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automatically generates beautiful, interactive documentation for GitHub, GitLab, or BitBucket repositories. Uses AI to analyze code structure and create comprehensive docs with visualization charts. Supports private repos, Mermaid chart generation, and RAG-based AI Q&amp;amp;A functionality. (11.5K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/exislow/tidal-dl-ng&quot; target=&quot;_blank&quot;&gt;tidal-dl-ng: Multithreaded TIDAL Media Downloader Next Generation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful TIDAL music downloader supporting multithreaded and chunked downloads. Can download music and videos up to HiRes Lossless / TIDAL MAX 24-bit 192 kHz quality, supports Dolby Atmos format, and provides both command-line and graphical interfaces. (1.4K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/0x4m4/hexstrike-ai&quot; target=&quot;_blank&quot;&gt;hexstrike-ai: HexStrike AI MCP Agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Advanced MCP server that enables AI agents to autonomously run 150+ cybersecurity tools for penetration testing, vulnerability discovery, and security research. Features multi-agent architecture with intelligent decision engine, real-time visualization interface, and threat intelligence analysis capabilities. (4K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/stamparm/maltrail&quot; target=&quot;_blank&quot;&gt;maltrail: Malicious traffic detection system&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Identifies malicious network activity using public blacklists and threat intelligence. Supports detection of domains, URLs, IP addresses, and other threat indicators. Integrates dozens of threat intelligence sources with heuristic mechanisms to discover unknown threats, providing real-time monitoring and detailed reporting. (7.6K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/hyperflask/hyperflask&quot; target=&quot;_blank&quot;&gt;hyperflask: Full stack web framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A full-stack development framework based on Flask that pre-selects the entire tech stack and integrates features like file routing, SQL ORM, and deep htmx integration. Supports mixing multiple frontend technologies, enabling solo developers and small teams to rapidly develop and deploy web applications.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/joouha/modshim&quot; target=&quot;_blank&quot;&gt;modshim: Override and customize Python packages without touching their code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Override and customize Python module functionality without modifying source code by creating &quot;shim&quot; modules that combine original code with enhancements. Uses AST rewriting techniques to ensure consistency and avoid global pollution issues from monkey-patching.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/CuriousLearner/django-keel&quot; target=&quot;_blank&quot;&gt;django-keel: A versatile, production-ready Django project template for any use case&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Production-ready Django project template designed on 12-Factor App principles. Supports Django 5.2 and Python 3.12+, offers optional features like REST Framework, GraphQL, HTMX+Tailwind, and Celery, with interactive configuration to generate customized projects.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/asweigart/buttonpad&quot; target=&quot;_blank&quot;&gt;buttonpad: Cross-platform GUI toolkit for Python with configurable grid of buttons&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cross-platform Python GUI toolkit designed specifically for button interfaces. Built on Tkinter, it quickly creates grid interfaces through CSV-style layout strings. Supports callbacks, tooltips, hotkey mapping, and includes demo programs like calculator and 2048 game.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/FarhanAliRaza/django-bolt&quot; target=&quot;_blank&quot;&gt;django-bolt: Rust-powered API framework for Django achieving 60k+ RPS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;High-performance Django API framework based on Rust, achieving 60k+ RPS processing capability. Uses Actix Web to handle HTTP requests and bridges Python with Rust through PyO3. Fully compatible with Django ORM and existing packages, deployable directly without gunicorn.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/Burla-Cloud/burla&quot; target=&quot;_blank&quot;&gt;burla: The simplest way to run Python on lots of computers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open-source Python distributed computing platform that scales code to run on 10,000 CPUs or GPUs through a single function. Supports local development experience with automatic syncing of local packages to clusters, includes built-in web platform for monitoring long-running tasks.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Klavis-AI/klavis&quot; target=&quot;_blank&quot;&gt;klavis: MCP integration platforms that let AI agents use tools reliably at any scale&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MCP integration platform enabling AI agents to reliably use various tools at scale. Provides 100+ pre-built integrations and OAuth authentication, uses progressive discovery mechanisms to avoid tool overload, supports both cloud hosting and self-deployment. (5.3K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/showlab/computer_use_ootb&quot; target=&quot;_blank&quot;&gt;computer_use_ootb: Out-of-the-box (OOTB) GUI Agent for Windows and macOS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ready-to-use desktop GUI agent solution supporting both API mode (Claude 3.5 Computer Use) and local running mode (ShowUI, UI-TARS). No Docker required, supports both Windows and macOS systems. Provides Gradio-based friendly interface with multi-monitor, arbitrary resolution, and remote control support. Local mode reduces costs by 30-200x compared to Claude Computer Use and enables remote computer control via mobile browser. (1.8K stars)&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/watch?v=45kVol96IlM&quot; target=&quot;_blank&quot;&gt;Python, Go, Rust, TypeScript and AI with Armin Ronacher&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An interview with Flask framework creator Armin Ronacher on The Pragmatic Engineer Podcast, sharing insights on programming language choices, AI tool impacts, and error handling. He believes Rust is excellent but not suitable for early-stage startups, that the Python 2 to 3 migration was more challenging than expected, and that AI tools are changing the need for unified codebases. He also discusses why different programming languages remain important and the negative effects of agent programming.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.youtube.com/playlist?list=PL8uoeex94UhFQY9cYBQOVkj9fSHMHf5x9&quot; target=&quot;_blank&quot;&gt;EuroPython 2025 play list&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/124/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#123: You Probably Don&apos;t Need the Singleton Pattern</title><link>https://weekly.pythoncat.top/en/issues/123/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/123/</guid><description>Sharing 12 articles, 12 open-source projects, 3 audio/video items</description><pubDate>Sat, 18 Oct 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #123: You Probably Don&apos;t Need the Singleton Pattern&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.thepythoncodingstack.com/p/creating-a-singleton-class-in-python&quot; target=&quot;_blank&quot;&gt;Creating a Singleton Class in Python And Why You (Probably) Don&apos;t Need It&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using a game leaderboard as an example, this article dives deep into the singleton pattern concept and implementation, with a focus on the clever technique of using the &lt;code&gt;__new__()&lt;/code&gt; method for object creation. While the singleton pattern is commonly used in other languages, Python offers more elegant alternatives—since modules themselves are natural singletons, using global variables and functions is often more graceful.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://blog.codingconfessions.com/p/a-strong-reference-to-weak-references&quot; target=&quot;_blank&quot;&gt;Understanding Weak References in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive exploration of Python&apos;s weak reference mechanism in memory management, starting from the fundamentals of reference counting and analyzing how circular references lead to memory leaks. Through linked list node examples, it demonstrates the difference between strong and weak references, explaining how weak references can reference objects without preventing garbage collection—particularly useful for caching and subscriber list scenarios.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://grahamdumpleton.me/posts/2025/10/lazy-imports-using-wrapt/&quot; target=&quot;_blank&quot;&gt;Lazy imports using wrapt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article introduces how to leverage wrapt 2.0.0&apos;s new LazyObjectProxy feature for lazy module imports, implementing the PEP-810 proposal shared in a previous issue. Unlike traditional approaches, it doesn&apos;t modify the global sys.modules, only affecting the scope where lazy imports are used, avoiding global side effects.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://mrdonbrown.blogspot.com/2025/10/using-async-functions-in-celery-with.html&quot; target=&quot;_blank&quot;&gt;Using Async Functions in Celery with Django Connection Pooling&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An in-depth analysis of compatibility issues between Django 5.1 connection pooling and Celery async tasks, providing detailed explanations of Django ORM async call mechanisms. It reveals how &lt;code&gt;sync_to_async&lt;/code&gt; uses global thread executors leading to connection leaks, and offers a complete solution based on &lt;code&gt;ThreadSensitiveContext&lt;/code&gt;, including custom &lt;code&gt;@async_task&lt;/code&gt; decorators and prefork mode handling strategies.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.neelsomaniblog.com/p/killing-the-gil-how-to-use-python&quot; target=&quot;_blank&quot;&gt;Killing the GIL: How To Use Python 3.14&apos;s Free-Threading Upgrade&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 removes the GIL to achieve true multithreaded parallelism. This article analyzes the historical reasons for the GIL, limitations of traditional concurrency models, and provides detailed compilation guides and performance testing. Through N-Queens benchmarks, it demonstrates an 8x performance boost on M1 Pro, while explaining considerations for C extension recompilation and thread safety.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://treyhunner.com/2025/10/handy-python-repl-modifications/&quot; target=&quot;_blank&quot;&gt;Handy Python REPL Modifications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Customize your Python 3.13+ REPL experience through PYTHONSTARTUP files and the pyrepl-hacks library. The article shows how to add custom keyboard shortcuts, syntax highlighting themes, and convenient code editing features, making the REPL feel more like a modern editor.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.cnblogs.com/LAMENTXU/articles/18921150&quot; target=&quot;_blank&quot;&gt;Let&apos;s Talk About UUID Security in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into security vulnerabilities and attack methods across different Python UUID versions, detailing the generation logic of UUIDv1-v8, revealing security differences between PRNG and CSPRNG, introducing practical attack techniques like Sandwich Attack, and providing comprehensive attack workflows and protection recommendations.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://hugovk.dev/blog/2025/free-threaded-python-on-github-actions/&quot; target=&quot;_blank&quot;&gt;Free-threaded Python on GitHub Actions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;GitHub Actions now supports experimental free-threaded CPython testing. The article covers three configuration methods: using the &apos;t&apos; suffix, setup-uv, and freethreaded variables, providing complete CI configuration examples and environment variable setup.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://emma.has-a.blog/articles/why-do-we-need-an-external-app-for-rest.html&quot; target=&quot;_blank&quot;&gt;Why, in 2025, do we still need a 3rd party app to write a REST API with Django?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Challenging conventional wisdom, this article demonstrates how to build a complete REST API using only Django&apos;s built-in features. The author cleverly implements serialization through JsonViewMixin and ModelForm, combined with generic class views for CRUD operations, proving that DRF isn&apos;t always necessary for elegant API functionality in simple scenarios.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://blog.platformatic.dev/bring-python-asgi-to-your-nodejs-applications&quot; target=&quot;_blank&quot;&gt;Bring Python ASGI to Your Node.js Applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introducing an innovative technical solution that allows Python ASGI applications to run directly within Node.js processes. Through a Rust-built bridge layer, it achieves zero network overhead in-process communication without needing separate Python processes or network connections. This architecture is particularly suited for low-latency AI/ML application scenarios while supporting mainstream Python frameworks like FastAPI and Django.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://geekpython.in/echoapi-ai&quot; target=&quot;_blank&quot;&gt;Power-up API Testing with EchoAPI&apos;s AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How is AI technology revolutionizing API testing workflows? This article introduces EchoAPI, which supports natural language descriptions of testing requirements to automatically generate executable scripts and assertions, intelligently analyzes API response structures, automatically creates test cases covering edge cases, and generates dynamic variables and mock data.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://www.mostlypython.com/time-deltas-are-not-intuitive/&quot; target=&quot;_blank&quot;&gt;Time deltas are not intuitive&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;While developing a time tracking application, the author discovered a common pitfall with timedelta objects: using only the &lt;code&gt;seconds&lt;/code&gt; attribute when calculating durations across days yields incorrect results. The article explains in detail how Python normalizes time differences into three attributes—days, seconds, and microseconds—revealing why you need to use the &lt;code&gt;total_seconds()&lt;/code&gt; method or manually calculate &lt;code&gt;(days * 24) + (seconds / 3600)&lt;/code&gt; to get accurate hour counts.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/imputnet/helium&quot; target=&quot;_blank&quot;&gt;Helium: Private, fast, and honest web browser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A privacy-focused browser built on Chromium with Google components removed, featuring optimal privacy settings and ad blocking by default. Supports split-screen browsing and tab group management, compatible with macOS, Linux, and Windows. (5K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/antoniorodr/Cronboard&quot; target=&quot;_blank&quot;&gt;Cronboard: A terminal-based dashboard for managing cron jobs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A terminal-based cron job management tool built with Textual, supporting both local and remote servers. Provides task creation, editing, deletion, and pause functionality with SSH connection support and server bookmarks.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/showlab/Paper2Video&quot; target=&quot;_blank&quot;&gt;Paper2Video: Automatic Video Generation from Scientific Papers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Developed by the National University of Singapore, this tool converts LaTeX papers into complete presentation videos. Integrates slide creation, speech synthesis, and virtual presenter features, supporting GPT-4 and Gemini. (1K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/ChristianLempa/boilerplates&quot; target=&quot;_blank&quot;&gt;boilerplates: This is my personal template collection. Here you&apos;ll find templates, and configurations for various tools, and technologies.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A production-ready template collection featuring best practice templates for Docker, Terraform, Ansible, Kubernetes, and more. Includes CLI tools for rapid project structure generation. (6.8K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/Junyi-99/ChatGPT-API-Scanner&quot; target=&quot;_blank&quot;&gt;ChatGPT-API-Scanner: Scan GitHub for available OpenAI API Keys&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A security research tool for scanning OpenAI API keys on GitHub, using Selenium and regex for deep searching with results stored in SQLite database. Intended for security research purposes only.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/LuckyOne7777/ChatGPT-Micro-Cap-Experiment&quot; target=&quot;_blank&quot;&gt;ChatGPT-Micro-Cap-Experiment: This repo powers my blog experiment where ChatGPT manages a real-money micro-cap stock portfolio&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A 6-month real trading experiment where ChatGPT manages a micro-cap stock portfolio. Features trading engine, portfolio management, automated stop-loss, and provides transparent performance tracking with visualization analytics. (6.5K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/harvard-edge/cs249r_book&quot; target=&quot;_blank&quot;&gt;cs249r_book: Introduction to Machine Learning Systems&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Harvard University&apos;s open-source machine learning systems textbook covering the complete tech stack from edge devices to cloud deployment. Offers online reading, PDF format, and TinyTorch educational framework. (3.4K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/volcengine/MineContext&quot; target=&quot;_blank&quot;&gt;MineContext: MineContext is your proactive context-aware AI partner&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ByteDance&apos;s Volcano Engine context-aware AI agent that understands users&apos; digital world through screenshots. Features local-first privacy protection and compatibility with Doubao, OpenAI, and other model services. (1.8K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/hsliuping/TradingAgents-CN&quot; target=&quot;_blank&quot;&gt;TradingAgents-CN: Multi-Agent Financial Trading Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Chinese financial trading framework based on multi-agent large language models, supporting A-share, Hong Kong, and US stock analysis. Integrates multiple LLMs and provides intelligent news analysis with Docker deployment. (10.8K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/google-agentic-commerce/AP2&quot; target=&quot;_blank&quot;&gt;AP2: Agent Payments Protocol&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google&apos;s AI agent payment protocol featuring dual verification mechanisms to ensure secure agent purchases on behalf of users. Supports both traditional payments and cryptocurrency transactions. (2.3K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Tencent-Hunyuan/Hunyuan3D-2.1&quot; target=&quot;_blank&quot;&gt;Hunyuan3D-2.1: From Images to High-Fidelity 3D Assets with Production-Ready PBR Material&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tencent&apos;s first production-grade 3D asset generation model that creates high-fidelity 3D models from images using PBR material synthesis technology. Fully open-sourced model weights and training code. (2.3K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/Wirasm/PRPs-agentic-eng&quot; target=&quot;_blank&quot;&gt;PRPs-agentic-eng: Prompts, workflows and more for agentic engineering&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI engineering resource library optimized for Claude Code, providing Product Requirements Prompts (PRP) methodology with 12 pre-configured commands and complete template systems for production-ready code generation by AI agents. (1.7K stars)&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/playlist?list=PLwdA5WU2fAAvCIOjgnYDA7NrGJ8iFh97t&quot; target=&quot;_blank&quot;&gt;PyBeach 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://creators.spotify.com/pod/profile/corepy/episodes/Episode-26-1-CPython-Sprint-Week-in-Cambridge-UK--Part-1-e39jabg&quot; target=&quot;_blank&quot;&gt;core.py Episode 26.1: CPython Sprint Week in Cambridge UK, Part 1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://talkpython.fm/episodes/show/523/pyrefly-fast-ide-friendly-typing-for-python&quot; target=&quot;_blank&quot;&gt;Episode #523 - Pyrefly: Fast, IDE-friendly typing for Python | Talk Python To Me Podcast&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/123/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#122: Python 3.14 is Here – But How Fast Is It Really?</title><link>https://weekly.pythoncat.top/en/issues/122/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/122/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 11 Oct 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #122: Python 3.14 is Here – But How Fast Is It Really?&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://pythoninsider.blogspot.com/2025/10/python-3140-final-is-here.html&quot; target=&quot;_blank&quot;&gt;Python 3.14.0 (final) is here!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14.0 has finally dropped! This release is absolutely packed with game-changing features: official free-threaded Python support, template string literals, deferred annotation evaluation, multi-interpreter support, and Zstandard compression. Plus, there&apos;s an experimental JIT compiler, enhanced error messages, and official Android binary releases. This is huge!&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://blog.miguelgrinberg.com/post/python-3-14-is-here-how-fast-is-it&quot; target=&quot;_blank&quot;&gt;Python 3.14 Is Here. How Fast Is It?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author put Python 3.14 through its paces using recursive Fibonacci calculations and bubble sort algorithms. Compared to Python 3.13, the new version delivers roughly 20% speed improvements in single-threaded scenarios and absolutely shines in multi-threaded environments. While it&apos;s still not quite matching PyPy, Node.js, or Rust, Python 3.14 shows serious momentum in performance optimization, bringing significant speed boosts to pure Python code.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.codingconfessions.com/p/python-3-14-whats-new&quot; target=&quot;_blank&quot;&gt;My Top 5 Favourite Features in Python 3.14&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author breaks down Python 3.14&apos;s five standout features: free-threaded Python enabling true parallel computing, concurrent interpreter modules supporting multi-interpreter parallel execution, remote debugging capabilities that can attach directly to running processes, incremental garbage collection reducing latency spikes, and performance optimizations delivering substantial improvements across the board.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://audrey.feldroy.com/articles/2025-10-06-air-pioneering-ai-first-python-web-framework&quot; target=&quot;_blank&quot;&gt;Introducing Air: A Pioneering AI-First Python Web Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Meet Air, a new web framework that&apos;s being developed to blend the best of Django, FastHTML, and Flask. It supports both Python object-to-HTML generation and Jinja templating, comes with built-in HTMX support, and shows incredible promise for AI code generation optimization. This could be a game-changer for AI-driven web development.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://peps.python.org/pep-0810/&quot; target=&quot;_blank&quot;&gt;PEP 810 – Explicit lazy imports&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This PEP proposes introducing explicit lazy import syntax for Python 3.15, using &lt;code&gt;lazy import json&lt;/code&gt; statements to defer module loading. Modules only get loaded and executed when first used, not at import time, which can dramatically reduce startup times and memory usage. Smart optimization for modern Python apps!&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://pyrefly.org/blog/numpy-type-completeness&quot; target=&quot;_blank&quot;&gt;Bringing NumPy&apos;s type-completeness score to nearly 90%&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Quansight Labs and Meta&apos;s Pyrefly team collaborated to boost NumPy&apos;s type completeness from a measly 33% to nearly 90%! They doubled coverage to 80% just by fixing a single type annotation bug, then pushed it to 90% by fully typing the MaskedArray class. This massively improves IDE code completion and static type checking experiences.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.screamingatmyscreen.com/full-text-search-with-django-and-sqlite/&quot; target=&quot;_blank&quot;&gt;Full text search with Django and SQLite&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author demonstrates how to implement full-text search in Django blogs using SQLite&apos;s FTS5 extension, avoiding heavyweight solutions like ElasticSearch. By creating virtual tables and database triggers to sync content, plus native SQL queries for search ranking, you get powerful search without the complexity.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://snarky.ca/why-it-took-4-years-to-get-a-lock-files-specification/&quot; target=&quot;_blank&quot;&gt;Why it took 4 years to get a lock files specification&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author reflects on the challenging journey of Python&apos;s lock file specification PEP-751, which started in 2019 and went through multiple failed proposals and redesigns. Lock files need to record dependency graphs, support multi-platform compatibility, and handle the NP-complete problem of dependency resolution. Finally, through collaboration with uv, Poetry, PDM, and other tools, they reached consensus on the pylock.toml specification, bringing standardized dependency management to the Python ecosystem.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://inventwithpython.com/blog/sweigarts-law-of-pep-8-complaints.html&quot; target=&quot;_blank&quot;&gt;Python Violates PEP 8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author makes a fascinating observation: whenever someone complains about code violating PEP 8, it&apos;s always about snake_case naming conventions, never about any other PEP 8 content. The article explores what code style guides really mean, pointing out that PEP 8 emphasizes consistency over blind adherence – internal project consistency matters more than strict guideline compliance.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://bui.app/why-reactive-programming-hasnt-taken-off-in-python-and-how-signals-can-change-that&quot; target=&quot;_blank&quot;&gt;Why Reactive Programming Hasn&apos;t Taken Off in Python (And How Signals Can Change That)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author analyzes why reactive programming struggles to gain traction in Python, noting that while RxPY is powerful, it&apos;s overly complex for simple state management. The article introduces the reaktiv library and how it uses signal mechanisms to implement transparent reactive programming, making state synchronization as intuitive as spreadsheet formulas.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://davepeck.org/2025/09/22/introducing-tdom-html-templating-with-python-t-strings/&quot; target=&quot;_blank&quot;&gt;Introducing tdom: HTML templating with t‑strings&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introducing tdom, a library that leverages Python 3.14&apos;s new t-strings feature for modern HTML templating. The library supports dynamic attributes, special attribute handling, intuitive content nesting, and JSX-like component syntax, while automatically escaping special characters for security. This makes Python web templating more intuitive and powerful than ever.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://pythonkoans.substack.com/p/koan-1-the-empty-path&quot; target=&quot;_blank&quot;&gt;Koan 1: The Empty Path&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The first article in the &quot;Python Koans&quot; series dives deep into Python&apos;s concept of truthiness, explaining how to control object behavior in boolean contexts by defining &lt;code&gt;__bool__&lt;/code&gt; and &lt;code&gt;__len__&lt;/code&gt; methods. It shows that &quot;truth&quot; in Python isn&apos;t just a simple True/False binary concept, but rather how objects express their own meaning. (Shared by @julio-mcdulio)&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/YILING0013/AI_NovelGenerator&quot; target=&quot;_blank&quot;&gt;AI_NovelGenerator: AI Novel Generator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A versatile novel generator powered by large language models, supporting world-building, character development, intelligent chapter generation, state tracking systems, and semantic search engines. Features a visual workbench that automatically connects context and plot threads. (2.5K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/pwndbg/pwndbg&quot; target=&quot;_blank&quot;&gt;pwndbg: Exploit Development and Reverse Engineering with GDB &amp;amp; LLDB Made Easy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful GDB and LLDB plugin designed specifically for low-level software developers, hardware hackers, reverse engineers, and exploit developers. Provides rich utilities and enhanced features that fill gaps in traditional debuggers, making the debugging experience much more user-friendly. (9.4K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/hunvreus/devpush&quot; target=&quot;_blank&quot;&gt;devpush: Like Vercel, but open source and for all languages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source, self-hostable deployment platform supporting Python, Node.js, PHP, and more. Features Git-based zero-downtime deployments, real-time log monitoring, team collaboration management, custom domains, and SSL certificates. Uses Docker containerization with multi-environment management and branch mapping support. (2K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/ludo-technologies/pyscn&quot; target=&quot;_blank&quot;&gt;pyscn: An Intelligent Python Code Quality Analyzer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python code quality analysis tool that detects dead code using control flow graphs, identifies code clones with APTED + LSH algorithms, and provides coupling metrics and cyclomatic complexity analysis. Built with Go + tree-sitter for blazing fast processing (100K+ lines/second), with HTML and JSON report output support.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/offerrall/FuncToWeb&quot; target=&quot;_blank&quot;&gt;FuncToWeb: Transform any Python function into a web interface automatically. Zero boilerplate&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Converts any Python function into a web interface – just add type hints and call run() to generate a complete web form. Supports all Python built-in types, file uploads, dropdown menus, optional parameters, and more. Features real-time upload progress bars and error handling.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/muhammad-fiaz/logly&quot; target=&quot;_blank&quot;&gt;Logly: Rust-powered, Loguru-like logging library for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-performance Python logging library developed in Rust, offering a Loguru-like API experience. The Rust backend ensures memory safety and thread safety, supporting multiple log levels, structured JSON output, intelligent file rotation, multi-target output, and async callbacks. Zero configuration required, with rich filtering options and custom formatting.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/apecloud/ApeRAG&quot; target=&quot;_blank&quot;&gt;ApeRAG: Production-ready GraphRAG with multi-modal indexing, AI agents, MCP support, and scalable K8s deployment&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Combines Graph RAG, vector search, and full-text search technologies, supporting multi-modal document processing, AI agents, and MCP protocol integration. Provides five index types (vector, full-text, graph, summary, visual). Integrates MinerU document parsing service, supports Kubernetes deployment and enterprise-grade management features including audit logs, model management, and graph visualization.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/intruder-io/autoswagger&quot; target=&quot;_blank&quot;&gt;autoswagger: Autoswagger by Intruder - detect API auth weaknesses&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automatically detects unauthenticated APIs by parsing Swagger/OpenAPI documentation. Supports multi-stage discovery mechanisms, parallel endpoint testing, and parameter value brute forcing. Integrates Presidio for PII detection and regex-based sensitive information identification. Can detect personal information leaks, key exposure, and other security issues in APIs. (1.5K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/google/computer-use-preview&quot; target=&quot;_blank&quot;&gt;computer-use-preview: Computer Use Preview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google&apos;s computer use preview model that controls browsers through natural language commands. Supports Playwright local browser control and Browserbase cloud environments, integrating Gemini API and Vertex AI. Simple commands let AI agents automatically complete complex tasks like web searches, form filling, and page navigation, with mouse position highlighting and visual debugging features. (1K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/giantpinkrobots/varia&quot; target=&quot;_blank&quot;&gt;varia: Download manager that supports regular downloads, torrents and videos&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A cross-platform download manager supporting Linux and Windows systems, capable of handling regular files, BitTorrent torrents, and video/audio stream downloads. Serves as a graphical frontend for aria2 and yt-dlp, offering multiple installation methods including Flatpak, Snap, and AUR, plus browser extension support. Features auto-updates, post-shutdown download completion, and multi-language support.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/volfpeter/holm&quot; target=&quot;_blank&quot;&gt;holm: Web development framework that brings the Next.js developer experience to Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A web framework built on FastAPI, htmy, and FastHX that brings Next.js-like developer experience to Python. Supports file-system routing, JSX-syntax components, server-side rendering, and HTMX integration. No JavaScript dependencies or build steps required, providing a fully typed Python development environment. Supports async components, JSON and HTML APIs, and automatic page layouts.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/jiffyclub/snakeviz&quot; target=&quot;_blank&quot;&gt;snakeviz: An in-browser Python profile viewer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A browser-based Python performance profiling data visualization tool for viewing cProfile module output, serving as a graphical alternative to the standard library&apos;s pstats module. Offers icicle and sunburst chart visualizations, supports IPython magic commands and Jupyter Notebook integration, and provides intuitive displays of function call relationships and time consumption. (2.5K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/122/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#121: Python Trends Weekly #121: How Engineers Make High-Impact Decisions</title><link>https://weekly.pythoncat.top/en/issues/121/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/121/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 27 Sep 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trends Weekly #121: How Engineers Make High-Impact Decisions&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://antocuni.eu/2025/09/24/tracing-jits-in-the-real-world--cpython-core-dev-sprint/&quot; target=&quot;_blank&quot;&gt;Tracing JITs in the real world @ CPython Core Dev Sprint&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A PyPy core developer shared 7 years of real-world experience optimizing PyPy at a high-frequency trading firm during the CPython Core Dev Sprint. The talk dives deep into the similarities between CPython JIT and PyPy JIT, revealing the challenges that tracing JITs face in production code, including trace blockers and unpredictable performance patterns.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://blog.codingconfessions.com/p/compiling-python-to-run-anywhere&quot; target=&quot;_blank&quot;&gt;Compiling Python to Run Anywhere&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares hands-on experience building a Python compiler that transforms native Python code into cross-platform machine code through symbol tracing and IR generation. Drawing inspiration from Unity&apos;s IL2CPP architecture, the solution first generates C++ source code before compiling to executables that run without an interpreter. Starting from the pain points of AI model distribution, the author explores lighter-weight alternatives to containers, offering fresh perspectives on Python performance optimization.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://peps.python.org/pep-0806/&quot; target=&quot;_blank&quot;&gt;PEP 806 – Mixed sync/async context managers with precise async marking&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This PEP proposes mixing synchronous and asynchronous context managers within a single &lt;code&gt;with&lt;/code&gt; statement, aiming to solve the &quot;staircase of doom&quot; deep nesting problem in existing code and improve readability. Based on research across industrial codebases, the proposal found that 19% of async functions also use synchronous context managers, and the new syntax would significantly enhance the developer experience.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://adamj.eu/tech/2025/09/22/introducing-django-watchfiles&quot; target=&quot;_blank&quot;&gt;Introducing django-watchfiles, for more efficient runserver autoreloading&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author released a new version of django-watchfiles that replaces Django&apos;s default file polling mechanism with the Rust-based watchfiles library. This tool achieves more efficient auto-reloading through the operating system&apos;s file monitoring APIs, reducing CPU usage from 10% to 0% in medium-scale project tests. Compared to the Watchman solution that requires additional maintenance, django-watchfiles is simpler to install and more reliable.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://developers.redhat.com/articles/2025/09/23/how-i-used-cursor-ai-migrate-bash-test-suite-python&quot; target=&quot;_blank&quot;&gt;How I used Cursor AI to migrate a Bash test suite to Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A hands-on account of using Cursor AI to migrate a container test suite from Bash to Python. With simple prompts, Cursor AI automatically analyzed Bash scripts and generated corresponding Python libraries, plus created a complete PyTest test suite, saving approximately 1.5 months of development time throughout the migration process.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://labs.quansight.org/blog/free-threaded-gc-3-14&quot; target=&quot;_blank&quot;&gt;Unlocking Performance in Python&apos;s Free-Threaded Future: GC Optimizations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An in-depth look at garbage collector optimization techniques in Python 3.14&apos;s free-threaded version, comparing GC implementation differences between traditional GIL and free-threaded versions. The article introduces three key optimizations: &quot;mark alive&quot; phase, software prefetching, and intelligent GC triggering. These improvements achieved significant performance gains in pyperformance benchmarks, laying crucial groundwork for practical GIL-free Python.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://wasmer.io/posts/python-on-the-edge-powered-by-webassembly&quot; target=&quot;_blank&quot;&gt;Python on the Edge: Fast, sandboxed, and powered by WebAssembly&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Wasmer launches a WebAssembly-based Python edge computing solution that achieves near-native performance in sandboxed environments through WASIX technology. It supports mainstream frameworks like FastAPI, Django, and Streamlit, is compatible with native modules like numpy and pandas, and provides multithreading and WebSocket support. Compared to Cloudflare Workers and AWS Lambda, it offers better compatibility and faster cold start times.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610&quot; target=&quot;_blank&quot;&gt;Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A security researcher reveals a novel supply chain attack method by uploading malicious packages with the same names as internal enterprise packages to public repositories. The attack exploits package manager priority confusion and successfully infiltrated dozens of major companies including Apple and Microsoft. The article details attack principles, implementation processes, and protection recommendations, sounding an alarm for developers about dependency management security.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://lukeplant.me.uk/blog/posts/enforcing-conventions-in-django-projects-with-introspection/&quot; target=&quot;_blank&quot;&gt;Enforcing conventions in Django projects with introspection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article shows how to leverage Python&apos;s powerful introspection capabilities to automatically check naming conventions in Django projects. By combining Django&apos;s system check framework, the author implemented automatic validation of DateField and DateTimeField naming standards, effectively preventing potential issues caused by field type confusion.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://danielchasehooper.com/posts/good-ideas-in-cs/&quot; target=&quot;_blank&quot;&gt;Good Ideas in Computer Science&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author surveys universally recognized core concepts in computer science, from 16th-century binary numbers to 1970s public-key cryptography, covering fundamental concepts like arrays, hash tables, call stacks, and virtual address spaces.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://newsletter.scalablethread.com/p/why-event-driven-systems-are-hard&quot; target=&quot;_blank&quot;&gt;Why are Event-Driven Systems Hard?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An in-depth analysis of core challenges facing event-driven systems in large-scale applications. Using vivid analogies, it explains key issues like schema evolution, debugging complexity, message reliability, and idempotency, while providing practical solutions including schema registries, distributed tracing, and dead letter queues.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://strategizeyourcareer.com/p/how-software-engineers-make-productive-decisions?hide_intro_popup=true&quot; target=&quot;_blank&quot;&gt;How Software Engineers Make Productive Decisions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author proposes a &quot;two-way door&quot; decision framework that categorizes technical decisions into reversible and irreversible types. Through rapid risk assessment, it applies fast trial-and-error strategies for reversible decisions (like feature flags and internal library replacements) while handling irreversible decisions (like data migrations and architecture changes) with caution. This approach avoids over-investing in reversible decisions while ensuring the safety of high-risk decisions.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/google-research/timesfm&quot; target=&quot;_blank&quot;&gt;timesfm: TimesFM (Time Series Foundation Model)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google&apos;s open-source pre-trained time series foundation model designed specifically for time series forecasting. The latest version, TimesFM 2.5, uses 200M parameters, supports up to 16k context length, and can perform continuous quantile prediction. (5.8K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/knownsec/aipyapp&quot; target=&quot;_blank&quot;&gt;aipyapp: AI-Powered Python &amp;amp; Python-Powered AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python command-line interpreter with integrated large language models developed by KnownSec, supporting natural language descriptions that automatically generate and execute Python code. It offers both task mode and Python mode, handling various data engineering tasks like cleaning, transformation, and analysis without manual coding or copy-pasting. (2.4K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/WECENG/ticket-purchase&quot; target=&quot;_blank&quot;&gt;ticket-purchase: Damai Automatic Ticket Purchasing Script&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An automated ticket purchasing tool for Damai.cn built with Selenium and Appium, supporting both web and mobile platforms. It allows configuration of audience members, cities, dates, sessions, and prices to achieve zero-latency automatic ticket purchasing, with support for flow monitoring and automatic order submission. (3.5K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/Olow304/memvid&quot; target=&quot;_blank&quot;&gt;memvid: Video-based AI memory library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An innovative AI memory storage solution that encodes text data as QR codes stored in MP4 video files, enabling millisecond-level semantic search. Compared to traditional vector databases, it reduces storage space by 50-100x, requires no database infrastructure, and supports offline operation. Through video codec compression advantages, it provides a portable, efficient knowledge base solution. (9.2K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/kaixxx/noScribe&quot; target=&quot;_blank&quot;&gt;noScribe: Cutting edge AI technology for automated audio transcription&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Built on OpenAI Whisper and pyannote technology, supporting speaker identification and transcription in 60 languages, running completely locally without internet connection. The built-in editor allows proofreading and correcting transcription results, with advanced features like pause markers and overlapping speech detection. (1.4K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/Klavis-AI/klavis&quot; target=&quot;_blank&quot;&gt;klavis: MCP integration layers that let AI agents use thousands of tools reliably&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An MCP integration platform that enables AI agents to reliably use thousands of tools. It provides a unified MCP router and 50+ production-grade MCP servers, supporting enterprise-level OAuth authentication for mainstream services like GitHub, Gmail, and Slack. It supports both self-hosted and cloud service deployment options, providing Python and TypeScript SDKs plus REST API. (4.4K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/doganarif/fastapi-radar&quot; target=&quot;_blank&quot;&gt;fastapi-radar: A powerful debugging dashboard for FastAPI applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful debugging dashboard designed specifically for FastAPI applications, providing real-time monitoring of HTTP requests, SQL queries, and exceptions. It integrates with just one line of code and works out-of-the-box with zero configuration. It supports both SQL and NoSQL databases, featuring request-response capture, slow query detection, and exception stack tracing.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/feldroy/air&quot; target=&quot;_blank&quot;&gt;air: A new Python web framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A next-generation Python web framework built on FastAPI, Starlette, and Pydantic. It provides Air Tags for rapid HTML encoding, Jinja template compatibility, HTMX-friendly integration, and Pydantic-driven form validation.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/OpenMind/OM1&quot; target=&quot;_blank&quot;&gt;OM1: Modular AI runtime for robots&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modular AI runtime system for robots that supports creating and deploying multimodal AI agents in both digital environments and physical robots. It can process various inputs including web data, social media, cameras, and LiDAR, enabling physical actions like motion control, autonomous navigation, and natural conversation. It supports multiple platforms including humanoid robots, quadruped robots, mobile apps, and educational robots.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/bee-san/Ciphey&quot; target=&quot;_blank&quot;&gt;Ciphey: Automatically decrypt encryptions without knowing the key or cipher&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A fully automated encryption decryption and encoding cracking tool that can automatically identify and crack encryptions without knowing the key or encryption method. It supports 50+ encryption and encoding methods, including Base64, Morse code, Caesar cipher, Vigenère cipher, and other classic ciphers, as well as modern encryption like repeating key XOR. Using custom AI modules and natural language processing technology, most cracking tasks complete within 3 seconds, making it 7x faster than tools like CyberChef. (19.6K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/dbos-inc/dbos-transact-py&quot; target=&quot;_blank&quot;&gt;DBOS Transact: Lightweight Durable Python Workflows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight persistent workflow system based on Postgres that adds persistent workflow and queue functionality to Python programs through simple function annotations. It supports automatic failure recovery, persistent queues, event handling, scheduling, and notifications without requiring additional infrastructure configuration.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/SureScaleAI/cleverbee&quot; target=&quot;_blank&quot;&gt;CleverBee: AI-powered online data information synthesis assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python-based AI-driven online data information synthesis assistant that integrates multiple large language models for intelligent research. It uses Playwright for automated web browsing and Chainlit for interactive user interfaces. It supports multi-model research, automatic web browsing, content processing, token tracking, and high configurability, capable of automatically collecting and analyzing web information.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/121/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#120: Comparison of New Python Type Checkers</title><link>https://weekly.pythoncat.top/en/issues/120/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/120/</guid><description>Sharing 13 articles, 13 open-source projects, 1 audio/video item, 2 hot discussions</description><pubDate>Sat, 20 Sep 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #120: Comparison of New Python Type Checkers&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://sinon.github.io/future-python-type-checkers/&quot; target=&quot;_blank&quot;&gt;How Well Do New Python Type Checkers Conform? A Deep Dive into Ty, Pyrefly, and Zuban&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Three new Rust-powered Python type checkers emerged in 2025: Astral&apos;s ty, Meta&apos;s pyrefly, and David Halter&apos;s zuban. The author conducted an in-depth analysis using Python&apos;s type conformance test suite to compare these newcomers against established tools like mypy and pyright. While zuban leads in test pass rates, ty shows greater promise for tool quality and gradual adoption strategies.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://albertomh.com/2025/playwright-vs-pydoll-e2e-benchmark/&quot; target=&quot;_blank&quot;&gt;Playwright vs Pydoll&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author benchmarked Playwright against the emerging pydoll testing framework in their project, finding Playwright significantly outperformed pydoll with shorter execution times and better stability. Despite pydoll&apos;s faster Chrome DevTools Protocol foundation, it required 40% more code in practice, lacked built-in features, and only supported Chromium browsers—making it not quite ready for prime time.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://xeon.me/gnome/pythonbpf&quot; target=&quot;_blank&quot;&gt;PythonBPF - Writing eBPF Programs in Pure Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PythonBPF enables developers to write eBPF programs using pure Python syntax, replacing traditional C code string embedding with decorators and type annotations. The library compiles Python code into genuine eBPF object files, supporting core features like hash maps, control flow, and kernel tracing—offering a third production-ready option for eBPF development alongside Rust and C.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://peps.python.org/pep-0804/&quot; target=&quot;_blank&quot;&gt;PEP 804 – An external dependency registry and name mapping mechanism&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP 804 proposes a central registry mechanism for automatically mapping Python packages&apos; external dependencies to corresponding package names across different package managers. Building on PEP 725&apos;s external dependency metadata, this proposal uses standardized mapping rules to solve package name inconsistencies across Linux distributions, conda, Homebrew, and other ecosystems, boosting cross-platform build success rates.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.loopwerk.io/articles/2025/django-views/&quot; target=&quot;_blank&quot;&gt;How I write Django views&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author analyzes three approaches to writing Django views, pointing out that while generic class-based views are powerful, they hide too much complexity—requiring understanding of up to 11 methods and 5 class inheritance relationships. They recommend using only the base View class, organizing code by separating logic according to HTTP methods, avoiding large if-blocks in function-based views while maintaining code simplicity and readability.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://rtpg.co/2023/11/15/feature-flags-in-depth/&quot; target=&quot;_blank&quot;&gt;Feature Flags In Depth&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Feature flags let developers dynamically control code functionality without redeployment. This article covers Python implementation approaches, from simple if-statement checks to complete storage architectures using django-waffle, and elegant &lt;code&gt;FeatureFlags&lt;/code&gt; class designs. It details multi-dimensional flag strategies including user-level, team-level, and percentage rollout configurations.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://rtpg.co/2025/06/28/checking-out-sys-remote-exec/&quot; target=&quot;_blank&quot;&gt;Checking Out CPython 3.14&apos;s remote debugging protocol&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 is coming with a new &lt;code&gt;sys.remote_exec()&lt;/code&gt; function that can inject code execution into running Python processes without requiring program restarts for debugging. The article demonstrates how to inject &lt;code&gt;traceback.print_stack()&lt;/code&gt; to view call stacks or use remote_pdb to establish interactive debugging sessions.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://alexplescan.com/posts/2025/09/15/gifs&quot; target=&quot;_blank&quot;&gt;Just for fun: animating a mosaic of 90s GIFs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author downloaded over 60,000 GIF files from the Internet Archive&apos;s GeoCities collection, using Python&apos;s imagehash library for perceptual hash deduplication and the vit-base-nsfw-detector model to filter inappropriate content. The result is a fully browser-rendered Canvas animation that stitches random GIFs into a scrolling mosaic with CRT shader effects.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://pythonkoans.substack.com/p/koan-12-the-blacksmiths-hammer&quot; target=&quot;_blank&quot;&gt;Koan 12: The Blacksmith&apos;s Hammer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using the metaphor of a blacksmith&apos;s hammer, this article analyzes the dangers of unquoted strings in Python, explaining the root cause of CVE-2024-9287. When using subprocess with shell=True, spaces and semicolons in paths get misinterpreted by the shell as command separators, leading to command injection attacks. The recommended solutions are using subprocess.run([...]) to avoid shell parsing or properly quoting strings with shlex.quote.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.better-simple.com/django/2025/09/17/playwright-pytest-that-brings-me-joy/&quot; target=&quot;_blank&quot;&gt;Playwright &amp;amp; pytest techniques that bring me joy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares techniques for combining Playwright and pytest in end-to-end testing, using page.expect_page() to handle new tab testing and pytest markers instead of fixtures to distinguish different user contexts. The article also covers page.pause() debugging tools, the axe-playwright-python package for preventing accessibility regressions, and page.expect_response() for confirming background requests.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://ryelang.org/blog/posts/comparing_tables_to_python/&quot; target=&quot;_blank&quot;&gt;Rye Tables vs Python/Pandas: A Different Way to Wrangle Data&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article compares Rye language&apos;s table operations with Python/Pandas for data processing, showcasing how Rye achieves clean data transformations through pipeline operators and pure functions. Rye&apos;s tables are first-class immutable data structures supporting chained operations, offering more concise syntax than pure Python for complex data tasks like filtering, joining, and aggregation, with more intuitive syntax compared to Pandas.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://www.dbos.dev/blog/durable-queues&quot; target=&quot;_blank&quot;&gt;How I solved a distributed queue problem after 15 years&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Reddit&apos;s former infrastructure lead shares the evolution from traditional task queues to durable queues, solving data loss issues by persisting checkpoint state to databases like Postgres. Durable queues combine task queues with durable workflows, enabling recovery from the last completed step for failed tasks, providing built-in observability perfect for business-critical tasks.&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://buttondown.com/blog/rss-vs-ice&quot; target=&quot;_blank&quot;&gt;The story of how RSS beat Microsoft&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author reveals a little-known battle of content syndication standards, where Microsoft and other giants&apos; ICE standard—despite being more powerful—was too complex and expensive, ultimately losing to simple, open RSS. RSS could create feeds with just three elements, while ICE required a 58,000-word getting-started guide. This technical battle proved the internet&apos;s iron law: &quot;simple, open protocols beat complex, top-down solutions.&quot;&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/yichuan-w/LEANN&quot; target=&quot;_blank&quot;&gt;LEANN: The smallest vector index in the world&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An innovative vector database that transforms laptops into powerful RAG systems, capable of indexing and searching millions of documents while saving 97% storage space compared to traditional solutions without sacrificing accuracy. (⭐ 2.6K)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/microsoft/agent-lightning&quot; target=&quot;_blank&quot;&gt;agent-lightning: The absolute trainer to light up AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s open-source AI agent training platform that supports transforming any agent into an optimizable powerhouse with virtually zero code changes. Compatible with all major agent frameworks like LangChain, OpenAI Agent SDK, AutoGen, CrewAI, and more, featuring reinforcement learning and automatic prompt optimization algorithms. (⭐ 1.5K)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/KoljaB/RealtimeVoiceChat&quot; target=&quot;_blank&quot;&gt;RealtimeVoiceChat: Have a natural, spoken conversation with AI!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A real-time AI voice chat system for natural conversations with large language models, delivering near-instant voice responses. Features voice capture, real-time transcription, AI processing, speech synthesis, and intelligent interruption capabilities for smooth conversational experiences. (⭐ 3.1K)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/robusta-dev/holmesgpt&quot; target=&quot;_blank&quot;&gt;HolmesGPT: Your 24/7 On-Call AI Agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A specialized AI agent for cloud environment troubleshooting and alert investigation that automatically identifies root causes and provides fix recommendations. Integrates with dozens of cloud providers, observability tools, and on-call systems, supporting mainstream platforms like Kubernetes, Prometheus, and DataDog. (⭐ 1.3K)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/SamuelSchmidgall/AgentLaboratory&quot; target=&quot;_blank&quot;&gt;AgentLaboratory: Using LLM Agents as Research Assistants&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An end-to-end autonomous research workflow platform that assists researchers through specialized LLM agents in completing the entire research process from literature review and experiment planning to report writing. Supports three core phases: literature review, experiment execution, and report generation, integrating tools like arXiv, Hugging Face, Python, and LaTeX. (⭐ 4.9K)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/NVIDIA-NeMo/NeMo&quot; target=&quot;_blank&quot;&gt;NeMo: A scalable generative AI framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;NVIDIA&apos;s scalable generative AI framework supporting seamless training from single GPUs to thousand-node clusters, integrating cutting-edge technologies like Hugging Face models, Blackwell training, and Cosmos world foundation models. (⭐ 15.7K)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/apecloud/ApeRAG&quot; target=&quot;_blank&quot;&gt;ApeRAG: Production-ready GraphRAG platform&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A production-grade RAG (Retrieval-Augmented Generation) platform combining graph RAG, vector search, and full-text search technologies, equipped with advanced AI agents. Supports multimodal document processing, hybrid retrieval engines, MCP protocol integration, and enterprise-level management features.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/ciromattia/kcc&quot; target=&quot;_blank&quot;&gt;kcc: Kindle Comic Converter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comic and ebook conversion tool optimized for e-ink readers, supporting conversion of JPG/PNG/GIF image folders, CBZ/CBR archives, and PDFs to MOBI/AZW3, EPUB, KEPUB, CBZ formats. Features image processing optimization tailored for E-ink screen characteristics, significantly reducing file sizes while maintaining visual quality, with support for Kindle, Kobo, reMarkable, and other devices. (⭐ 4.2K)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/Alibaba-NLP/DeepResearch&quot; target=&quot;_blank&quot;&gt;DeepResearch: Tongyi Deep Research Agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Alibaba&apos;s Tongyi Lab&apos;s deep information search AI agent powered by a 30.5 billion parameter language model that activates only 3.3 billion parameters per token. Specifically designed for long-term deep information search tasks, excelling in multiple agent search benchmarks with support for both ReAct and IterResearch reasoning modes. (⭐ 9.1K)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/Growth-Kinetics/DiffMem&quot; target=&quot;_blank&quot;&gt;DiffMem: Git Based Memory Storage for Conversational AI Agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight AI agent memory backend using Git version control to track memory evolution, Markdown files for human-readable content storage, BM25 indexing for fast retrieval, and support for temporal difference analysis and context management.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/executablebooks/markdown-it-py&quot; target=&quot;_blank&quot;&gt;markdown-it-py: Markdown Parser for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-performance Python Markdown parser with full CommonMark specification support, featuring configurable syntax rules, plugin extension system, high-speed parsing, and security configurations. It&apos;s the Python port of the JavaScript markdown-it library.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/edelvalle/djhtmx&quot; target=&quot;_blank&quot;&gt;djhtmx: Interactive UI Components for Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Django interactive component framework built on the htmx.org technology stack, supporting state management, event handling, user authentication, and component subscription mechanisms. Uses Redis for session storage and provides a development experience similar to Phoenix LiveView.&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://github.com/YuminosukeSato/pyproc&quot; target=&quot;_blank&quot;&gt;pyproc: High-Performance IPC Library for Calling Python from Go&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A library that lets Go services call Python code like local functions without requiring CGO or microservice architecture. Implements inter-process communication through Unix Domain Sockets, providing zero network overhead, process isolation, and true parallel processing capabilities.&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/playlist?list=PLs4CJRBY5F1LRkAAUwbqHNGPBlxDkrz-3&quot; target=&quot;_blank&quot;&gt;PyCon Australia 2025 Talk Videos&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1n7r4xb/niche_python_tools_libraries_and_features_whats/&quot; target=&quot;_blank&quot;&gt;Niche Python tools, libraries and features - whats your favourite? &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.v2ex.com/t/1140619#reply16&quot; target=&quot;_blank&quot;&gt;The Mental Overhead of Switching from Go to Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/120/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#119: Google Discontinues Pytype Development!</title><link>https://weekly.pythoncat.top/en/issues/119/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/119/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 13 Sep 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #119: Google Discontinues Pytype Development!&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://labs.quansight.org/blog/scaling-asyncio-on-free-threaded-python&quot; target=&quot;_blank&quot;&gt;Scaling asyncio on Free-Threaded Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 optimizes asyncio in GIL-free builds through improved task management and thread state storage, boosting single-threaded performance by 10%–20% while enabling true parallel scaling in multi-threaded scenarios. Benchmarks show aiohttp throughput nearly doubling, with significant TCP improvements that help network and I/O applications better leverage multi-core systems.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://pydevtools.com/blog/google-sunsets-pytype-the-end-of-an-era-for-python-type-checking/&quot; target=&quot;_blank&quot;&gt;Google Sunsets Pytype: The End of an Era for Python Type Checking&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google announces the end of maintenance for Pytype, the type checker that ran for 13 years, stopping at Python 3.12. Its bytecode analysis architecture proved to be a fatal weakness, unable to keep pace with Python&apos;s rapidly evolving type system. While Pytype excelled at cross-function boundary flow analysis and handling large codebases, its batch processing mode couldn&apos;t meet modern development demands for incremental checking and LSP integration.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://pythonspeed.com/articles/testing-compiler-optimizations/&quot; target=&quot;_blank&quot;&gt;Testing the compiler optimizations your code relies on&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When compilers optimize seemingly O(n) loops into constant-time operations, how do you ensure these optimizations remain effective? This article demonstrates using CPU instruction counting instead of runtime measurements through Numba and LLVM examples. This technique reliably detects whether the compiler actually performed expected optimizations, preventing performance regressions.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://treyhunner.com/2025/09/customizing-your-python-repl-color-scheme/&quot; target=&quot;_blank&quot;&gt;Customizing your Python REPL&apos;s color scheme (Python 3.14+)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 introduces REPL syntax highlighting, but the default colors might clash with your editor. Using the &lt;code&gt;_colorize&lt;/code&gt; module&apos;s &lt;code&gt;set_theme&lt;/code&gt; function, you can customize colors for keywords, strings, comments, and other elements. Combined with the &lt;code&gt;PYTHONSTARTUP&lt;/code&gt; environment variable, your personalized color scheme automatically activates on every startup.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://anishathalye.com/semlib/&quot; target=&quot;_blank&quot;&gt;Semlib: LLM-powered Data Processing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Semlib offers functional programming primitives described in natural language, enabling data processing pipelines with map, reduce, sort, and other operations. It breaks complex tasks into smaller steps, avoiding the inefficient practice of dumping all data directly into LLMs. Through structured computation and concurrent processing, it not only improves result quality but also handles data at any scale while supporting cost optimization and model selection.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://ohadravid.github.io/posts/2025-09-hello-bazel/&quot; target=&quot;_blank&quot;&gt;How to Build Python Code with Bazel (and Why)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces Google&apos;s open-source build tool Bazel, which precisely tracks external dependencies and internal module relationships through dependency graph management, avoiding unnecessary redundant development. It supports polyglot development, such as seamless Rust extension integration, with value becoming increasingly apparent as project complexity grows.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://peps.python.org/pep-0679/&quot; target=&quot;_blank&quot;&gt;PEP 679 – New assert statement syntax with parentheses&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP 679 proposes supporting &lt;code&gt;assert (expr, msg)&lt;/code&gt; parentheses syntax, addressing the issue of beginners accidentally disabling assertions through parentheses misuse while improving the formatting experience for multi-line assertions.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://peps.python.org/pep-0803/&quot; target=&quot;_blank&quot;&gt;PEP 803 – Stable ABI for Free-Threaded Builds&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP 803 proposes making the PyObject struct an opaque type, allowing Python 3.15&apos;s stable ABI to support both free-threaded and GIL development modes simultaneously, requiring extension modules to migrate to new APIs for lock-free concurrency support.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://posit.co/blog/setting-up-local-llms-for-r-and-python&quot; target=&quot;_blank&quot;&gt;Setting up local LLMs for R and Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explains how to deploy large models locally using Ollama, enabling interaction with local LLMs through chatlas (R) and ellmer (Python) packages, avoiding data privacy risks while enjoying AI-assisted programming experiences.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.bestblogs.dev/article/bedb12&quot; target=&quot;_blank&quot;&gt;How to Make AI &quot;Understand&quot; Web Pages? Analyzing Browser-Use&apos;s Three Core Technical Modules&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Browser-Use is an AI-driven browser automation tool. This article dissects its three core technical modules: DOM tree parsing (including JavaScript-side recursive traversal, Python-side tree construction, interactive element identification, and visual annotation), memory modules (MessageManager&apos;s message management, truncation strategies, and mem0-based memory compression), and tool registration and management (built-in Action collections, decorator registration mechanisms, and tool invocation workflows).&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.anthropic.com/engineering/writing-tools-for-agents&quot; target=&quot;_blank&quot;&gt;Writing effective tools for AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Anthropic shares how to develop high-quality tools for AI agents. Through MCP, agents gain access to hundreds of tool capabilities, using an iterative process of prototyping, evaluation testing, and collaborative optimization to optimize token efficiency and provide meaningful contextual feedback, enabling agents to effectively solve complex real-world tasks.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://addyosmani.com/blog/chrome-17th/&quot; target=&quot;_blank&quot;&gt;Google Chrome at 17 - A history of our browser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google Chrome engineers reflect on Chrome&apos;s 17-year journey since its 2008 birth: from the initial multi-process architecture revolution to V8 engine performance breakthroughs, Chrome has consistently evolved around four core principles—speed, security, stability, and simplicity. Through innovations like isolated tab processes, rendering pipeline reconstruction, and AI feature integration, the browser has evolved from a simple web viewer into a modern web application platform.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/NEKOparapa/AiNiee&quot; target=&quot;_blank&quot;&gt;AiNiee: AI Translation Tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI translation tool focused on one-click automatic translation of complex long-form content like games, books, subtitles, and documents. Supports multiple formats including RPG/SLG games, Epub/TXT novels, Srt/Vtt/Lrc subtitles, and Word/PDF/MD documents. Features lightweight translation formats, chain-of-thought translation, AI glossaries, and contextual associations, offering one-click AI polishing, formatting, and terminology extraction. (3.5K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/qwersyk/Newelle&quot; target=&quot;_blank&quot;&gt;Newelle: Your Ultimate Virtual Assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A versatile AI virtual assistant application built with Python and GTK, integrating voice conversations, document chat, web search, terminal command execution, and more. Features long-term memory, extension systems, configuration file management, and a built-in file manager. Supports Markdown and LaTeX rendering with rich customization options and theme settings.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/VectifyAI/PageIndex&quot; target=&quot;_blank&quot;&gt;PageIndex: Document Index for Reasoning-based RAG&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AlphaGo-inspired reasoning-based RAG system that uses tree search to simulate how human experts navigate and extract knowledge from long documents. Requires no vector databases or document chunking, using document structure and LLM reasoning for retrieval. Converts PDF documents into semantic tree structures, supporting complex document analysis for financial reports, academic textbooks, legal technical manuals, and more. (2.5K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/Vector-Wangel/XLeRobot&quot; target=&quot;_blank&quot;&gt;XLeRobot: Practical Dual-Arm Mobile Home Robot for $660&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A low-cost dual-arm mobile home robot platform starting at $660, assembled in under 4 hours. Supports multiple control methods including keyboard, Xbox controller, Switch controller, and VR headsets, with Bluetooth wireless control requiring no WiFi connection. (3.1K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/HKUDS/RAG-Anything&quot; target=&quot;_blank&quot;&gt;RAG-Anything: All-in-One RAG System&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive multimodal document processing RAG system built on LightRAG, supporting unified processing and querying of various content types including text, images, tables, and mathematical formulas. Provides end-to-end multimodal pipelines, completing everything from document parsing to intelligent Q&amp;amp;A in one stop. (4.9K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/sentient-agi/ROMA&quot; target=&quot;_blank&quot;&gt;ROMA: Recursive-Open-Meta-Agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A meta-agent framework for developing high-performance multi-agent systems, using recursive hierarchical structures to solve complex problems. Supports parallel problem-solving, clear debugging structures, and proven performance. Built on AgnoAgents, integrating FastAPI, React, LiteLLM, and other tech stacks, with E2B sandbox execution environments and enterprise-grade S3 storage support. (1.5K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/thecmdguy/Ducky&quot; target=&quot;_blank&quot;&gt;Ducky: The Ultimate Networking Tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An all-in-one desktop application built with Python and PySide6, designed for network engineers, students, and tech enthusiasts. Integrates multi-protocol terminals (SSH, Telnet, serial), SNMP topology mappers, network diagnostic tools, security toolkits, and more. Supports subnet calculators, port scanning, CVE queries, password strength testing, file hash calculations, and more.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/JefferyHcool/BiliNote&quot; target=&quot;_blank&quot;&gt;BiliNote: AI Video Note Generation Tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source AI video note-taking assistant that automatically extracts content from Bilibili, YouTube, TikTok, and other video links to generate well-structured Markdown notes. Features multimodal video understanding, local audio transcription, GPT model summarization, automatic screenshot insertion, and original video jump links. Offers Windows desktop and Docker deployment options. (3.6K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/murtaza-nasir/maestro&quot; target=&quot;_blank&quot;&gt;MAESTRO: Your Self-Hosted AI Research Assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Docker-deployed AI-driven research platform using multi-agent systems (planning, research, reflection, writing), integrating advanced RAG pipelines and dual BGE-M3 embedding technology. Supports PDF, Word, and Markdown document processing with semantic search and web integration capabilities. Features local LLM support, PostgreSQL vector storage, real-time progress tracking, and more. (1.2K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/gruns/furl&quot; target=&quot;_blank&quot;&gt;furl: Python URL parsing and manipulation library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python URL parsing and manipulation library offering a clean API for parsing, building, and manipulating URLs. Supports flexible handling of query parameters, paths, fragments, and other URL components, making it more user-friendly than the standard urllib library. (2.7K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Johnserf-Seed/f2&quot; target=&quot;_blank&quot;&gt;f2: High-speed downloader for multiple platforms&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A multi-platform content download and API data processing tool supporting TikTok, Twitter, Weibo, and more. Provides user information retrieval, video/image gallery downloads, live stream capture, bullet comment forwarding, and other features. Integrates various algorithms and utility classes with batch processing and custom configuration support. (1.8K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/ihmily/StreamCap&quot; target=&quot;_blank&quot;&gt;StreamCap: Multi-Platform Live Stream Automatic Recording Tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An FFmpeg-based multi-platform live stream automatic recording client covering 40+ mainstream domestic and international streaming platforms. Supports loop monitoring with instant recording when streams go live, scheduled recording tasks, multiple output formats, and automatic transcoding. Offers Windows, macOS, and Web support with batch recording, message notifications, recording previews, and more. Supports platforms like TikTok, Kuaishou, Huya, Douyu, Bilibili, Twitch, and others. (2.2K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/119/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#118: Why Isn&apos;t Python Async More Popular?</title><link>https://weekly.pythoncat.top/en/issues/118/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/118/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 06 Sep 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #118: Why Isn&apos;t Python Async More Popular?&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://tonybaloney.github.io/posts/why-isnt-python-async-more-popular.html&quot; target=&quot;_blank&quot;&gt;Python has had async for 10 years -- why isn&apos;t it more popular?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&apos;s been a decade since Python introduced async/await, so why hasn&apos;t it caught on more widely? The author compares Python&apos;s async model with C#&apos;s, pointing out that Python&apos;s async only works for network I/O, not file operations. The GIL limits true concurrent performance, and maintaining dual APIs adds development complexity. The piece concludes by looking ahead to Python 3.14&apos;s free-threading mode, which could reshape the concurrent programming landscape.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://nkantar.com/blog/2025/08/static-python-uv-caddy-docker/&quot; target=&quot;_blank&quot;&gt;Static Sites with Python, uv, Caddy, and Docker&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shares an efficient static site development and deployment workflow using uv to manage Python environments and dependencies, with multi-stage Docker builds for lightweight deployment. Caddy serves as the web server, providing automatic HTTPS and clean configuration. The entire pipeline seamlessly connects development to production, enabling rapid setup of modern static websites.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://rushter.com/blog/python-code-exec/&quot; target=&quot;_blank&quot;&gt;Tracking malicious code execution in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author developed the hexora library to detect malicious Python code, diving deep into how attackers obfuscate exec/eval calls to bypass security detection. From homoglyphs and builtins module manipulation to string concatenation and over a dozen other obfuscation techniques, it showcases the challenges of static analysis in dynamic languages. The article provides practical technical insights and detection strategies for Python security defense.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://adamj.eu/tech/2025/08/29/python-fix-syntaxwarning-finally/&quot; target=&quot;_blank&quot;&gt;Python: fix SyntaxWarning: &apos;return&apos; in a &apos;finally&apos; block&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 introduces PEP 765, which adds syntax warnings for return, break, and continue statements in finally blocks. The author demonstrates how these statements can lead to unexpected behavior and provides refactoring solutions to avoid common control flow pitfalls, improving code readability and correctness.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://buttondown.com/carlton/archive/looking-forward-to-django-60/&quot; target=&quot;_blank&quot;&gt;Looking forward to Django 6.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django 6.0 is coming soon, and this article covers some of the new features: minimum Python 3.12 support, core additions including CSP security policies, django.tasks background task interface, and template-partials functionality. CSP provides defense-in-depth protection, while template-partials supports HTMX development patterns, making template organization more flexible.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://dataengineeringcentral.substack.com/p/polars-gpu-execution-70-speed-up&quot; target=&quot;_blank&quot;&gt;Polars GPU Execution. (70% speed up)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Polars introduces a GPU execution engine with intelligent memory management via RAPIDS RMM, supporting datasets larger than GPU memory. The author tested a 40GB dataset and achieved a 70% performance boost simply by adding the engine=&quot;gpu&quot; parameter to the collect() method.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://daniel.feldroy.com/posts/til-2025-08-using-sqlmodel-asynchronously-with-fastapi-and-air-with-postgresql&quot; target=&quot;_blank&quot;&gt;TIL: Using SQLModel Asynchronously with FastAPI (and Air) with PostgreSQL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shows how to use SQLModel asynchronously with PostgreSQL in FastAPI and Air frameworks. By configuring both sync and async engines, it solves compatibility issues between table creation and async operations. The article provides complete code examples, covering the full workflow from environment setup to async session management, offering practical guidance for developing high-performance web applications.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://blog.appsignal.com/2025/08/27/scheduling-background-tasks-in-python-with-celery-and-rabbitmq.html&quot; target=&quot;_blank&quot;&gt;Scheduling Background Tasks in Python with Celery and RabbitMQ&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Demonstrates the integration of Python Celery distributed task queue with RabbitMQ message broker through building a weather notification service. Covers API integration, task scheduling configuration, and automated execution, providing a comprehensive practical guide for background task processing.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.lilyf.org/posts/python-mutable-reference/&quot; target=&quot;_blank&quot;&gt;Sharing a mutable reference with Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores the technical challenges of handling mutable references when using PyO3 for Rust-Python interaction, implementing safe cross-language data sharing through tools like std::mem::take, Arc, and Mutex.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.datadelver.com/2023/12/10/delve-1-the-hidden-danger-of-notebooks-in-production.html&quot; target=&quot;_blank&quot;&gt;The (Hidden) Danger of Notebooks in Production&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Analyzes five major technical pitfalls of Jupyter Notebooks in production: difficulty testing, challenging debugging, complex version control, lack of modular design, and execution order uncertainty. The author points out these issues not only increase maintenance costs but also create friction between data scientists and engineers. While notebooks excel in exploration and prototyping, production environments demand more rigorous engineering practices.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.may69.com/purepython/&quot; target=&quot;_blank&quot;&gt;Pure Python Web Application Development&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces pure Python web development solutions that eliminate the need for CSS, HTML, and JavaScript, using Python as a meta-language to generate frontend code and streamline the development process. The article categorizes dozens of tools including Anvil, Panel, Dash, and NiceGUI, ranging from industrial-grade solutions to experimental projects, perfect for Python developers to rapidly build modern web applications.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://qouteall.fun/qouteall-blog/2025/Traps%20to%20Developers&quot; target=&quot;_blank&quot;&gt;Traps to Developers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Systematically catalogs common development traps across tech stacks, covering over a dozen areas from CSS layout and Unicode encoding to floating-point arithmetic and time handling. The author deeply analyzes the technical principles behind each trap and how to avoid them, including gotchas like CSS min-width defaults, floating-point NaN comparisons, and timezone handling pitfalls.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/MetaCubeX/mihomo&quot; target=&quot;_blank&quot;&gt;mihomo: Honkai Star Rail Data Parser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A simple Python Pydantic model library for parsing Honkai: Star Rail game data from miHoYo&apos;s API. Provides type hints and auto-completion, supports both V1 and V2 data formats, and includes complete game information like character details and achievement data. (22.8K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/resemble-ai/chatterbox&quot; target=&quot;_blank&quot;&gt;chatterbox: SoTA open-source TTS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A text-to-speech system supporting multilingual zero-shot voice cloning across 23 languages. Built on a 0.5B Llama architecture with unique emotional exaggeration controls, it performs excellently in comparative evaluations against closed-source systems like ElevenLabs and includes built-in watermarking technology. (11.9K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/sansan0/TrendRadar&quot; target=&quot;_blank&quot;&gt;TrendRadar: Multi-platform Hot Topic Aggregation Tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Say goodbye to information overload with this multi-platform trending topic aggregation tool that monitors 35 platforms including Toutiao, Baidu Hot Search, Weibo, TikTok, Zhihu, and Bilibili with one click. Features smart keyword filtering, automatic trending analysis reports, and push notifications to WeChat Work, Feishu, DingTalk, and Telegram. Deploy to web in 30 seconds, get mobile notifications in 1 minute, no programming skills required. (1.8K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/feder-cr/Jobs_Applier_AI_Agent_AIHawk&quot; target=&quot;_blank&quot;&gt;AIHawk: Jobs Applier AI Agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The first AI agent for job applications, leveraging artificial intelligence to automate the job application process and enabling users to apply for multiple positions in a customized way. With an open-source core architecture, it&apos;s been featured by major media outlets like Business Insider, TechCrunch, and Wired, fundamentally transforming how job seekers interact with the employment market. (28.8K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/duriantaco/skylos&quot; target=&quot;_blank&quot;&gt;Skylos: Python Dead Code Detector&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python static analysis tool specifically designed to detect unused functions, classes, and imports. Supports Flask, Django, and FastAPI frameworks, offers interactive cleanup mode and web interface, with performance superior to Vulture and Pylint. (1.3K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/zubanls/zuban&quot; target=&quot;_blank&quot;&gt;Zuban: High-Performance Python Language Server&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-performance Python language server and type checker built in Rust, developed by the creator of Jedi. It&apos;s 20-200x faster than Mypy, supports PyRight and Mypy compatibility modes, and passes 95% of Mypy&apos;s test suite.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/shiyu-coder/Kronos&quot; target=&quot;_blank&quot;&gt;Kronos: A Foundation Model for the Language of Financial Markets&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The first open-source financial candlestick foundation model, trained on data from 45 global exchanges and specifically designed to handle the high-noise characteristics of financial markets. Uses hierarchical discrete tokenization technology, supports various quantitative tasks, and provides real-time prediction demos and batch processing capabilities. (1.8K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/laramies/theHarvester&quot; target=&quot;_blank&quot;&gt;theHarvester: E-mails, subdomains and names Harvester - OSINT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An OSINT information gathering tool designed specifically for red team assessments and penetration testing. Collects domains, emails, IPs, subdomains, and URLs through multiple public sources, supports 40+ passive modules and active DNS brute-forcing, helping determine the external threat landscape of domains. (11.8K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/datalab-to/surya&quot; target=&quot;_blank&quot;&gt;surya: OCR, layout analysis, reading order, table recognition in 90+ languages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A document OCR toolkit supporting 90+ languages, providing text recognition, layout analysis, reading order detection, table recognition, and LaTeX OCR capabilities. Performance rivals cloud services, supports various document types including scientific papers, presentations, and scanned documents. Offers interactive applications and Python API, capable of processing PDF, image, Word, and PowerPoint files. (12.8K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/ag2ai/ag2&quot; target=&quot;_blank&quot;&gt;ag2: AG2 (formerly AutoGen): The Open-Source AgentOS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source AI agent programming framework, formerly known as AutoGen, specifically designed for developing AI agents and facilitating multi-agent collaboration to solve tasks. Supports inter-agent interaction, multiple LLM integrations, tool usage, autonomous and human-AI collaborative workflows, and provides multi-agent conversation patterns to simplify AI agent development and research. (3.5K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/TencentCloudADP/youtu-agent&quot; target=&quot;_blank&quot;&gt;youtu-agent: A simple yet powerful agent framework that delivers with open-source models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-performance AI agent framework open-sourced by Tencent Cloud, supporting practical scenarios like data analysis, file processing, and deep research. Features YAML configuration, automatic agent generation, and asynchronous execution. Performs excellently on WebWalkerQA and GAIA benchmarks, built on openai-agents with streaming processing and tracking analysis capabilities. (2.5K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/kruskal-labs/toolfront&quot; target=&quot;_blank&quot;&gt;toolfront: Data retrieval for AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides simple and efficient data retrieval capabilities for AI agents with unparalleled control, precision, and speed. Supports various scenarios including Text2SQL database queries, API data fetching, and document information extraction. Compatible with 14+ AI model providers including OpenAI, Anthropic, and Google, supports 10+ database types including PostgreSQL and MySQL, and provides MCP server functionality.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/118/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#117: A Documentary on Python&apos;s Origin Story</title><link>https://weekly.pythoncat.top/en/issues/117/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/117/</guid><description>Sharing 12 articles, 12 open-source projects, 2 audio/video items</description><pubDate>Sat, 30 Aug 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #117: A Documentary on Python&apos;s Origin Story&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://developer.nvidia.com/blog/how-to-spot-and-fix-5-common-performance-bottlenecks-in-pandas-workflows&quot; target=&quot;_blank&quot;&gt;How to Spot (and Fix) 5 Common Performance Bottlenecks in pandas Workflows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;NVIDIA&apos;s blog shares a hands-on guide for pandas performance optimization, targeting five major bottlenecks: slow CSV reading, memory-intensive join operations, sluggish string processing, time-consuming group aggregations, and inefficient loop iterations. The guide provides solutions including PyArrow engines, indexed joins, categorical data types, and GPU acceleration. It particularly highlights the cudf.pandas extension, which can deliver order-of-magnitude performance improvements without changing your existing code.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://mathspp.com/blog/how-to-use-functools-placeholder&quot; target=&quot;_blank&quot;&gt;How to use functools.Placeholder&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14&apos;s new functools.Placeholder solves the positional argument placeholder problem in partial function applications. When you need to freeze non-first parameters of a function, traditional functools.partial can only achieve this through keyword arguments. Placeholder allows you to reserve argument positions with placeholders, enabling more flexible function composition.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://joshcannon.me/2025/08/16/py-namespace-packages.html&quot; target=&quot;_blank&quot;&gt;Python Namespace Packages are a pain&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into the complexity and real-world issues of Python namespace packages. Namespace packages allow splitting a single import package across multiple disk directories, which is useful in large enterprise projects but introduces challenges with path discovery and module loading. The article explains the differences between explicit and implicit namespace packages, potential issues with different environment managers, and recommends using &lt;code&gt;__init__.py&lt;/code&gt; in every directory to avoid these complexities.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://lukeplant.me.uk/blog/posts/enforcing-conventions-in-django-projects-with-introspection/&quot; target=&quot;_blank&quot;&gt;Enforcing conventions in Django projects with introspection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automatically enforce Django model field naming conventions using Python&apos;s introspection capabilities to solve DateField and DateTimeField confusion. Using Django&apos;s check framework, it requires timestamp fields to end with &lt;code&gt;_at&lt;/code&gt; and date fields to end with &lt;code&gt;_on&lt;/code&gt; or &lt;code&gt;_date&lt;/code&gt;, preventing maintenance headaches and type confusion errors caused by inconsistent naming.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.revsys.com/tidbits/boosting-seo-with-django-ninja-pydantic-and-json-ld/&quot; target=&quot;_blank&quot;&gt;Boosting SEO with Django Ninja, Pydantic, and JSON-LD&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Generate structured data using Django Ninja and Pydantic as an alternative to directly embedding JSON-LD in templates. This approach provides better code maintainability, type validation, and modular reusability.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://jazzberry.ai/blog/ast-driven-python-testing&quot; target=&quot;_blank&quot;&gt;AST-Driven Python Testing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A hybrid testing approach combining abstract syntax tree analysis with AI generation. By parsing AST to identify code branches, it guides AI to generate precise test cases, achieving systematic high-coverage testing.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://pointersgonewild.com/2025-08-06-out-fibbing-cpython-with-the-plush-interpreter/&quot; target=&quot;_blank&quot;&gt;Out-Fibbing CPython with the Plush Interpreter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author optimized their custom Plush interpreter to outperform CPython in Fibonacci recursion tests. Through techniques like instruction merging, eliminating hash lookups, and in-place stack operations, they achieved nearly double the performance.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://ericmjl.github.io/blog/2025/8/23/wicked-python-trickery-dynamically-patch-a-python-functions-source-code-at-runtime&quot; target=&quot;_blank&quot;&gt;Wicked Python trickery - dynamically patch a Python function&apos;s source code at runtime&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A technique for dynamically replacing function source code at runtime using compile and exec functions. While this approach opens new possibilities for building flexible AI agents, it also introduces security risks.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://pydevtools.com/blog/uv-format-code-formatting-comes-to-uv-experimentally/&quot; target=&quot;_blank&quot;&gt;uv format: Code Formatting Comes to uv (experimentally!)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;uv 0.8.13 introduces the experimental uv format command, which implements code formatting functionality by calling the Ruff formatter, streamlining Python development workflows.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://labs.quansight.org/blog/pandas_expressions&quot; target=&quot;_blank&quot;&gt;Expressions are coming to pandas!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;pandas 3.0 will introduce &lt;code&gt;pd.col&lt;/code&gt; expression syntax, replacing lambda functions to solve scope issues and providing a cleaner, more readable way for lazy computation with support for method chaining.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://buttondown.email/hillelwayne/archive/what-makes-concurrency-so-hard/&quot; target=&quot;_blank&quot;&gt;What makes concurrency so hard?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why is concurrent programming so difficult? The author argues that the core issue is state space explosion, not human cognitive limitations. When multiple threads execute simultaneously, the possible execution order combinations grow exponentially, leading to unpredictable and hard-to-debug race conditions. The article suggests that managing and limiting state space is the key strategy for simplifying concurrent programming.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://magazine.sebastianraschka.com/p/from-gpt-2-to-gpt-oss-analyzing-the&quot; target=&quot;_blank&quot;&gt;From GPT-2 to gpt-oss: Analyzing the Architectural Advances&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Analyzes the architectural evolution of OpenAI&apos;s first open-source large model gpt-oss, including key technologies like MXFP4 optimization, RoPE positional encoding, Swish activation functions, GLU gated units, MoE mixture of experts, GQA grouped query attention, and sliding window attention. These architectural improvements significantly enhance model performance and efficiency.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/suitenumerique/docs&quot; target=&quot;_blank&quot;&gt;docs: A collaborative note taking, wiki and documentation platform that scales&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A scalable collaborative note-taking, wiki, and documentation platform built with Django and React. Features real-time collaborative editing, offline sync, AI-powered assistance (rewriting, summarizing, translation), multi-format export, granular access controls, and self-hosting options. It&apos;s an open-source alternative to Notion or Outline. (13K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/TEN-framework/ten-framework&quot; target=&quot;_blank&quot;&gt;ten-framework: Open-source framework for conversational voice AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive open-source toolkit for creating, customizing, and deploying real-time multimodal conversational AI agents. Supports voice, vision, and avatar interactions with features including real-time voice conversations, MCP server integration, hardware communication, visual detection, screen sharing, and a low-code workflow UI designer. (7K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/datafolklabs/cement&quot; target=&quot;_blank&quot;&gt;cement: Application Framework for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An advanced Python framework focused on command-line interface development. Features customizable handler systems, configuration management, argument parsing, logging, plugin extensions, output rendering, and more core functionality. Zero external dependencies with complete test coverage. (1K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/oraios/serena&quot; target=&quot;_blank&quot;&gt;serena: A powerful coding agent toolkit providing semantic retrieval and editing capabilities&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful toolkit that transforms LLMs into fully-featured coding agents, providing semantic code retrieval and editing capabilities. Features IDE-like symbol-level code entity extraction and relationship analysis, supports language server protocols for multiple programming languages, and integrates with various clients including Claude Code, Claude Desktop, VSCode, and Cursor. (10K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/QuentinFuxa/WhisperLiveKit&quot; target=&quot;_blank&quot;&gt;WhisperLiveKit: Real-time &amp;amp; local speech-to-text, translation, and speaker diarization. With server &amp;amp; web UI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A real-time speech-to-text toolkit supporting fully local processing, speaker identification, and voice translation. Uses SimulStreaming and WhisperStreaming technologies for ultra-low latency transcription. Includes built-in web UI and backend server, supports multi-user concurrent usage, and offers Docker deployment with rich configuration options. (1K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/MODSetter/SurfSense&quot; target=&quot;_blank&quot;&gt;SurfSense: Open Source Alternative to NotebookLM / Perplexity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source intelligent Q&amp;amp;A platform that connects personal knowledge bases with external data sources. Integrates with search engines, Slack, Jira, Notion, YouTube, GitHub, and other services. Features multi-file format support, powerful search, conversation saving, cited answers, local LLM privacy protection, podcast generation, advanced RAG technology, and cross-browser extensions. (7K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/karpathy/rendergit&quot; target=&quot;_blank&quot;&gt;rendergit: Render any git repo into a single static HTML page for humans or LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A utility tool that renders any GitHub repository into a single static HTML page, supporting syntax highlighting, Markdown rendering, and sidebar navigation. Provides both human-friendly views and LLM-friendly CXML text format, perfect for code review, exploration, and quick searching. Features smart filtering, responsive design, and mobile access. (1K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/bytedance/deer-flow&quot; target=&quot;_blank&quot;&gt;deer-flow: DeerFlow is a community-driven Deep Research framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ByteDance&apos;s open-source deep research framework that combines language models with web search, crawling, Python code execution, and other tools. Supports multi-agent collaboration, human-machine interaction, RAG integration, MCP service integration, podcast and presentation generation. Offers both console and web UI interaction modes. (16K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/Arindam200/awesome-ai-apps&quot; target=&quot;_blank&quot;&gt;awesome-ai-apps: A collection of projects showcasing RAG, agents, workflows, and other AI use cases&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive collection of projects showcasing AI application cases including RAG, AI agents, and workflows. Contains practical examples, tutorials, and development guides ranging from simple chatbots to advanced AI agents. Covers multiple AI frameworks like LangChain, LlamaIndex, CrewAI, and PydanticAI, offering beginner, intermediate, and advanced AI agent projects. (3K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/HKUDS/DeepCode&quot; target=&quot;_blank&quot;&gt;DeepCode: Open Agentic Coding (Paper2Code &amp;amp; Text2Web &amp;amp; Text2Backend)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hong Kong University&apos;s open-source agentic programming framework supporting various code generation scenarios including paper-to-code, text-to-web, and text-to-backend. Uses multi-agent systems to advance code generation technology, provides CLI and web interfaces, integrates MCP protocol, and features document segmentation, workflow management, and multi-AI model support. (4K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/codelion/openevolve&quot; target=&quot;_blank&quot;&gt;OpenEvolve: Open-source implementation of AlphaEvolve&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Transforms LLMs into autonomous code optimizers to discover breakthrough algorithms. Achieves 2-3x performance improvements and state-of-the-art results across various domains, integrates MAP-Elites + LLMs technology, supports scientific reproducibility, and provides complete architectural design with advanced features. (3K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/1rgs/claude-code-proxy&quot; target=&quot;_blank&quot;&gt;claude-code-proxy: Anthropic API proxy for Gemini &amp;amp; OpenAI Models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An Anthropic API proxy tool that enables access to Gemini and OpenAI models through LiteLLM. Supports model mapping configuration, environment variable setup, and Docker deployment. Provides simple setup processes and flexible backend switching capabilities, allowing developers to use different LLMs while maintaining the Anthropic API interface. (2K stars)&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/watch?v=GfH4QL4VqJ0&quot; target=&quot;_blank&quot;&gt;Python: The Documentary | An origin story&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A 90-minute Python documentary featuring interviews with community veterans like Guido van Rossum, Travis Oliphant, and Barry Warsaw. It tells the story of Python&apos;s rise, community-driven evolution, intense community conflicts, and Python&apos;s impact on other fields.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://creators.spotify.com/pod/profile/corepy/episodes/Episode-25-A-Python-That-Never-Was-e37bk50&quot; target=&quot;_blank&quot;&gt;Episode 25: A Python That Never Was&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The core.py podcast explores 10 rejected PEP proposals, including syntax macros (PEP 638), None-aware operators (PEP 505), late-bound function argument defaults (PEP 671), and overloadable boolean operators (PEP 335). What would Python look like if these features had been adopted? An exploration of alternative possibilities in Python language design.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/117/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#116: The State of Python 2025</title><link>https://weekly.pythoncat.top/en/issues/116/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/116/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 23 Aug 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #116: The State of Python 2025&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://blog.jetbrains.com/pycharm/2025/08/the-state-of-python-2025&quot; target=&quot;_blank&quot;&gt;The State of Python 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The eighth annual developer survey report from the Python Software Foundation and JetBrains is out! It reveals some fascinating trends: 86% of respondents use Python as their primary programming language, 50% of developers have less than two years of coding experience, and data science now dominates Python applications.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://bellone.com/updates/axon-api/python-file-streaming-237mbs-on-$8-m-droplet-in-507-lines-stdlib&quot; target=&quot;_blank&quot;&gt;Python: File streaming @237MB/s on $8/m droplet in 507 lines (stdlib)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author built a WSGI core called Axon that achieves 237MB/s file streaming performance on an $8/month server using just 507 lines of pure Python standard library code. The framework maps HTTP request bodies to iterable byte streams, processing data on-the-fly while maintaining constant memory usage of just a few dozen KB.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.revsys.com/tidbits/sometimes-lfu-lru/&quot; target=&quot;_blank&quot;&gt;Sometimes LFU &amp;gt; LRU&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Facing the problem of malicious AI crawlers creating tons of throwaway sessions that push out real user sessions from cache, the author suggests replacing traditional LRU (Least Recently Used) with LFU (Least Frequently Used) caching strategy. By configuring Redis&apos;s volatile-lfu mode, you can effectively protect frequently accessed user sessions and ensure critical business data like e-commerce shopping carts don&apos;t get flushed out by malicious traffic.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://towardsdatascience.com/context-engineering-a-comprehensive-hands-on-tutorial-with-dspy/&quot; target=&quot;_blank&quot;&gt;Context Engineering — A Comprehensive Hands-On Tutorial with DSPy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article dives deep into context engineering, demonstrating through the DSPy framework how to break down complex problems into multiple subtasks and have different AI agents collaborate to complete them, avoiding the performance degradation that comes from cramming all information into a single context.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://crowdalert.com/proxy-objects/&quot; target=&quot;_blank&quot;&gt;Proxy Objects&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into Python proxy object implementation principles, showing how to achieve transparent object call proxying through special methods. Demonstrates how to leverage this mechanism to develop advanced features like database connection pools and file system abstractions.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://blog.pypi.org/posts/2025-08-18-preventing-domain-resurrections/&quot; target=&quot;_blank&quot;&gt;Preventing Domain Resurrection Attacks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PyPI introduces new security mechanisms to prevent domain resurrection attacks. When a user&apos;s email domain expires, attackers might purchase that domain and gain account control through password resets. PyPI now regularly checks domain status and cancels related email verifications once a domain enters redemption period, effectively blocking these supply chain attacks.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://symbolica.io/posts/pattern_matching/&quot; target=&quot;_blank&quot;&gt;Algorithms through the lens of symbolic pattern matching&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article shares how to design algorithms using symbolic pattern matching, transforming graph theory problems into mathematical expression operations through the Symbolica library. The author demonstrates implementing algorithms like factorial calculation and graph connectivity detection using pattern replacement. While not the most efficient approach, it offers an elegant way of thinking about algorithms.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://pganalyze.com/blog/a-practical-introduction-to-constraint-programming-using-cp-sat&quot; target=&quot;_blank&quot;&gt;A practical introduction to Constraint Programming using CP-SAT and Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article introduces constraint programming through a declarative programming paradigm, describing problems using variables and constraints. Using Python&apos;s CP-SAT solver, it demonstrates how to solve discrete optimization problems like warehouse location and logistics scheduling, showcasing the power of constraint programming in handling complex combinatorial optimization scenarios.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://www.artima.com/weblogs/viewpost.jsp?thread=235725&quot; target=&quot;_blank&quot;&gt;Origin of BDFL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An old blog post by Guido van Rossum revealing the origin of the BDFL (Benevolent Dictator For Life) title. At the first Python Software Association meeting at CNRI on April 18, 1995, each attendee came up with titles starting with &quot;First Interim,&quot; with Guido&apos;s being the most humorous. This title was likely suggested by Ken Manheimer or Barry Warsaw and became an important symbol of Python community culture.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://mathspp.com/blog/ascii-rain-scroll-art&quot; target=&quot;_blank&quot;&gt;ASCII rain scroll art&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article shows how to create terminal rain drop animation effects using pure Python standard library. Using deque data structures for management, characters &apos;v&apos; and &apos;|&apos; represent raindrops and trails respectively, combined with random number generation and time delays to create smooth rain animations. The code is elegant and concise, creating impressive visual effects with just a few dozen lines.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://vorpus.org/blog/timeouts-and-cancellation-for-humans/&quot; target=&quot;_blank&quot;&gt;Timeouts and cancellation for humans&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Trio library author explores the design challenges of timeout handling in I/O operations, sharing Trio&apos;s cancel scopes solution. Through cancellation tokens and scope mechanisms, it solves the problems of traditional timeout APIs being difficult to abstract and compose, providing a more human-friendly timeout control approach for asynchronous programming.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://ntietz.com/blog/the-only-two-log-levels-you-need-are-info-and-error&quot; target=&quot;_blank&quot;&gt;The only two log levels you need are INFO and ERROR&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author challenges traditional logging level thinking, arguing that complex log level systems (like WARNING, DEBUG, TRACE) aren&apos;t actually practical. By analyzing the two core purposes of logging—&quot;errors that need alerts&quot; and &quot;information that helps debugging&quot;—they propose that just ERROR and INFO levels are sufficient, while suggesting improvements to log utility through structured logging, request IDs, timestamps, and other methods.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/emcie-co/parlant&quot; target=&quot;_blank&quot;&gt;parlant: LLM agents built for control&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI agent framework that defines behavioral guidelines through natural language rather than complex system prompts, ensuring agents strictly follow instructions. Features conversation flow management, tool integration, domain adaptation, and template responses, with deployment possible in under 60 seconds. (7.3K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/HunxByts/GhostTrack&quot; target=&quot;_blank&quot;&gt;GhostTrack: Useful tool to track location or mobile number&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An OSINT information gathering tool for tracking locations or mobile numbers. Supports IP address tracking, mobile number information queries, and social media username searches, running on Linux and Termux environments. (2.8K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/coleam00/Archon&quot; target=&quot;_blank&quot;&gt;Archon: the knowledge and task management backbone for AI coding assistants&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A command center providing knowledge base and task management for AI programming assistants. Features document crawling, PDF uploads, intelligent search, and task management, connecting to AI tools like Claude Code and Cursor through MCP protocol to enhance AI-driven programming effectiveness. (10.2K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/IBM/mcp-context-forge&quot; target=&quot;_blank&quot;&gt;mcp-context-forge: A Model Context Protocol (MCP) Gateway &amp;amp; Registry&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An MCP gateway and registry serving as central management for tools, resources, and prompts. Supports converting REST API endpoints to MCP, composing virtual MCP servers while adding security and observability. (1.4K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/tensorlakeai/tensorlake&quot; target=&quot;_blank&quot;&gt;tensorlake: Document Ingestion API and serverless platform for building data processing APIs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A platform that transforms unstructured documents into AI-ready data, parsing PDF, DOCX, spreadsheets and other formats through APIs, while providing serverless workflow runtime for developing scalable data processing pipelines.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/mher/flower&quot; target=&quot;_blank&quot;&gt;flower: Real-time monitor and web admin for Celery distributed task queue&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open-source Celery cluster monitoring and management web application providing task progress viewing, worker node status monitoring, remote control, and queue statistics. Features real-time event monitoring, HTTP authentication, Prometheus integration, and REST API—an essential management tool for Celery distributed task processing. (6.9K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/HKUDS/AI-Researcher&quot; target=&quot;_blank&quot;&gt;AI-Researcher: Autonomous Scientific Innovation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides end-to-end research automation from concept to publication, including literature review, idea generation, algorithm design and implementation, result analysis, and paper writing. Supports two input modes: detailed idea descriptions and reference-based idea generation. (2K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/danterolle/tilf&quot; target=&quot;_blank&quot;&gt;tilf: Pixel Art Editor&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A free pixel art editor built with PySide6, featuring drawing tools, real-time preview, undo/redo, and export functionality. Designed specifically for creating sprites, icons, and small 2D assets. No registration or installation required—ready to use right out of the box.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/plutoprint/plutoprint&quot; target=&quot;_blank&quot;&gt;plutoprint: HTML to PDF and Image Generation Library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight, easy-to-use Python library that generates high-quality PDFs and images from HTML or XML content. Built on the PlutoBook rendering engine with a simple API, perfect for creating reports, invoices, or visual snapshots. Supports command-line usage and can integrate with Matplotlib for chart generation.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/manycore-research/SpatialLM&quot; target=&quot;_blank&quot;&gt;SpatialLM: Training Large Language Models for Structured Indoor Modeling&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A large model designed specifically for processing 3D point cloud data, capable of generating structured 3D scenes including architectural elements like walls and windows, plus oriented object bounding boxes with semantic categories. Supports multiple data sources including monocular video, RGBD images, and LiDAR sensors, effectively bridging unstructured 3D geometric data. (3.9K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/mofeng-git/One-KVM&quot; target=&quot;_blank&quot;&gt;One-KVM: DIY IP-KVM Solution&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Achieves BIOS-level remote server management using inexpensive hardware. Features Docker deployment, Chinese interface, video recording, and virtual storage mounting. Enables remote control without installing software on target machines, perfect for home labs and server maintenance scenarios. (1.6K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/nottelabs/notte&quot; target=&quot;_blank&quot;&gt;Notte: Reliable Browser AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A full-stack framework for building and deploying reliable browser AI agents. Combines AI agents with traditional scripting to improve efficiency and reduce costs. Features natural language task execution, Pydantic structured output, website interaction, stealth browser sessions, hybrid workflows, secret vaults, and digital personas.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/116/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#115: Astral Launches pyx Package Registry, AI Optimizes 20-Year-Old Code</title><link>https://weekly.pythoncat.top/en/issues/115/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/115/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 16 Aug 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #115: Astral Launches pyx Package Registry, AI Optimizes 20-Year-Old Code&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://astral.sh/blog/introducing-pyx&quot; target=&quot;_blank&quot;&gt;pyx: a Python-native package registry, now in Beta&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Astral introduces pyx, a Python-native package registry that&apos;s more than just a traditional package repository—it&apos;s an optimized backend for uv. Through vertical integration of client and server, it tackles pain points like PyTorch installation difficulties, redundant package development across teams, and version compatibility issues. Features include GPU awareness, private package hosting, and public source acceleration.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://nedbatchelder.com/blog/202508/starting_with_pytests_parametrize.html&quot; target=&quot;_blank&quot;&gt;Starting with pytest&apos;s parametrize&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This tutorial explains how to use pytest&apos;s parametrize decorator, demonstrating through examples how to eliminate code duplication. Starting from basic multiple test functions, it progressively shows how to use @pytest.mark.parametrize to parameterize test data, reducing code redundancy while improving test maintainability.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.hudsonrivertrading.com/hrtbeat/inside-hrts-python-fork&quot; target=&quot;_blank&quot;&gt;Inside HRT&apos;s Python Fork: Leveraging PEP 690 for Faster Imports&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;HRT&apos;s blog shares their Cinder-based lazy import mechanism that defers module resolution and evaluation until actual reference, significantly reducing startup time. The solution uses LazyImport placeholder objects to replace immediate import execution, solving the excessive import overhead problem in large codebases.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://labs.quansight.org/blog/python-wheels-from-tags-to-variants&quot; target=&quot;_blank&quot;&gt;Python Wheels: from Tags to Variants&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces Python Wheel variant mechanisms that replace traditional platform tags with plugin architecture to handle complex package distribution needs. Using namespace attributes and JSON metadata to describe package variants, it solves issues like GPU acceleration, CPU architecture, and numerical library selection, enabling complex packages like PyTorch to distribute different versions more flexibly.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://developer.nvidia.com/blog/7-drop-in-replacements-to-instantly-speed-up-your-python-data-science-workflows&quot; target=&quot;_blank&quot;&gt;7 Drop-In Replacements to Instantly Speed Up Your Python Data Science Workflows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;NVIDIA&apos;s blog introduces 7 GPU acceleration solutions that boost performance for pandas, Polars, scikit-learn, XGBoost, and other libraries through simple parameter settings or extension loading. You can achieve significant speed improvements without modifying existing code.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://tonybaloney.github.io/blog/can-reasoning-models-optimize-20-year-old-code.html&quot; target=&quot;_blank&quot;&gt;Can DeepSeek-R1 improve the performance of one of the worlds oldest codebases?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author uses DeepSeek-R1 to optimize 20-year-old big integer arithmetic code in CPython&apos;s kernel. Through multiple experiments with models ranging from 70B to 371B parameters, the AI demonstrated both remarkable optimization insights and embarrassing blunders that crashed Python entirely.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.philipzucker.com/assembly_verify/&quot; target=&quot;_blank&quot;&gt;Semi-Automated Assembly Verification in Python using pypcode Semantics&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author developed a pypcode-based assembly verification tool that enables semi-automated verification of binary code by adding inline comments to assembly code to define preconditions, assertions, and postconditions.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://utcc.utoronto.ca/~cks/space/blog/python/PythonVersionPathProblem&quot; target=&quot;_blank&quot;&gt;The problem of Python&apos;s version dependent paths for packages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article analyzes the design issue of Python package installation paths being tied to versions. While this mechanism solves bytecode and C ABI compatibility problems, it forces all packages to be reinstalled when upgrading Python versions.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://thenewstack.io/how-python-grew-from-a-language-to-a-community/&quot; target=&quot;_blank&quot;&gt;How Python Grew From a Language to a Community&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Reviews Python&apos;s community development journey from its 1991 birth to becoming the world&apos;s most popular programming language. Starting with a 20-person gathering in Maryland in 1994 that formed the real community, it went through key milestones like failed early commercialization attempts and foundation organizational structure exploration, emphasizing the crucial role of community values and human connections in Python&apos;s success.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://peps.python.org/pep-0802/&quot; target=&quot;_blank&quot;&gt;Display Syntax for the Empty Set&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This newly released PEP proposes an empty set syntax &lt;code&gt;{/}&lt;/code&gt; that mimics the mathematical symbol ∅ to solve the current problem where empty sets can only be constructed with &lt;code&gt;set()&lt;/code&gt;. This syntax avoids name lookup and improves the learning experience for beginners, especially being more friendly to users with mathematical backgrounds. It has received 41% support in community voting and is planned for implementation in Python 3.15.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://devblogs.microsoft.com/python/mssql-python-vs-pyodbc-benchmarking-sql-server-performance/&quot; target=&quot;_blank&quot;&gt;mssql-python vs pyodbc: Benchmarking SQL Server Performance&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft introduces the SQL Server Python driver mssql-python, which uses DDBC direct connection architecture and PyBind11 binding technology to achieve 2-4x faster performance than pyodbc in core SQL operations, 8.6x faster bulk inserts, and 16.5x faster creation of 1000 connections.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://nrennie.rbind.io/blog/plotnine-annotated-area-chart&quot; target=&quot;_blank&quot;&gt;Annotated area charts with plotnine&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This tutorial demonstrates how to create professional annotated area charts with plotnine, showcasing the complete workflow from data preprocessing to chart beautification through coal production data visualization. The article covers advanced techniques including custom grid lines, multi-layer annotations, color configuration, and font management.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/datalab-to/marker&quot; target=&quot;_blank&quot;&gt;marker: Convert PDF to markdown + JSON quickly with high accuracy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-precision document conversion tool that supports converting PDF, images, PPTX, DOCX, XLSX, HTML, EPUB, and other formats to markdown, JSON, and HTML. It can format tables, formulas, inline math, links, and code blocks, extract and save images, and remove headers and footers. (27.6K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/browserbase/stagehand-python&quot; target=&quot;_blank&quot;&gt;stagehand-python: The AI Browser Automation Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A browser automation framework that combines natural language and code, supporting four core functions: act (perform actions), extract (data extraction), observe (page observation), and agent (multi-step tasks). Features operation preview and caching, with integration for OpenAI and Anthropic&apos;s computer use models.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/Screenly/Anthias&quot; target=&quot;_blank&quot;&gt;Anthias: The world&apos;s most popular open source digital signage project&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source digital signage platform for Raspberry Pi and PC. Supports multiple Raspberry Pi models and is compatible with balenaOS and Raspberry Pi OS. Provides a complete digital signage solution suitable for commercial displays, information publishing, and other scenarios. (3.1K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/oop7/YTSage&quot; target=&quot;_blank&quot;&gt;YTSage: Modern YouTube downloader with a clean PySide6 interface&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modern YouTube downloader based on PySide6, supporting video downloads in any quality, audio extraction, subtitle retrieval, SponsorBlock ad removal, playlist downloads, and more. Features a clean graphical interface with advanced capabilities like format tables, multi-subtitle selection and merging, thumbnail saving, and video trimming. (1.8K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/cheahjs/free-llm-api-resources&quot; target=&quot;_blank&quot;&gt;free-llm-api-resources: A list of free LLM inference resources accessible via API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A carefully curated list of LLM API resources covering multiple platforms including OpenRouter, Google AI Studio, NVIDIA NIM, Mistral, Groq, Cerebras, and more. Provides detailed information on usage limits, supported models, and access methods for each service. (4.7K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/snap-stanford/Biomni&quot; target=&quot;_blank&quot;&gt;Biomni: a general-purpose biomedical AI agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A general-purpose biomedical AI agent developed by Stanford that combines large model reasoning, retrieval-augmented planning, and code execution capabilities. Supports various biomedical research tasks including CRISPR screening design, single-cell RNA sequencing annotation, ADMET property prediction, and more. Provides web interface and MCP protocol support. (2K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/google-gemini/genai-processors&quot; target=&quot;_blank&quot;&gt;genai-processors: GenAI Processors is a lightweight Python library that enables efficient, parallel content processing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight Python library developed by Google Gemini for building modular, asynchronous, and composable generative AI pipelines. Designed around the Processor concept, it supports streaming processing, parallel execution, chain composition, and handles multimodal data including text, images, and audio. (1.9K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/dataease/SQLBot&quot; target=&quot;_blank&quot;&gt;SQLBot: Intelligent Data Query System Based on Large Models and RAG&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An intelligent data query system that supports natural language to SQL conversion. Ready to use out of the box—just configure the large model and data source. Easy to integrate with third-party systems, supporting calls from platforms like n8n, MaxKB, Dify, Coze, and more. Provides workspace resource isolation and fine-grained permission control.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/nottelabs/notte&quot; target=&quot;_blank&quot;&gt;notte: Reliable Browser AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Combines AI agents with traditional scripting, supporting structured output, stealth browser sessions, hybrid workflows, credential management, and digital identity features. Can reduce costs by over 50% while improving reliability. (1.5K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/bytedance/Dolphin&quot; target=&quot;_blank&quot;&gt;Dolphin: Document Image Parsing via Heterogeneous Anchor Prompting&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source multimodal document image parsing model from ByteDance that uses a two-stage analyze-parse approach. Efficiently handles various document elements including text, tables, and formulas, offering both Hugging Face and native framework inference options. (5.5K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/lfnovo/open-notebook&quot; target=&quot;_blank&quot;&gt;open-notebook: An Open Source implementation of Notebook LM with more flexibility and features&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A privacy-first alternative to Google Notebook LM with multimodal content organization, professional podcast generation, intelligent search, and contextual conversation capabilities. Offers complete data sovereignty, cost control, unlimited customization, and API access, supporting Docker deployment and local execution. (3.4K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/omkarcloud/botasaurus&quot; target=&quot;_blank&quot;&gt;botasaurus: The All in One Framework to Build Undefeatable Scrapers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An all-in-one web scraping framework that can bypass various bot detection systems like Cloudflare, BrowserScan, Fingerprint, and more. Supports humanized mouse movements, desktop app conversion, website interface development, and proxy cost savings up to 97%. Provides simple parallelization, configuration files, extensions, and proxy setup, with integrated caching, sitemaps, data cleaning, and other practical tools. (2.8K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/115/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#114: Python performance myths and fairy tales</title><link>https://weekly.pythoncat.top/en/issues/114/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/114/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 09 Aug 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #114: Python performance myths and fairy tales&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://savannah.dev/posts/how-your-code-runs-in-a-jit-build/&quot; target=&quot;_blank&quot;&gt;How JIT builds of CPython actually work&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into CPython&apos;s JIT compilation mechanism, covering the complete pipeline from token parsing to bytecode to machine code. It reveals how the experimental JIT in 3.14 transforms hot code into native instructions using micro-op and copy-and-patch techniques, helping you understand Python&apos;s performance optimization roadmap.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.b-list.org/weblog/2025/aug/06/litestar/&quot; target=&quot;_blank&quot;&gt;Why I&apos;m interested in Litestar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Litestar is an emerging async Python web framework. The author discovered that its independent route decorators solve circular import issues, with built-in support for multiple validation schemes like Pydantic, dataclasses, and msgspec. It deeply integrates with SQLAlchemy and Advanced Alchemy to auto-generate data repositories, providing elegant scalable architecture for large projects.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://adamgrant.micro.blog/2025/07/24/123050.html&quot; target=&quot;_blank&quot;&gt;You might not need a Python class&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author points out that Python&apos;s built-in types and standard library can elegantly handle most scenarios: use namedtuple or dataclass instead of simple data containers, functions instead of stateless utility classes, modules for natural constant grouping, and dict/list for state management. Leverage the standard library to avoid over-engineering and keep code clean and Pythonic.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://smallcultfollowing.com/babysteps/blog/2025/07/31/rs-py-ts-trifecta/&quot; target=&quot;_blank&quot;&gt;Rust, Python, and TypeScript: the new trifecta&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author predicts that the AI programming era will reshape language selection: Rust handles system-level performance, Python provides math and ML ecosystems, TypeScript dominates web and tooling. These three complement each other in type safety and dependency management, forming a future-oriented full-stack tech stack.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://lwn.net/SubscriberLink/1031707/73cb0cf917307a93/&quot; target=&quot;_blank&quot;&gt;Python performance myths and fairy tales&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A PyPy core developer&apos;s EuroPython talk debunks performance myths: &quot;Python is fast enough&quot; only applies to certain scenarios, rewriting hot code will eventually hit walls, static typing doesn&apos;t help runtime optimization. The real bottlenecks lie in memory management and language semantics. The author is developing the SPy project to explore ultra-high-performance Python paths.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://blog.ovalerio.net/archives/2924&quot; target=&quot;_blank&quot;&gt;Ways to have an atomic counter in Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article introduces three Django counting solutions to avoid race conditions: database locking with &lt;code&gt;select_for_update&lt;/code&gt;, atomic operations with &lt;code&gt;F()&lt;/code&gt; expressions, and cache layer with &lt;code&gt;cache.incr&lt;/code&gt;. Choose flexibly based on precision requirements.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.pythonmorsels.com/avoid-dunder-methods/&quot; target=&quot;_blank&quot;&gt;Don&apos;t call dunder methods&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author argues you should define dunder methods for Python&apos;s interpreter to call, not call them directly. Use high-level interfaces like str(), len(), in instead of obj.__str__(), obj.__len__() to avoid low-level details and ensure consistent behavior.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://blog.fabiomanganiello.com/article/render-your-jupyter-notebooks-in-opengist&quot; target=&quot;_blank&quot;&gt;Render your Jupyter notebooks in OpenGist&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;OpenGist&apos;s frontend natively supports .ipynb file rendering, displaying notebooks like GitHub without backend changes. It supports code highlighting, Markdown, and LaTeX, letting you elegantly share Jupyter workflows through self-hosted private gist services.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://www.mostlypython.com/updating-python/&quot; target=&quot;_blank&quot;&gt;Updating Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares their experience migrating from pyenv to uv: first uninstall old versions with pyenv, remove redundant installations with brew, then unify local Python management with uv for simpler version switching and a cleaner system.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://conda.org/blog/2024-08-14-conda-ecosystem-explained&quot; target=&quot;_blank&quot;&gt;Conda Ecosystem Explained&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article systematically outlines conda&apos;s three pillars: cross-language CLI tools, channelized package repositories (conda-forge, bioconda, etc.), and build systems. It highlights how new tools like Mamba and Pixi maintain compatibility with core formats, clarifying the vast conda ecosystem.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.bitecode.dev/p/whats-the-deal-with-setuptools-setuppy&quot; target=&quot;_blank&quot;&gt;What&apos;s the deal with setuptools &amp;amp; setup.py&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article traces setuptools&apos; evolution: from early distutils&apos; setup.py to setuptools&apos; declarative configuration, then to pyproject.toml&apos;s modern standard. It notes that while setup.py remains usable, it&apos;s no longer necessary—new projects should embrace pyproject.toml&apos;s clean unification.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://www.seangoedecke.com/good-system-design&quot; target=&quot;_blank&quot;&gt;Everything I know about good system design&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author distills system design essentials: good design should be simple and straightforward, state management is the biggest challenge, database design is most critical. Minimize stateful components and use simple, evolvable architectures instead of overly complex distributed solutions.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/TideDra/zotero-arxiv-daily&quot; target=&quot;_blank&quot;&gt;zotero-arxiv-daily: Recommend new arxiv papers of your interest daily according to your Zotero library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An intelligent arXiv paper recommendation tool that analyzes your existing literature, generates AI-powered summaries, and delivers daily recommendations via email. Deploy through GitHub Actions with no installation required and simple configuration. (3.1K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/GongRzhe/Office-PowerPoint-MCP-Server&quot; target=&quot;_blank&quot;&gt;Office-PowerPoint-MCP-Server: A MCP (Model Context Protocol) server for PowerPoint manipulation using python-pptx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Built with python-pptx library, offering 32 professional tools across 11 modules including slide management, text formatting, and chart creation. Supports templates, diverse color schemes, gradient backgrounds, image effects, and other advanced features, directly operable by AI agents.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/pipecat-ai/pipecat&quot; target=&quot;_blank&quot;&gt;pipecat: Open Source framework for voice and multimodal conversational AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Framework for developing real-time voice and multimodal conversational AI agents. Easily orchestrate audio, video, AI services, and conversation pipelines. Supports voice assistants, AI companions, and various application scenarios with ultra-low latency real-time interaction capabilities. (7.5K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/chiphuyen/sniffly&quot; target=&quot;_blank&quot;&gt;sniffly: Claude Code Analytics Dashboard&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Claude Code log analysis tool helping developers better utilize Claude Code. Provides usage pattern analysis, error breakdown, message history analysis, and presents results in shareable dashboard format.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/hao-ai-lab/FastVideo&quot; target=&quot;_blank&quot;&gt;FastVideo: A unified inference and post-training framework for accelerated video generation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A video generation acceleration framework covering the complete pipeline from data preprocessing to model training, fine-tuning, distillation, and inference. Supports multiple hardware and operating systems, integrating various performance optimization techniques like sparse distillation and video sparse attention for efficient, scalable video generation. (1.8K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/JudgmentLabs/judgeval&quot; target=&quot;_blank&quot;&gt;judgeval: The open source post-building layer for agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tracks and evaluates agent-environment interactions to provide data and signals for reinforcement learning, supervised fine-tuning, monitoring, and regression testing, enabling continuous learning and self-improvement for agents.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/nerfstudio-project/viser&quot; target=&quot;_blank&quot;&gt;viser: Web-based 3D visualization + Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Web-based 3D visualization Python library for computer vision and robotics. Provides 3D primitive visualization, GUI building, scene interaction, and camera control. Easy to get started with and composable into complex interfaces, convenient for running on servers via SSH. (1.7K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/myhhub/stock&quot; target=&quot;_blank&quot;&gt;stock: A powerful stock analysis tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Comprehensive stock analysis tool supporting data acquisition, indicator calculation, pattern recognition, strategy selection, backtesting, and automated trading. Compatible with PC and mobile devices, provides Docker images for convenient use by quantitative investors. (9.8K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/langchain-ai/langmem&quot; target=&quot;_blank&quot;&gt;langmem: Long-term memory for AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Helps AI agents learn and adapt to long-term interactions. Extracts key information from conversations, optimizes agent behavior through prompts, maintains long-term memory, and integrates natively with LangGraph for continuous improvement and personalized responses.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/ai-to-ai/Auto-Gmail-Creator&quot; target=&quot;_blank&quot;&gt;Auto-Gmail-Creator: Bulk Auto Gmail Creator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bulk Gmail account creation bot implemented with Selenium and Seleniumwire. Automates Gmail registration and integrates SMS services for phone verification, supporting multi-browser and proxy configurations.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/nvaccess/nvda&quot; target=&quot;_blank&quot;&gt;nvda: Free and open source Screen Reader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Free, open-source screen reader for Microsoft Windows. Developed primarily by NV Access, aimed at enabling visually impaired individuals to use computers accessibly. (2.4K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/Blackmamoth/sshsync&quot; target=&quot;_blank&quot;&gt;sshsync: a tool for synchronizing commands on remote servers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;CLI tool for concurrently executing shell commands on multiple remote servers via SSH. Supports server group management, convenient command execution on specified server groups, and file push/pull capabilities.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/114/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#113: Replacing Async/Await with Virtual Threads</title><link>https://weekly.pythoncat.top/en/issues/113/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/113/</guid><description>Sharing 12 articles, 12 open-source projects, 1 audio/video item</description><pubDate>Sat, 02 Aug 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #113: Replacing Async/Await with Virtual Threads&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://rtpg.co/2025/06/28/checking-out-sys-remote-exec/&quot; target=&quot;_blank&quot;&gt;Checking Out CPython 3.14&apos;s Remote Debugging Protocol&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14&apos;s new &lt;code&gt;sys.remote_exec()&lt;/code&gt; function lets you inject code into a running process without a restart or source code changes. You can perform remote debugging with the &lt;code&gt;python -m pdb -p pid&lt;/code&gt; command to check status, get stack traces, and even start an interactive session at runtime. This standardized injection mechanism significantly lowers the bar for developing debugging tools.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://trustedsec.com/blog/operating-inside-the-interpreted-offensive-python&quot; target=&quot;_blank&quot;&gt;Operating Inside the Interpreted: Offensive Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article reveals Python&apos;s potential as an offensive security tool in a Windows environment. It shows how to easily deploy Python via the Microsoft Store or offline and use the &lt;code&gt;ctypes&lt;/code&gt; library to call Win32 APIs directly for low-level system operations.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://lucumr.pocoo.org/2025/7/26/virtual-threads&quot; target=&quot;_blank&quot;&gt;From Async/Await to Virtual Threads&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Armin Ronacher explores the future of concurrent programming in Python, proposing virtual threads as a replacement for &lt;code&gt;async/await&lt;/code&gt;! He envisions a world with structured concurrency and a cleaner API that eliminates the &apos;function color&apos; problem, handing the complexity of concurrency back to the interpreter. This would allow developers to write concurrent code in a simpler, more intuitive way.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://lwn.net/Articles/1029307&quot; target=&quot;_blank&quot;&gt;Following up on the Python JIT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How is the CPython JIT compiler being developed? This article breaks down the process, explaining how techniques like tracing and a &apos;copy-and-patch&apos; mechanism are used to compile only the most frequently executed code paths. It also covers how the JIT handles tricky issues like memory management, debugging, and performance analysis.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://sailor.li/asyncio&quot; target=&quot;_blank&quot;&gt;asyncio: A Library with Too Many Sharp Corners&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ever been burned by &lt;code&gt;asyncio&lt;/code&gt;? The author sharply points out its three major design flaws: a messy cancellation mechanism, weakly-referenced tasks, and callback-style I/O, which can easily lead to deadlocks or tasks that mysteriously disappear. Looking for a more elegant concurrency solution? The author recommends Trio/AnyIO.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.digitalocean.com/community/conceptual-articles/build-autonomous-systems-agentic-ai&quot; target=&quot;_blank&quot;&gt;Building Autonomous Systems: A Guide to Agentic AI Workflows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How can we get AI agents to work autonomously like humans? This article demystifies their core workflow: through autonomous planning, tool use, reflection, and multi-agent collaboration, they can achieve capabilities beyond traditional automation. The piece also explores how frameworks like LangChain and AutoGen bring AI to life and how to design reliable feedback mechanisms.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://open.substack.com/pub/sebastianraschka/p/the-big-llm-architecture-comparison&quot; target=&quot;_blank&quot;&gt;The Big LLM Architecture Comparison&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article systematically compares the architectures of various large models like DeepSeek-V3 and Llama 4. It dives deep into the evolution from multi-head attention to grouped-query attention and multi-head latent attention, and explains how Mixture-of-Experts models achieve efficient inference through sparse activation.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://hamatti.org/posts/better-alternative-to-shell-scripts-with-python-uv-and-pytest/&quot; target=&quot;_blank&quot;&gt;A Better Alternative to Shell Scripts with Python, uv, and pytest&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Learn how to use &lt;code&gt;uv&lt;/code&gt; and PEP 723&apos;s inline metadata feature to develop self-contained Python scripts. Not only can you automatically manage dependencies in a temporary virtual environment, but you can also integrate &lt;code&gt;pytest&lt;/code&gt; for testing, making your automation scripts more reliable and easier to maintain.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.pypi.org/posts/2025-07-31-incident-report-phishing-attack/&quot; target=&quot;_blank&quot;&gt;Incident Report: Phishing Attack&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PyPI was hit by a phishing attack. Attackers used the lookalike domain &lt;code&gt;pypj.org&lt;/code&gt; to create a fake website, tricking users into leaking their credentials. This led to malicious code being injected into packages like &lt;code&gt;num2words&lt;/code&gt;. The incident is a stark reminder of the importance of enabling two-factor authentication (2FA) and using hardware security keys.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.hacktron.ai/blog/posts/python-zip-confusion&quot; target=&quot;_blank&quot;&gt;Can You Execute Arbitrary Python Code from Only a Comment?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Execute arbitrary Python code with just a single comment? This article reveals a clever attack technique that constructs a &apos;polyglot&apos; file—one that&apos;s both a valid Python script and a ZIP archive—to successfully exploit an interpreter feature and achieve code injection!&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.appsignal.com/2025/07/23/how-the-application-and-request-contexts-work-in-flask.html&quot; target=&quot;_blank&quot;&gt;How the Application and Request Contexts Work in Python Flask&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ever wonder why Flask&apos;s global objects like &lt;code&gt;request&lt;/code&gt; work flawlessly in a multi-threaded environment? This article demystifies Flask&apos;s core context mechanism, explaining how the application and request contexts work together to ensure data isolation.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://georgiker.com/blog/is-ai-leaving-python-community-behind/&quot; target=&quot;_blank&quot;&gt;Is AI Leaving the Python Community Behind?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AI&apos;s boom owes a lot to Python, but are AI companies starting to cannibalize the community? The article points out that many companies are reaping the benefits of the Python community while giving little back. As &apos;AI crash course&apos; topics dominate tech conferences and entry-level jobs dwindle due to AI, we have to ask: in our rush to embrace AI, are we undermining the very foundations of the Python community?&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/mediacms-io/mediacms&quot; target=&quot;_blank&quot;&gt;mediacms: A modern, fully featured open source video and media CMS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A full-featured video and media CMS built with Python/Django and React. You can set up a small to medium-sized video and media portal in minutes. (3.6K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/josh0xA/darkdump&quot; target=&quot;_blank&quot;&gt;darkdump: Open Source Intelligence Interface for Deep Web Scraping&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An OSINT (Open Source Intelligence) tool developed in Python for deep web investigations. Input a search query, and it scrapes relevant .onion sites via Ahmia.fi to extract emails, metadata, keywords, images, and social media info. (1.3K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/Intelligent-Internet/ii-agent&quot; target=&quot;_blank&quot;&gt;ii-agent: A New Open-Source Framework to Build and Deploy Intelligent Agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source intelligent assistant that supports models like Claude and Gemini. It provides a CLI, a frontend, and supports local, Docker, and E2B execution environments. Core capabilities include research, fact-checking, content generation, data analysis, software development, and workflow automation. (2.8K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/9001/copyparty&quot; target=&quot;_blank&quot;&gt;copyparty: Portable File Server&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A portable file server with resumable uploads/downloads, deduplication, WebDAV, FTP, TFTP, zero-config setup, media indexing, and thumbnail generation. All features are packed into a single, dependency-free file, supporting multiple protocols and mobile apps. (17.1K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/daveebbelaar/ai-cookbook&quot; target=&quot;_blank&quot;&gt;ai-cookbook: Examples and Tutorials to Help Developers Build AI Systems&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI development cookbook that guides you in building AI systems. It provides code snippets that can be easily integrated into your own projects, covering topics like Python, OpenAI, agents, LLMs, and Anthropic. (2.5K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/agno-agi/agno&quot; target=&quot;_blank&quot;&gt;agno: Full-Stack Framework for Building Multi-Agent Systems&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A full-stack framework for developing multi-agent systems with memory, knowledge, and reasoning capabilities. It supports five levels of complexity, from simple tools to sophisticated agent teams, and offers a unified model interface, high-performance architecture, and built-in search and storage. (31K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/denizsafak/abogen&quot; target=&quot;_blank&quot;&gt;abogen: Generate Audiobooks from EPUBs, PDFs, and Text&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful text-to-speech tool that quickly converts ePub, PDF, or text files into high-quality audio with synchronized subtitles. It supports multiple languages and voices, making it perfect for creating audiobooks, video voiceovers, and more.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/brennercruvinel/CCPlugins&quot; target=&quot;_blank&quot;&gt;CCPlugins: Claude Code Productivity Plugins&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A collection of productivity commands designed for the Claude Code CLI. It automates development workflows, checks code quality, manages sessions, and includes useful commands for cleaning projects, smart commits, code formatting, test fixing, and code reviews, making your AI assistant feel more like a senior engineer.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/google/langextract&quot; target=&quot;_blank&quot;&gt;LangExtract: Structured Information Extraction Library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source library from Google that uses large models to extract structured information from unstructured text. It features precise source attribution, reliable structured output, optimized handling of long documents, and interactive visualization, supporting both cloud and local models. (1.3K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/francozanardi/pictex&quot; target=&quot;_blank&quot;&gt;PicTex: A Powerful Python Library to Create Beautifully Styled Text Images&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python library built on the Skia graphics engine that provides a clean and fluent API for creating beautiful text images. It supports rich styles like gradients, shadows, and outlines, and features automatic font fallback, advanced typography, and both vector and raster output. Perfect for social media, video overlays, and digital art.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Goldziher/html-to-markdown&quot; target=&quot;_blank&quot;&gt;html-to-markdown: HTML to Markdown Converter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Converts HTML to Markdown format. It supports the full range of HTML5 elements, enhanced table handling, type safety, metadata extraction, and streaming. It also provides a CLI tool and custom converters, with over 91% test coverage.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/natibek/erys&quot; target=&quot;_blank&quot;&gt;erys: Terminal Interface for Jupyter Notebooks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A tool that lets you open, create, edit, run, and save Jupyter Notebooks right in your terminal. It uses a Textual-based interface, executes code via &lt;code&gt;jupyter_client&lt;/code&gt;, supports syntax highlighting for various file formats, and can even render images and HTML output.&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://talkpython.fm/episodes/show/513/stories-from-python-history&quot; target=&quot;_blank&quot;&gt;Episode #513 - Stories from Python History&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Barry Warsaw, Paul Everitt, Carol Willing, and Brett Cannon join the show to share stories from Python&apos;s history, including how &apos;import this&apos; came to be and what the very first PyCon was like.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/113/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#112: Welcoming the New Generation of AI-Era Programmers</title><link>https://weekly.pythoncat.top/en/issues/112/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/112/</guid><description>Sharing 13 articles, 12 open-source projects</description><pubDate>Sat, 26 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #112: Welcoming the New Generation of AI-Era Programmers&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://peps.python.org/pep-0798/&quot; target=&quot;_blank&quot;&gt;Unpacking in Comprehensions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A fresh proposal that&apos;s got everyone talking! PEP-798 suggests expanding the syntax for list, set, and dictionary comprehensions by allowing unpacking operators &lt;code&gt;*&lt;/code&gt; and &lt;code&gt;**&lt;/code&gt; at the beginning of expressions. This enables elegant merging of any number of iterables. Compared to traditional nested loops or itertools.chain approaches, the new syntax &lt;code&gt;[*it for it in its]&lt;/code&gt; is way more intuitive and clean.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://dpdani.github.io/cereggii/examples/AtomicDict/reduce/&quot; target=&quot;_blank&quot;&gt;Using reduce() for Multithreaded Aggregation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The cereggii library&apos;s AtomicDict brings thread-safe dictionary operations to the table, implementing race-free multithreaded aggregation through its reduce() method. Compared to regular dicts, AtomicDict.reduce_sum() delivers a 30% performance boost in single-threaded scenarios and an impressive 5x speedup with 4 threads.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://peps.python.org/pep-0799/&quot; target=&quot;_blank&quot;&gt;PEP 799 – A dedicated profilers package for organizing Python profiling tools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This PEP proposes introducing a unified profilers module that consolidates existing performance analysis tools. The new module offers profilers.tracing (a cProfile alias) and profilers.sampling (featuring the new tachyon sampling profiler), while deprecating the aging profile module for cleaner tool selection.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://sbaziotis.com/compilers/metap.html&quot; target=&quot;_blank&quot;&gt;metap: A Meta-Programming Layer for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;metap brings serious Python meta-programming firepower with three core capabilities: program enhancement, code generation, and structural introspection. Through a straightforward client API, it enables dynamic type checking, logging, and custom macros, supporting automated coding patterns that boost code maintainability.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://rtpg.co/2025/06/28/checking-out-sys-remote-exec/&quot; target=&quot;_blank&quot;&gt;Checking Out CPython 3.14&apos;s remote debugging protocol&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 introduces the sys.remote_exec feature, allowing you to inject code execution into running Python programs. No more restarts needed for debugging and status checks – this provides a standardized solution for building development debugging tools.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://blog.appsignal.com/2025/07/09/how-to-avoid-nplus1-queries-in-django-python.html&quot; target=&quot;_blank&quot;&gt;How to Avoid N+1 Queries in Django Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django ORM&apos;s lazy loading mechanism can easily lead to N+1 query nightmares. The fix? Use select_related() and prefetch_related() methods effectively – the former works great for single-value relationships, while the latter handles multi-value relationships like a champ.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://willmcgugan.github.io/announcing-toad/&quot; target=&quot;_blank&quot;&gt;Announcing Toad - a universal UI for agentic coding in the terminal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Textual founder has built Toad using Python and Textual to tackle the flickering and interaction issues plaguing existing terminal AI coding tools (like Claude code and Gemini CLI). It delivers flicker-free updates, text selection, and smooth scrolling that actually works.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://www.datumlabs.io/resources/the-step-by-step-guide-to-python-packaging-tools-2025&quot; target=&quot;_blank&quot;&gt;The Step-by-Step Guide to Python Packaging Tools 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive breakdown of 2025&apos;s hottest Python packaging tools: lightning-fast Rust-powered uv, structured project favorite Poetry, tried-and-true pip, simplified Pipenv, complex project powerhouse Hatch, and standards-first PDM. (Shared by @Wardah Awais)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://lucumr.pocoo.org/2025/7/20/the-next-generation/&quot; target=&quot;_blank&quot;&gt;Welcoming The Next Generation of Programmers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Flask creator Armin Ronacher is calling on the Python community to embrace the new generation of developers who are getting into programming through AI tools. He argues that AI won&apos;t shrink the programmer pool – instead, it&apos;ll bring more people into the coding world. The Python community should actively welcome these &quot;vibe coders,&quot; offering guidance and support while helping them avoid getting locked into commercial tools.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.bitecode.dev/p/what-parse-dont-validate-means-in&quot; target=&quot;_blank&quot;&gt;What &quot;Parse, don&apos;t validate&quot; means in Python?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into the &quot;Parse, don&apos;t validate&quot; programming principle and how it applies in Python. The article explains that parsing is essentially validation with understanding – by transforming low-level data into high-level structured types, you get convenience and safety while establishing trust boundaries between code sections. It covers solutions ranging from simple NewType to full Pydantic implementations.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://adamj.eu/tech/2025/07/20/python-fix-brokenpipeerror/&quot; target=&quot;_blank&quot;&gt;Python: fix BrokenPipeError when piping output to other commands&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When Python scripts output massive amounts of data and pipe it to commands that only read partial content, you&apos;ll hit the dreaded BrokenPipeError. The article breaks down exactly why this happens: the receiving end closes the pipe early, triggering a SIGPIPE signal. It offers two elegant solutions – try/except wrapping and context managers – that redirect output to /dev/null to prevent program crashes.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://newsletter.vickiboykis.com/archive/my-favorite-use-case-for-ai-is-writing-logs/&quot; target=&quot;_blank&quot;&gt;My favorite use-case for AI is writing logs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PyCharm&apos;s full-line code completion uses local AI models to intelligently suggest log statements, eliminating the cognitive overhead of writing f-string logs. The feature runs on a 100M parameter Transformer model, quantized down to 100MB and specifically optimized for Python code, dramatically boosting debugging efficiency.&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://shanrauf.com/archive/how-to-think-about-time-in-programming&quot; target=&quot;_blank&quot;&gt;How to Think About Time in Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article uses &quot;absolute time&quot; and &quot;civil time&quot; concepts to explain the mind-bending complexity of time handling in programming. From Unix timestamps to UTC standards, leap second adjustments, and timezone conversions, it systematically breaks down how time is represented in computer systems, helping developers understand why &quot;just use UTC&quot; isn&apos;t the silver bullet solution.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/QwenLM/Qwen3-Coder&quot; target=&quot;_blank&quot;&gt;Qwen3-Coder: Qwen3-Coder is the code version of Qwen3, the large language model series developed by Qwen team, Alibaba Cloud.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Qwen large model that supports AI agent programming. This mixture-of-experts model achieves best-in-class performance among open-source models for AI agent programming, browser usage, and tool utilization, rivaling Claude Sonnet. (9.1K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/hesreallyhim/awesome-claude-code&quot; target=&quot;_blank&quot;&gt;awesome-claude-code: A curated list of awesome commands, files, and workflows for Claude Code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Packed with slash commands, CLAUDE.md files, CLI tools, and other resources to supercharge your Claude Code workflow, productivity, and overall experience. (6.7K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/langchain-ai/open_deep_research&quot; target=&quot;_blank&quot;&gt;open_deep_research: Open Deep Research&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source deep research AI agent from the LangChain team that conducts thorough information gathering and analysis. Features multi-dimensional scoring systems and batch evaluation capabilities. Customize research workflows and model behavior through Web UI, environment variables, or direct config modifications. (6.3K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/EmilDohne/PhotoshopAPI&quot; target=&quot;_blank&quot;&gt;PhotoshopAPI: A modern and performant C++20 read/write parser of Photoshop Files&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-performance Photoshop file parser built on C++20 with Python bindings. Supports layer editing, smart objects, and more – reading files 5-10x faster than Photoshop itself and writing 20x faster.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/lancedb/lancedb&quot; target=&quot;_blank&quot;&gt;LanceDB: Developer-friendly, embedded retrieval engine for multimodal AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An embedded retrieval engine designed for multimodal AI, supporting vector search, full-text search, and SQL queries. Can store and search petabyte-scale multimodal data with deep integrations for LangChain, LlamaIndex, and more. (7.1K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/maxdorninger/MediaManager&quot; target=&quot;_blank&quot;&gt;MediaManager: A modern selfhosted media management system for your media library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A sleek library for managing your local TV shows and movies. Serves as an alternative to Sonarr, Radarr, and friends, with TVDB and TMDB metadata support, Docker deployment, and API interactions.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://fstrings.wtf/&quot; target=&quot;_blank&quot;&gt;fstrings.wtf: Python F-String Quiz&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A fun Python F-String knowledge site featuring 26 questions that test your understanding of f-string behavior in Python 3.13. Includes keyboard shortcuts and progress saving – perfect for leveling up your f-string game!&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/rohaquinlop/complexipy&quot; target=&quot;_blank&quot;&gt;complexipy: An extremely fast Python library to calculate the cognitive complexity of Python files, written in Rust.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Rust-powered Python code complexity calculator that supports command line, GitHub Actions, VSCode extensions, and pre-commit hooks. Features CSV/JSON export and customizable threshold settings.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/OpenPipe/ART&quot; target=&quot;_blank&quot;&gt;ART: Agent Reinforcement Trainer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source reinforcement learning framework for training multi-step AI agents using the GRPO algorithm. Supports various models like Qwen and Llama, features a RULER zero-shot reward system that eliminates the need for manual reward function design. Includes client-server architecture with support for remote training and local GPU deployment. (3.6K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/withneural/neuralagent&quot; target=&quot;_blank&quot;&gt;NeuralAgent: The AI Agent That Lives On Your Desktop And Uses It Like You Do!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A desktop AI personal assistant that actually gets things done – controlling mouse and keyboard, browsing the web, filling forms, sending emails, and more. Supports Claude, GPT-4, Azure OpenAI, and other models with a FastAPI + Electron + React architecture and modular agent system.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/SkyworkAI/SkyReels-V2&quot; target=&quot;_blank&quot;&gt;SkyReels-V2: Infinite-length Film Generative model&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The first open-source video generation model using autoregressive diffusion forcing architecture, supporting infinite-length video generation. Offers text-to-video, image-to-video, and video extension capabilities with models ranging from 1.3B to 14B parameters, supporting 540P and 720P resolution output. (3.6K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/coderamp-labs/gitingest&quot; target=&quot;_blank&quot;&gt;gitingest: Turn any Git repository into a prompt-friendly text ingest for LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports multiple usage methods including command line, Python package, and browser extensions. Generates text summaries of codebases from GitHub URLs or local directories, complete with file structure statistics and token counting features. (11.2K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/112/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#111: Django Celebrates 20th Anniversary, Former OpenAI Employee Shares Work Experience</title><link>https://weekly.pythoncat.top/en/issues/111/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/111/</guid><description>Sharing 13 articles, 13 open-source projects, 1 audio/video item</description><pubDate>Sat, 19 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #111: Django Celebrates 20th Anniversary, Former OpenAI Employee Shares Work Experience&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://simonwillison.net/2025/Jul/13/django-birthday/&quot; target=&quot;_blank&quot;&gt;Happy 20th birthday Django! Here&apos;s my talk on Django Origins from Django&apos;s 10th&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django&apos;s origins trace back to a small newspaper in Lawrence, Kansas in 2003, where two developers, frustrated with PHP&apos;s limitations, decided to build a new web framework using Python. The father of Django recalls the creation process from scratch, revealing the thinking behind technical choices—an inspiring look at how open source projects evolve.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://developers.redhat.com/articles/2025/07/15/exploring-llama-stack-python-tool-calling-and-agents&quot; target=&quot;_blank&quot;&gt;Exploring Llama Stack with Python: Tool calling and agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive guide on using Python with Llama Stack for tool calling and agent development. Starting from environment setup, it demonstrates the complete workflow of tool definition, function implementation, and API calls, with special emphasis on API exploration techniques using documentation endpoints—a practical LLM development guide.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://pybit.es/articles/from-sql-to-sqlmodel-a-cleaner-way-to-work-with-databases-in-python/&quot; target=&quot;_blank&quot;&gt;From SQL To SQLModel: A Cleaner Way To Work With Databases In Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SQLModel, open-sourced by the creator of FastAPI, replaces SQL queries with Python objects and type annotations for database operations. Built on Pydantic and SQLAlchemy, it provides data validation, IDE support, and better testability, significantly improving code cleanliness and maintainability.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://death.andgravity.com/over-composition&quot; target=&quot;_blank&quot;&gt;Inheritance over composition, sometimes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author provides an in-depth comparison of three approaches to implementing hybrid concurrent executors: inheritance offers the cleanest code with best forward compatibility, composition requires extensive boilerplate code, and pure functions are simple but suffer from global state issues—challenging the traditional &quot;composition over inheritance&quot; wisdom.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://onebadbit.com/posts/2025/07/python-and-make-in-2025/&quot; target=&quot;_blank&quot;&gt;Python and Make in 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shares a modern workflow for managing Python projects using GNU Make. By simplifying Makefiles and combining with the uv tool, it achieves cross-platform automated project management, including virtual environment creation, dependency installation, and complex build processes.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://jacobpadilla.com/articles/asyncio-protocols&quot; target=&quot;_blank&quot;&gt;Making a Simple HTTP Server with Asyncio Protocols&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article explains how to build HTTP servers using Asyncio Protocols, a low-level callback mechanism. Compared to high-level Streams abstractions, Protocols avoid coroutine overhead and respond faster to network events, with performance tests showing roughly 8x faster speeds than FastAPI.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://codecut.ai/deep-dive-into-duckdb-data-scientists/&quot; target=&quot;_blank&quot;&gt;A Deep Dive into DuckDB for Data Scientists&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article introduces the core features of DuckDB, an embedded SQL database, showcasing its advantages in memory efficiency and performance compared to pandas. It demonstrates zero-configuration DuckDB usage, seamless integration with pandas/Polars, and automatic parsing capabilities for various file formats.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://www.cesarsotovalero.net/blog/i-am-switching-to-python-and-actually-liking-it.html&quot; target=&quot;_blank&quot;&gt;I&apos;m Switching to Python and Actually Liking It&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author switched to Python due to AI development needs and shares a complete toolchain from scripting tools to production-grade applications. Using tools like uv, ruff, and FastAPI to build a monorepo architecture, combined with Docker and GitHub Actions for automated deployment, showcasing the maturity and development efficiency of the Python ecosystem.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://nedbatchelder.com/blog/202507/2048_iterators_and_iterables.html&quot; target=&quot;_blank&quot;&gt;2048: iterators and iterables&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author encountered iterator pitfalls while developing a 2048 game, explaining the difference between range() returning reusable iterables and reversed() returning one-time iterators. Using itertools.product() cleverly solves iterator reuse issues in nested loops, sharing core concepts of Python&apos;s iteration mechanism in an accessible way.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://hakibenita.com/django-foreign-keys&quot; target=&quot;_blank&quot;&gt;How to Get Foreign Keys Horribly Wrong&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article dissects common Django foreign key pitfalls and optimization techniques, from replacing unique_together to identifying duplicate indexes, and safely migrating foreign key constraints. It provides detailed explanations on avoiding blocking migrations and implementing concurrent index operations—critical issues in production environments.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.dash0.com/guides/logging-in-python&quot; target=&quot;_blank&quot;&gt;Application Logging in Python: Recipes for Observability&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This tutorial covers everything from the four core components of the logging module to JSON format output, YAML configuration, and asynchronous processing. It comprehensively covers logging system development practices—a practical guide for production environment logging system development.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://calv.info/openai-reflections&quot; target=&quot;_blank&quot;&gt;Reflections on OpenAI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A former OpenAI employee shares authentic work experiences. From bottom-up research culture to all-Slack communication, from the crazy 7-week Codex development pace to Python monolithic repository architecture, revealing the internal operations and engineering practices of this AI giant.&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;http://droettboom.com/blog/2025/07/13/how-to-think-about-llms-for-oss-development/&quot; target=&quot;_blank&quot;&gt;How to Think About LLMs for OSS Development&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Based on 25 years of open source development experience, the author proposes a rational thinking framework for applying LLMs in open source software. Emphasizing that open source collaboration is essentially a complex social dynamic system, they recommend cautious LLM use only in learning and creation, while maintaining human leadership in open source collaboration.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/MoonshotAI/Kimi-K2&quot; target=&quot;_blank&quot;&gt;Kimi-K2: Open Agentic Intelligence&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source model from Moonshot AI with 32B active parameters and 1T total parameters, supporting 128K context length. Trained using the Muon optimizer, it excels in cutting-edge knowledge, reasoning, and programming tasks. (5.4K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/browseros-ai/BrowserOS&quot; target=&quot;_blank&quot;&gt;BrowserOS: BrowserOS is an open-source agentic web browser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source agentic browser based on Chromium, focused on privacy protection and local AI processing. It supports using your own API keys locally or running local models through Ollama, capable of performing repetitive tasks like web form filling and data extraction. Future plans include MCP store support and built-in AI ad blockers. (2.5K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/browser-use/macOS-use&quot; target=&quot;_blank&quot;&gt;macOS-use: Make Mac apps accessible for AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A tool that enables AI agents to interact with MacBooks, capable of performing tasks from simple calculator operations to complex web logins. The project&apos;s vision is to let AI agents perform any operation on any Apple device, with future plans to support local inference and iPhone/iPad devices. (1.5K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/NomenAK/SuperClaude&quot; target=&quot;_blank&quot;&gt;SuperClaude: A configuration framework that enhances Claude Code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A configuration framework that enhances Claude Code, providing 16 specialized commands, intelligent role systems, and MCP server integration. It supports various programming tasks including development, analysis, and quality control, using intelligent routing to select appropriate tools and experts for smoother development workflows. (8.5K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/python/pymanager&quot; target=&quot;_blank&quot;&gt;pymanager: The Python Install Manager (for Windows)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python&apos;s official Windows platform Python installation manager, based on PEP 773 proposal. It supports multi-version Python management and automated installation configuration, providing both MSIX and MSI package formats to simplify the Windows environment management experience.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/microsoft/mcp-for-beginners&quot; target=&quot;_blank&quot;&gt;mcp-for-beginners: Model Context Protocol (MCP) Curriculum for Beginners&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source tutorial from Microsoft, containing examples in .NET, Java, TypeScript, JS, and Python. From basic concepts to advanced topics, it includes a complete learning path covering server construction, client development, security practices, and multimodal integration. (5.2K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/i-am-bee/acp&quot; target=&quot;_blank&quot;&gt;acp: Open protocol for communication between AI agents, applications, and humans&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open protocol for AI agent communication, supporting multimodal messaging including text, code, files, and media content, with real-time, background, and streaming responses. Features agent discovery, long-term task collaboration, and state sharing capabilities, complete with Python and TypeScript SDKs.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/RapidAI/RapidOCR&quot; target=&quot;_blank&quot;&gt;RapidOCR: Awesome OCR multiple programing languages toolkits&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A multi-platform, multi-language OCR toolkit based on ONNXRuntime, OpenVINO, PaddlePaddle, and PyTorch. Supports Chinese and English recognition with fast offline deployment, providing interfaces for Python, C++, Java, C#, and other languages. (4.6K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://mistral.ai/news/voxtral/&quot; target=&quot;_blank&quot;&gt;Voxtral: State-of-the-art speech understanding models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open-source speech understanding models released by Mistral AI, available in 24B and 3B versions. Supports up to 30-minute speech transcription, built-in Q&amp;amp;A and summarization, multilingual support, and direct function calling from speech, surpassing existing models like Whisper in transcription accuracy and semantic understanding.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/Goldziher/html-to-markdown&quot; target=&quot;_blank&quot;&gt;html-to-markdown: HTML to markdown converter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python library rewritten based on markdownify, supporting complete HTML5 element conversion. Features strict type safety, metadata extraction, streaming processing, highlighted text support, task list conversion, and more, with 100% code coverage.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/slaily/aiosqlitepool&quot; target=&quot;_blank&quot;&gt;aiosqlitepool: A resilient, high-performance asynchronous connection pool layer for SQLite&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-performance connection pool designed for asynchronous SQLite applications, eliminating connection overhead through long connection reuse and maintaining SQLite memory page cache warmth to significantly improve concurrent query performance. Supports connection health checks, automatic transaction rollback, and idle connection replacement, achieving up to 72% query throughput improvement under high load.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/oomol-lab/epub-translator&quot; target=&quot;_blank&quot;&gt;epub-translator: Use LLM to losslessly translate EPUB e-books&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses large language models to translate EPUB e-books while preserving original formatting, illustrations, table of contents, and layout, generating bilingual parallel versions. Supports multilingual translation, custom prompts, multiple AI model choices, and high-performance parallel processing.&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://github.com/patchy631/ai-engineering-hub&quot; target=&quot;_blank&quot;&gt;ai-engineering-hub: In-depth tutorials on LLMs, RAGs and real-world AI agent applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tutorial resources on LLMs, RAG, and AI agents, containing a complete learning path from basic concepts to practical applications. Covers cutting-edge technologies including multi-agent systems, speech processing, document analysis, and knowledge distillation, with rich practical cases and code examples. (14.3K stars)&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/playlist?list=PLGVZCDnMOq0qi19dNwAO6KxWmMqXppGpz&quot; target=&quot;_blank&quot;&gt;PyData London 2025 Video Collection (50 videos)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/111/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#110: JIT Compiler Two-Year Retrospective, AI Agent Tools Explosion</title><link>https://weekly.pythoncat.top/en/issues/110/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/110/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 12 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #110: JIT Compiler Two-Year Retrospective, AI Agent Tools Explosion&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;p&gt;This issue features 12 articles and 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://fidget-spinner.github.io/posts/jit-reflections.html&quot; target=&quot;_blank&quot;&gt;Reflections on 2 years of CPython&apos;s JIT Compiler: The good, the bad, the ugly&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ken Jin, a core developer of CPython&apos;s JIT compiler, reflects on two years of development, candidly analyzing the project&apos;s successes and challenges. He highlights how the JIT successfully adopted a community-driven development model, attracting numerous contributors. However, performance remains disappointing—often slower than the interpreter under modern compilers. Version 3.15 might finally deliver the real performance gains we&apos;ve been waiting for.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://spin.atomicobject.com/types-are-transforming-python/&quot; target=&quot;_blank&quot;&gt;Types are Transforming Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This piece traces Python&apos;s type system evolution, explaining the major shifts since the typing module landed in Python 3.5. It spotlights NamedTuple and dataclass syntax, showing how class-based type creation became more intuitive and elegant. The article also covers advanced features like generics, NewType, and TypedDict. Combined with tools like pyright and Pylance, the type system isn&apos;t just improving code quality—it&apos;s fundamentally transforming how we write Python.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://mildbyte.xyz/blog/solving-wordle-with-uv-dependency-resolver&quot; target=&quot;_blank&quot;&gt;Solving Wordle with uv&apos;s dependency resolver&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This clever hack transforms Wordle into a Python package dependency problem, using thousands of virtual package versions to represent letter position constraints and leveraging uv&apos;s blazing-fast dependency resolution to automatically solve puzzles. Who knew dependency managers could have such unexpected uses? (Previously, we shared &lt;a href=&quot;https://simonwillison.net/2024/Oct/21/sudoku-in-python-packaging/&quot; target=&quot;_blank&quot;&gt;solving Sudoku with Python package resolvers&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://testdriven.io/blog/fastapi-mongo-websockets&quot; target=&quot;_blank&quot;&gt;Developing a Real-time Dashboard with FastAPI, MongoDB, and WebSockets&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you build a real-time order management dashboard? This tutorial uses MongoDB Change Streams to monitor data changes, combines FastAPI WebSockets for real-time frontend-backend communication, and leverages the Motor async driver for performance gains. It&apos;s a solid showcase of modern web app real-time data processing best practices.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://labs.quansight.org/blog/escaping-contravariance-hell&quot; target=&quot;_blank&quot;&gt;Escaping Contravariance Hell&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Don&apos;t panic when your type checker screams about &quot;violating the Liskov substitution principle.&quot; This article brilliantly explains contravariance using vegetable peelers: a carrot peeler can only peel carrots—you can&apos;t use it as a generic vegetable peeler. The solution? Generic protocols and TypeVar to let the type system know exactly which peeler works with which veggie, avoiding the temptation to just slap Any everywhere and call it a day.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.firecrawl.dev/blog/langflow-tutorial-visual-ai-workflows&quot; target=&quot;_blank&quot;&gt;LangFlow Tutorial: Building Production-Ready AI Applications With Visual Workflows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;LangFlow makes AI app development as easy as playing with Legos! Drag and drop pre-built components to create complex workflows, building multi-agent systems and RAG applications without writing a single line of code. This tutorial walks through building a Firecrawl search component, covering everything from environment setup to component development to workflow integration.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://tech.olx.com/scaling-recommendations-service-at-olx-db4548813e3a&quot; target=&quot;_blank&quot;&gt;Scaling recommendations service at OLX&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The OLX team shares how they scaled their FastAPI recommendation service to handle tens of thousands of requests per second with p99 latency under 10ms. Through async I/O optimization, batched queries to reduce fan-out, removing Pydantic validation overhead, and tuning garbage collection parameters, they achieved a 40% reduction in latency and 50% boost in throughput.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://lwn.net/Articles/1025893/&quot; target=&quot;_blank&quot;&gt;Getting extensions to work with free-threaded Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.13&apos;s free-threaded mode ditches the GIL, but how do you get existing extensions to play nice? The Quansight Labs and Meta teams share their ecosystem migration experience—the key is handling global state races. Using mutexes to protect shared variables, atomic operations to avoid deadlocks, redesigning mutable data structures, and tools like ThreadSanitizer to catch data races, Python is finally ready to embrace the multi-threaded era.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://tidyfirst.substack.com/p/augmented-coding-beyond-the-vibes&quot; target=&quot;_blank&quot;&gt;Augmented Coding: Beyond the Vibes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Through hands-on experience building a B+ Tree library, the author contrasts &quot;Augmented Coding&quot; with &quot;Vibe Coding.&quot; The former emphasizes human-AI collaboration where developers stay in the driver&apos;s seat, using TDD and clean code principles to guide AI toward generating high-quality code that&apos;s more reliable and maintainable.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://rlancemartin.github.io/2025/06/23/context_engineering/&quot; target=&quot;_blank&quot;&gt;Context Engineering for Agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Context engineering has suddenly exploded in popularity. This article breaks it down into four key strategies: write (save outside the context window), select (pull in relevant info), compress (keep essential tokens), and isolate (split processing). Through practical examples like sticky notes, memory systems, and multi-agent architectures, it shows how to elegantly solve context management challenges in long conversations.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://neel04.github.io/my-website/blog/pytorch_rant/#coalescing-ecosystem&quot; target=&quot;_blank&quot;&gt;PyTorch is dead. Long live JAX.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author delivers a scathing critique of PyTorch&apos;s design philosophy, pointing out how its pursuit of flexibility creates performance bottlenecks at scale. PyTorch tries to have its cake and eat it too—balancing dynamic features with compiler optimization—leading to serious feature fragmentation. JAX, on the other hand, was built around the XLA compiler from day one, using functional programming and pure function constraints to achieve more elegant distributed training and automatic parallelization.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://jyn.dev/computer-of-the-future&quot; target=&quot;_blank&quot;&gt;operators, not users and programmers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From the &quot;Computers of the Next 200 Years&quot; series, the author drops a bombshell: the distinction between &quot;users&quot; and &quot;programmers&quot; is harmful and kills people&apos;s agency. Using spreadsheets as a success story, they show how malleable software can make programming as natural as writing a resume. The article envisions future computing systems with hot reloading, automatic persistence, distributed version control, instant testing, and continuous deployment—turning everyone into computer &quot;operators.&quot;&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/bytedance/trae-agent&quot; target=&quot;_blank&quot;&gt;trae-agent: LLM-based agent for general purpose software engineering tasks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ByteDance&apos;s open-source AI coding assistant that supports multiple LLMs and offers a powerful CLI interface with interactive modes. Features a rich tool ecosystem including file editing, bash execution, trajectory recording, and more, built with a modular architecture that&apos;s perfect for research and extension. (7.5K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/xai-org/xai-sdk-python&quot; target=&quot;_blank&quot;&gt;xai-sdk-python: The official Python SDK for the xAI API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;xAI&apos;s official Python SDK built on gRPC, supporting both sync and async clients. Packed with features like multi-turn conversations, streaming responses, image understanding, function calling, and structured outputs. Designed specifically for Python 3.10+ with intuitive APIs and comprehensive documentation.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/kalfasyan/desto&quot; target=&quot;_blank&quot;&gt;desto: web-interface and cli to manage python and shell scripts in tmux sessions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Manage Python and shell scripts in tmux sessions through a clean web dashboard and CLI. One-click session launching, monitoring, and stopping, plus real-time system status, script chaining, scheduled execution, and live log viewing. Makes script management simple and intuitive.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/grapeot/devin.cursorrules&quot; target=&quot;_blank&quot;&gt;devin.cursorrules: Magic to turn Cursor/Windsurf as 90% of Devin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Transform your $20 Cursor into a Devin-level AI coding assistant through custom config files and Python scripts. Features automated planning and self-evolution, extended tool usage (web browsing, search queries), multi-agent collaboration, and more. Makes AI behave like an intern—planning tasks, updating progress, and learning from feedback. (5.8K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/SlimeBoyOwO/LingChat&quot; target=&quot;_blank&quot;&gt;LingChat: GPT chat with emotional expressions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An emotional AI chat companion with custom character support and permanent memory. Built-in AI emotion recognition makes expressions change with mood for an immersive chat experience. Includes Vits voice synthesis, visual perception, RAG memory system, and archiving features. Add background music for a truly personalized chat experience.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/rowboatlabs/rowboat&quot; target=&quot;_blank&quot;&gt;rowboat: AI-powered multi-agent builder&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Build multi-agent workflows with AI through a conversational interface for rapid agent assistant creation. Supports MCP server connections, API and Python SDK integration, RAG document uploads, URL scraping, and more. (3.3K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/mozilla-ai/agent-factory&quot; target=&quot;_blank&quot;&gt;agent-factory: A tool for generating Python code for agentic workflows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Mozilla AI&apos;s open-source tool for generating agentic workflow code with automated evaluation and testing capabilities. Includes Chainlit multi-turn conversation interface, API services, and web UI—a powerful toolkit for building agent workflows.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/ZhuoZhuoCrayon/throttled-py&quot; target=&quot;_blank&quot;&gt;throttled-py: High-performance Python rate limiting library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;High-performance Python rate limiting library supporting multiple algorithms (fixed window, sliding window, token bucket, leaky bucket, and GCRA) and storage backends (Redis, in-memory). Async-ready with support for function calls, decorators, and context managers.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/tubearchivist/tubearchivist&quot; target=&quot;_blank&quot;&gt;tubearchivist: Your self hosted YouTube media server&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Self-hosted YouTube video archiving and management system with channel subscriptions, automatic video downloads, indexing, and search capabilities. Web interface for organizing and playing offline videos, integrated with yt-dlp downloader and watch history tracking. (6.5K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/Blaizzy/mlx-audio&quot; target=&quot;_blank&quot;&gt;mlx-audio: A text-to-speech (TTS), speech-to-text (STT) and speech-to-speech (STS) library built on Apple&apos;s MLX framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Text-to-speech, speech-to-text, and speech-to-speech library built on Apple&apos;s MLX framework. Supports multiple languages, voice customization, speed adjustment, with an interactive web interface and 3D audio visualization. (2.5K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/mitsuhiko/sloppy-xml-py&quot; target=&quot;_blank&quot;&gt;sloppy-xml-py: A Python library to parse malformed XML&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python XML parsing library designed specifically for malformed XML, prioritizing fault tolerance over strict XML compliance. Perfect for parsing LLM-generated XML, offering both streaming and tree-building APIs with robust error recovery and detailed diagnostics.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/DhanushNehru/Python-Scripts&quot; target=&quot;_blank&quot;&gt;Python-Scripts: A curated list of python scripts for automating your tasks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Curated collection of Python automation scripts covering file management, image processing, data conversion, networking tools, and more. Includes file organizers, image compression, CSV converters, email automation, password generators, and other practical utilities.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/110/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#109: Python Performance Optimization Tips</title><link>https://weekly.pythoncat.top/en/issues/109/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/109/</guid><description>Sharing 13 articles, 13 open-source projects</description><pubDate>Sat, 05 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #109: Python Performance Optimization Tips&lt;/h1&gt;
&lt;p&gt;Welcome to Python Trending Weekly - your gateway to cutting-edge Python intelligence! Curated by Python Cat from 400+ premium sources worldwide, we deliver the most valuable articles, tutorials, open-source projects, tools, podcasts, videos, and trending discussions directly to your inbox. Our mission: Accelerate your Python mastery and unlock new career opportunities in the ever-evolving tech landscape.&lt;/p&gt;
&lt;p&gt;Sharing 13 articles and 13 open-source projects&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://pythonspeed.com/articles/different-ways-speed/&quot; target=&quot;_blank&quot;&gt;330× faster: Four different ways to speed up your code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using the example of counting letter frequencies in English novels, this article demonstrates four different code optimization approaches: achieving 2x improvement by reducing redundant calculations, 10x speedup using Rust implementation, further performance gains through parallel multi-core processing, and process optimization to ensure measurement accuracy, ultimately achieving a 330x performance boost.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://blog.codingconfessions.com/p/old-python-performance-trick&quot; target=&quot;_blank&quot;&gt;Why This Python Performance Trick Doesn&apos;t Matter Anymore&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Creating function local aliases in Python is a traditional trick for optimizing loop performance. This article analyzes bytecode and virtual machine implementation mechanisms to reveal how CPython 3.11&apos;s instruction specialization optimization makes this manual optimization unnecessary.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.manjusaka.blog/posts/2025/07/02/tail-call-in-3-14-interpreter/&quot; target=&quot;_blank&quot;&gt;Python 3.14&apos;s Further Performance Evolution: Tail Call Interpreter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 introduces the Tail Call Interpreter mechanism, which splits massive switch-case structures into multiple small functions and leverages tail call optimization to solve compatibility issues with traditional Computed Goto across different compiler versions, improving overall performance predictability.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://eugeneyan.com/writing/uncommon-python/&quot; target=&quot;_blank&quot;&gt;Uncommon Uses of Python in Commonly Used Libraries&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author discovered 6 uncommon but practical programming techniques in the source code of well-known Python libraries: using super() in base classes for cooperative multiple inheritance, implementing optional features with Mixins, using relative imports to avoid naming conflicts, simplifying API interfaces in &lt;strong&gt;init&lt;/strong&gt;.py, and leveraging empty conftest.py files to automatically configure pytest paths.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.beyonddream.me/post-5/&quot; target=&quot;_blank&quot;&gt;Code reading: The python std lib module - shelve.py&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into the source code implementation of Python&apos;s standard library shelve module, demonstrating how to create persistent dictionary objects. Internally, it serializes arbitrary Python objects through pickle and delegates storage to the dbm module. The article provides detailed analysis of caching mechanisms, context manager design, and other elegant programming techniques.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.anthropic.com/engineering/built-multi-agent-research-system&quot; target=&quot;_blank&quot;&gt;How we built our multi-agent research system&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Anthropic developed a multi-agent research system where a lead agent coordinates multiple sub-agents to search information in parallel, achieving a 90.2% performance improvement over single-agent systems. The article shares valuable insights on system architecture design, prompt engineering techniques, and production environment reliability challenges.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://kirancodes.me/posts/log-lang-design-llms.html&quot; target=&quot;_blank&quot;&gt;Programming Language Design in the Era of LLMs: A Return to Mediocrity?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author explores LLM&apos;s impact on Domain-Specific Language (DSL) design, noting that while LLMs excel with mainstream languages like Python, their performance drops dramatically with niche languages, effectively doubling the opportunity cost of DSLs. The article proposes three response strategies: teaching LLMs to understand DSLs through Python as an intermediate language, designing new DSLs that can collaborate with LLMs, and developing specification languages for validating LLM-generated code.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://fromscratchcode.com/blog/how-global-variables-work-in-python-bytecode/&quot; target=&quot;_blank&quot;&gt;How global variables work in Python bytecode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An in-depth analysis of Python global variables&apos; bytecode implementation mechanism, revealing how the virtual machine handles global variables through dynamic name resolution while local variables use index access. The article analyzes global storage principles through the LOAD_GLOBAL instruction, explaining how this design enables Python&apos;s dynamic features, including runtime global variable modification and cross-module monkey patching.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://www.cnblogs.com/kuangdaoyizhimei/p/18925535&quot; target=&quot;_blank&quot;&gt;Comprehensive Analysis of Python Regular Expressions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive introduction to Python regular expressions usage and principles, covering basic metacharacters, escape characters, extensive examples (such as greedy matching, non-greedy matching, zero-width assertions), and advanced regex features (such as capture groups, non-capture groups, named groups) and other advanced characteristics.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://blog.pyodide.org/posts/jspi/&quot; target=&quot;_blank&quot;&gt;JavaScript Promise Integration in Pyodide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pyodide solves the compatibility issue between synchronous Python code and asynchronous JavaScript APIs in browsers through JSPI technology, introducing the run_sync() function to implement stack switching mechanisms, allowing synchronous Python code to call asynchronous JavaScript without modifying the entire call stack.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.jsbarretto.com/post/software-is-joy&quot; target=&quot;_blank&quot;&gt;Writing Toy Software Is A Joy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author advocates writing toy programs to rediscover programming joy, following the 80:20 principle to implement core functionality with minimal code. The article shares 20 suitable practice toy projects, including regex engines, operating system kernels, game emulators, and compilers, with each project annotated with difficulty and time estimates.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://xxchan.me/ai/2025/06/08/ai-coding.html&quot; target=&quot;_blank&quot;&gt;My Thoughts on Various AI Coding Agent Tools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Analyzes the advantages, disadvantages, and development trends of current mainstream AI programming tools (Cursor, GitHub Copilot, Claude Code, Amp, OpenAI Codex, Devin, v0, etc.).&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://limboy.me/posts/vibe-coding&quot; target=&quot;_blank&quot;&gt;Reflections on Vibe Coding After Some Time&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Compares different programming assistant tools (such as Cursor and Claude Code) in terms of code understanding and generation quality experience, summarizing practical Vibe Coding techniques such as precise goal decomposition, providing key inputs, timely intervention, and making good use of planning mode. (Additional: Another AI-assisted programming experience sharing &lt;a href=&quot;https://xuanwo.io/2025/03-how-i-vibe-coding/&quot; target=&quot;_blank&quot;&gt;How I Vibe Coding?&lt;/a&gt;)&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://pythonlink.xyz/en&quot; target=&quot;_blank&quot;&gt;PythonLink: Curated Python Resources - Blogs, Podcasts, Newsletters, Communities&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A curated navigation site for high-quality Python resources, including newsletters, communities, blogs, and podcasts, currently featuring 738 entries. (PS: This is a personal project by the author of this newsletter. Most of the articles from these websites have appeared in our newsletter, making it a valuable collection of Python learning websites worth bookmarking.)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/simedw/spegel&quot; target=&quot;_blank&quot;&gt;spegel: Reflect the web through AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A terminal browser that rewrites web pages into Markdown format through AI, supporting custom prompts and view configurations, enabling comfortable web browsing even in the command line.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/yuruotong1/autoMate&quot; target=&quot;_blank&quot;&gt;autoMate: AI-driven local automation assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI automation tool that lets computers work autonomously using natural language. Built on OmniParser, it can understand requirements and automatically plan tasks, intelligently understand screen content, and simulate human vision and operations. (3.5K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/anthropics/claude-code&quot; target=&quot;_blank&quot;&gt;claude-code: Claude Code is an agentic coding tool that lives in your terminal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An intelligent programming tool officially launched by Anthropic, supporting execution of routine tasks, explaining complex code, and handling git workflows. Can be used in terminals, IDEs, or GitHub. (17.3K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/DrewThomasson/ebook2audiobook&quot; target=&quot;_blank&quot;&gt;ebook2audiobook: Generate audiobooks from e-books, voice cloning &amp;amp; 1107+ languages!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful e-book to audiobook conversion tool supporting voice cloning and over 1110 languages. Uses multiple TTS engines including XTTSv2, Bark, Vits, and Fairseq to convert e-books into high-quality audiobooks with chapters and metadata. (10.5K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/awslabs/mcp&quot; target=&quot;_blank&quot;&gt;mcp: AWS MCP Servers — helping you get the most out of AWS, wherever you use MCP&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AWS&apos;s official MCP service suite, providing AI applications with access to AWS documentation, contextual guidance, and best practices through MCP, supporting cloud-native development, infrastructure management, and development workflows. (4.4K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/datawhalechina/happy-llm&quot; target=&quot;_blank&quot;&gt;happy-llm: LLM Learning Tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive tutorial on large language model principles and practice from scratch, starting from basic NLP concepts, diving deep into Transformer architecture and pre-trained language models, providing a complete workflow for hands-on LLaMA2 model implementation, covering the entire process from pre-training to fine-tuning, as well as cutting-edge applications like RAG and Agent. (7.7K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/GongRzhe/Office-PowerPoint-MCP-Server&quot; target=&quot;_blank&quot;&gt;Office-PowerPoint-MCP-Server: PowerPoint MCP Server&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A PowerPoint operation MCP server based on python-pptx, providing 32 powerful tools supporting PPT creation, editing, and manipulation, with professional design features, chart data visualization, image processing, and shape creation capabilities.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/husseinnaeemsec/octopusdash&quot; target=&quot;_blank&quot;&gt;octopusdash: Dynamic Django admin panel&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modern Django management dashboard with beautiful UI, powerful filtering capabilities, and fine-grained permission control.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/topoteretes/cognee&quot; target=&quot;_blank&quot;&gt;cognee: Memory for AI Agents in 5 lines of code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source framework for implementing dynamic memory for AI agents, replacing traditional RAG systems with scalable ECL pipelines. Supports connecting and retrieving past conversations, documents, images, and audio transcriptions, with data ingestion from 30+ data sources. (6.1K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/benavlabs/FastAPI-boilerplate&quot; target=&quot;_blank&quot;&gt;FastAPI-boilerplate: An extendable async API using FastAPI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A scalable asynchronous API template using FastAPI, Pydantic V2, SQLAlchemy 2.0, PostgreSQL, and Redis. Provides complete user authentication, caching, task queues, pagination support, and other features, equipped with a modern management interface, supporting Docker deployment and NGINX load balancing. (1.2K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/JasonHonKL/spy-search&quot; target=&quot;_blank&quot;&gt;spy-search: LLM search engine faster than perplexity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports integration with multiple LLM services, providing extremely fast search speeds and intelligent agent architecture, claiming to be faster than perplexity search.&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://github.com/raceychan/premier&quot; target=&quot;_blank&quot;&gt;premier: A Flexible, Lightweight API-Gateway written in python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A versatile Python toolkit providing enterprise-level API gateway functionality for Python web applications, including caching, rate limiting, retry logic, timeout control, and performance monitoring, with a visualization dashboard.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/109/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#108: Will AI Replace Junior Developers?</title><link>https://weekly.pythoncat.top/en/issues/108/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/108/</guid><description>Sharing 12 articles, 12 open-source projects, 2 audio/video items</description><pubDate>Sat, 28 Jun 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #108：Will AI Replace Junior Developers?&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Every week I curate the best Python, AI, and tech content for you. This newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt;, so drop us a star if you dig it! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, 2 podcasts &amp;amp; videos.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://lucumr.pocoo.org/2025/6/21/my-first-ai-library/&quot; target=&quot;_blank&quot;&gt;My First Open Source AI Generated Library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Flask creator Armin Ronacher shares his experience building an XML parsing library with AI. He had Claude write a fault-tolerant XML parser from scratch to handle malformed XML content generated by LLMs. The result? 1,100 lines of parser code, 1,000 lines of tests, complete CI setup, and PyPI publishing—all accomplished in just 30-45 minutes.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.cottongeeks.com/articles/2025-06-24-fun-with-uv-and-pep-723&quot; target=&quot;_blank&quot;&gt;Fun with uv and PEP 723&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Discover how to create self-contained Python scripts using uv and PEP 723 inline script metadata. By embedding dependency and Python version info directly in your scripts, uv can automatically create virtual environments and install dependencies, making Python scripts as executable as Go programs.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.adarshd.dev/posts/pycon-us-ai-and-future-of-programming/&quot; target=&quot;_blank&quot;&gt;Will AI Replace Junior Developers? I Asked Experts at Pycon US&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author interviewed Python community leaders at PyCon US, including Guido van Rossum and Anthony Sottile. The consensus? AI won&apos;t replace developers but will change how we work. They emphasized that understanding code matters more than relying on AI generation, with AI being best suited for boilerplate and repetitive tasks.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://willmcgugan.github.io/fixing-python-properties/?featured_on=pythonbytes&quot; target=&quot;_blank&quot;&gt;Fixing Python Properties&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Learn how to use descriptors as an alternative to @property decorators, solving type checking errors when property setters accept flexible types, enabling more natural property value assignment.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://koaning.io/posts/giving-mojo-a-spin/&quot; target=&quot;_blank&quot;&gt;Python can run Mojo now&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explore Python&apos;s new ability to call Mojo code. In prime number calculation tests, the Mojo version ran 40x faster than pure Python and 23x faster than NumPy, showcasing Mojo&apos;s impressive performance advantages.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://adamj.eu/tech/2025/06/24/django-introducing-inline-snapshot-django/&quot; target=&quot;_blank&quot;&gt;Django: Introducing inline-snapshot-django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author open-sourced inline-snapshot-django, a package specifically designed for SQL query snapshot testing in Django projects. This tool automatically captures and compares SQL query fingerprints through context managers, providing more detailed debugging info and automated snapshot management compared to Django&apos;s native methods.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://saurabh-kumar.com/articles/2025/06/cut-django-database-latency-by-50-70ms-with-native-connection-pooling/&quot; target=&quot;_blank&quot;&gt;Cut Django Database Latency by 50-70ms With Native Connection Pooling&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django 5.1 introduces native database connection pooling, reusing PostgreSQL connections instead of complex new connection creation methods. This reduces database connection overhead by 60-80% and improves response times by 10-30%. The article covers configuration steps, connection pool parameters, and performance monitoring.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://jakevdp.github.io/blog/2018/09/13/waiting-time-paradox/&quot; target=&quot;_blank&quot;&gt;The Waiting Time Paradox, or, Why Is My Bus Always Late?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using Python simulations and probability theory, the author reveals the waiting time paradox: when buses arrive every 10 minutes on average, passengers also wait 10 minutes on average, not 5. The article explains this phenomenon using Poisson processes and exponential distributions, then validates theoretical predictions with real Seattle bus data—though real-world patterns still differ from theory.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python/blob/master/README.md&quot; target=&quot;_blank&quot;&gt;Kalman and Bayesian Filters in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An interactive tutorial written in Jupyter Notebooks, focusing on the principles and implementation of Kalman and Bayesian filters. These algorithms are widely used in aerospace, robotics, and finance. Starting from sensor noise problems, the author provides accessible explanations through Python code and visualizations.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://treyhunner.com/2024/10/switching-from-virtualenvwrapper-to-direnv-starship-and-uv/&quot; target=&quot;_blank&quot;&gt;Switching from virtualenvwrapper to direnv, Starship, and uv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares their migration experience from virtualenvwrapper to modern Python environment management tools. By configuring direnv for automatic virtual environment activation in project directories, using venv and workon commands to simplify virtual environment creation and project switching, and customizing clean command-line prompts with Starship.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.langchain.com/how-to-think-about-agent-frameworks/&quot; target=&quot;_blank&quot;&gt;How to think about agent frameworks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The LangChain team provides deep analysis of agent framework design philosophy, identifying that the core challenge in building reliable agent systems is ensuring LLMs have appropriate context at each step. The article distinguishes between Workflow (predefined code paths) and Agent (LLM dynamic control) modes, emphasizing that most production agent systems combine both approaches, and compares design philosophies across 100+ agent frameworks.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://henrikwarne.com/2025/06/15/lessons-from-9-more-years-of-tricky-bugs/&quot; target=&quot;_blank&quot;&gt;Lessons From 9 More Years of Tricky Bugs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author summarizes lessons learned over the past 9 years, analyzing 12 key issues across coding, testing, and debugging dimensions. Topics include null handling, date logic, data format upgrades, and forgetting to push changes. The piece emphasizes the importance of good logging, colleague discussions, and reproducing issues with minimal cases.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/google-gemini/gemini-cli&quot; target=&quot;_blank&quot;&gt;gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google&apos;s open-source command-line AI workflow tool that can query and edit large codebases with support for over 1 million token context windows. It can generate new applications from PDFs or sketches, automate operational tasks like querying PRs or handling complex code merges, and connect to various tools and media generation capabilities through MCP servers. (33.8K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/nxtscape/nxtscape&quot; target=&quot;_blank&quot;&gt;nxtscape: Nxtscape is an open-source agentic browser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source AI agent browser with privacy-first design, serving as an alternative to Arc, Dia, and Perplexity Comet. You can use your own API keys or run local models through Ollama. (1K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/e-p-armstrong/augmentoolkit&quot; target=&quot;_blank&quot;&gt;augmentoolkit: Create Custom LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A data generation tool designed specifically for creating domain expert AI. Upload documents and generate fully trained custom LLMs with one click. Supports offline operation without external API keys, enabling AI to learn domain-specific knowledge and become subject matter experts. (1.6K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/microsoft/BitNet&quot; target=&quot;_blank&quot;&gt;BitNet: Official inference framework for 1-bit LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s open-source official inference framework for 1-bit large models, supporting fast lossless inference for models like BitNet b1.58. Achieves 1.37x to 5.07x speedup on ARM CPUs with 55.4% to 70.0% energy reduction, and 2.37x to 6.17x speedup on x86 CPUs with 71.9% to 82.2% energy reduction. Can run 100B parameter BitNet models on a single CPU at human reading speed. (20.3K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/LearningCircuit/local-deep-research&quot; target=&quot;_blank&quot;&gt;local-deep-research: AI-powered assistant for deep, iterative research&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI-powered research assistant that transforms complex questions into comprehensive cited reports, spanning diverse knowledge sources including academic databases, scientific repositories, web content, and private document collections. Features privacy-first design, flexible configuration, comprehensive analysis, and transparent citations with multiple research modes and advanced features. (3K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/TanixLu/pyfuze&quot; target=&quot;_blank&quot;&gt;pyfuze: Package Python projects into executables&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A tool for packaging Python projects into executables, built on cosmopolitan and uv. Offers three packaging modes: Bundle mode includes Python and all dependencies, Online mode generates compact cross-platform packages, and Portable mode creates standalone cross-platform executables. Supports macOS, Linux, and Windows platforms.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/AnswerDotAI/nbdev&quot; target=&quot;_blank&quot;&gt;nbdev: Create delightful software with Jupyter Notebooks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Write notebooks using lightweight markup and automatically generate high-quality documentation, tests, continuous integration, and packaging. Supports automatic documentation generation hosted on GitHub Pages, publishing to PyPI and conda, bidirectional sync between notebooks and source code, and Git-friendly notebook processing. (5.1K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/tadata-org/fastapi_mcp&quot; target=&quot;_blank&quot;&gt;fastapi_mcp: Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A library for exposing FastAPI endpoints as MCP tools with built-in authentication. Supports zero or minimal configuration, flexible deployment, direct communication with FastAPI apps using ASGI transport, and provides native dependency injection with unified infrastructure. (5.6K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/zhaochenyang20/Awesome-ML-SYS-Tutorial&quot; target=&quot;_blank&quot;&gt;Awesome-ML-SYS-Tutorial: My learning notes/codes for ML SYS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A collection of machine learning notes and code covering core topics like RLHF system development, SGLang learning, scheduling and routing, and distributed training. Includes in-depth source code analysis, practical experience sharing, and development guides—a quality resource for learning ML + SYS. (2.7K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/gavinkhung/machine-learning-visualized&quot; target=&quot;_blank&quot;&gt;machine-learning-visualized: ML algorithms implemented and derived from first-principles in Jupyter Notebooks and NumPy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Visual tutorials implementing and deriving machine learning algorithms from first principles using Jupyter Notebooks. Each algorithm includes complete mathematical derivations and training process visualizations, covering neural networks, logistic regression, perceptrons, PCA, K-means clustering, and gradient descent. Also provides Marimo-based interactive notebooks to observe how weights affect loss functions.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/vitali87/code-graph-rag&quot; target=&quot;_blank&quot;&gt;code-graph-rag: Search Monorepos and get relevant answers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A graph-based multi-language codebase retrieval-augmented generation system that uses Tree-sitter to parse code and build knowledge graphs. Enables natural language queries of codebase structure and relationships.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/Seanium/FeedMe&quot; target=&quot;_blank&quot;&gt;FeedMe: AI-powered RSS reader, deployable to GitHub Pages or with Docker&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight RSS reader that redefines the RSS reading experience with AI, supporting multi-source RSS aggregation, AI summary generation, scheduled update mechanisms, categorized browsing, and theme switching. Easily deployable to GitHub Pages or locally with Docker.&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.djangoproject.com/weblog/2025/jun/27/watch-the-djangocon-europe-2025-talks/&quot; target=&quot;_blank&quot;&gt;Watch the DjangoCon Europe 2025 talks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A curated list of high-quality talk videos from DjangoCon Europe 2025.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.bilibili.com/video/BV1TuKizyEPH&quot; target=&quot;_blank&quot;&gt;Add Features Without Touching Source Code!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares their library &quot;dowhen&quot; in development, which conveniently allows inserting callbacks before specific lines of code execute, helping with debugging or monkey-patching code you can&apos;t easily modify.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/108/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#107: GIL-Free Python Gets Official Approval</title><link>https://weekly.pythoncat.top/en/issues/107/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/107/</guid><description>Sharing 12 articles, 12 open-source projects, 2 audio/video items, 2 hot discussions</description><pubDate>Sat, 21 Jun 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #107: GIL-Free Python Gets Official Approval&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Every week I curate the best Python, AI, and tech content for you. This newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt;, so drop us a star if you dig it! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, 2 podcasts &amp;amp; videos, and 2 hot topics.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.lihil.cc/blog/design-patterns-you-should-unlearn-in-python-part1/&quot; target=&quot;_blank&quot;&gt;Design Patterns You Should Unlearn in Python-Part1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Many Java/C++ design patterns just don&apos;t vibe with Python&apos;s philosophy. The author compares traditional implementations of Singleton and Builder patterns with their Pythonic alternatives, showing how to leverage Python&apos;s module system, closures, and default parameters to write cleaner, more elegant code while dodging unnecessary complexity and potential pitfalls.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://pyfound.blogspot.com/2025/06/python-language-summit-2025.html&quot; target=&quot;_blank&quot;&gt;The Python Language Summit 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The annual gathering of Python core developers, diving deep into the game-changing free-threading revolution. The summit covered cutting-edge topics like concurrency race handling, fearless concurrency, and governance challenges, with special focus on multi-threading performance optimization and language evolution strategies.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://pyfound.blogspot.com/2025/06/python-language-summit-2025-state-of-free-threaded-python.html&quot; target=&quot;_blank&quot;&gt;State of Free-Threaded Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Core developer Matt Page presented the latest updates on free-threaded Python at the Language Summit, evaluating PEP 703&apos;s implementation across four key dimensions: performance, stability, maintainability, and adoption. Single-threaded performance overhead has dropped from 40% to under 10%, and the architectural design has proven its worth.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://occasionaldivergences.com/posts/python-intro/&quot; target=&quot;_blank&quot;&gt;An introduction to Python for R users&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A practical guide written by an author who switched from teaching R to Python, helping R users get up to speed quickly by contrasting the design philosophies and syntax differences between the two languages. It covers environment setup, data processing library choices, and the mental shift from functional to object-oriented programming.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://fromscratchcode.com/blog/how-global-variables-work-in-python-bytecode&quot; target=&quot;_blank&quot;&gt;How global variables work in Python bytecode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into how the Python virtual machine handles global variables, revealing the fundamental differences between global and local variables through bytecode analysis. The VM performs dynamic name resolution for globals rather than index-based access, and this extra layer of indirection is what makes Python&apos;s dynamic features possible.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.thepythoncodingstack.com/p/are-python-dictionaries-ordered-data&quot; target=&quot;_blank&quot;&gt;Are Python Dictionaries Ordered Data Structures?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Before Python 3.6, dictionaries were unordered. Starting with 3.6, they began preserving insertion order, but only as an implementation detail. From 3.7 onwards, insertion order became part of the official language spec. However, dictionary ordering doesn&apos;t affect equality comparisons—unlike sequences such as lists, dictionaries are fundamentally about key-value mapping.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://magazine.sebastianraschka.com/p/coding-the-kv-cache-in-llms&quot; target=&quot;_blank&quot;&gt;Understanding and Coding the KV Cache in LLMs from Scratch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;KV cache dramatically speeds up LLM inference by storing and reusing previously computed key-value vectors, eliminating redundant calculations. The article breaks down the redundant computation problem in attention mechanisms and provides complete Python code for implementing KV cache from scratch.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://www.bestblogs.dev/article/7d6305&quot; target=&quot;_blank&quot;&gt;Understanding Agent Implementation Through browser-use&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using the open-source browser-use project as a case study, this article dives deep into LLM Agent implementation principles and engineering practices. It dissects browser-use&apos;s architecture, including Agent Core, MessageManager, Memory, LLM Interface, Controller, and BrowserContext components and their interaction flows.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://pep-previews--4468.org.readthedocs.build/pep-0795/&quot; target=&quot;_blank&quot;&gt;PEP 795 – Deep Immutability in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A PEP draft proposing deep immutability mechanisms through a freeze() function that recursively freezes objects and all their referenced objects. This proposal tackles data integrity protection and thread-safe sharing issues, providing robust support for functional programming and concurrency optimization.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://bui.app/the-missing-manual-for-signals-state-management-for-python-developers&quot; target=&quot;_blank&quot;&gt;The Missing Manual for Signals: State Management for Python Developers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An introduction to using Signals for state management in Python, which solves dependency coordination issues in traditional state management through reactive programming. When state changes, it automatically triggers related updates without manual maintenance. This reactive mechanism prevents the common &quot;forgot to update X when Y changed&quot; problem.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://allthingsopen.org/articles/step-by-step-guide-python-elasticsearch-agno-agentic-ai-create-running-plan&quot; target=&quot;_blank&quot;&gt;Create your customized running plan: A step-by-step guide using Python, Elasticsearch, and Agno&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Learn how to build an AI running coach by parsing Apple Health XML data into Elasticsearch, then using the Agno framework to generate personalized four-week training plans. Finally, convert the Markdown-formatted plans into Notion pages for a complete data-driven fitness solution.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://austinhenley.com/blog/vowels.html&quot; target=&quot;_blank&quot;&gt;The fastest way to detect a vowel in a string&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article explores 11 different methods for detecting vowels in strings, with benchmarking and bytecode analysis revealing that regex performs best on long strings. It exposes how Python interpreter overhead significantly impacts performance and showcases CPython&apos;s regex engine optimization tricks using bitmap lookups.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/MiniMax-AI/MiniMax-M1&quot; target=&quot;_blank&quot;&gt;MiniMax-M1: the world&apos;s first open-weight, large-scale hybrid-attention reasoning model&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The world&apos;s first open-source large-scale hybrid attention reasoning model, featuring a mixture-of-experts architecture combined with lightning attention mechanisms. With 456 billion parameters and 45.9 billion activated per token, it natively supports 1 million token context length—8x that of DeepSeek R1. (1.8K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/pytoolz/toolz/&quot; target=&quot;_blank&quot;&gt;A functional standard library for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight library providing functional programming tools for Python, packed with utility functions for iterators, functions, and dictionary operations. (4.9K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/AlexanderCollins/TurboDRF&quot; target=&quot;_blank&quot;&gt;TurboDRF: The dead simple Django REST Framework API generator with role-based permissions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A dead simple Django REST Framework API generator—just add one mixin and method to your models to automatically generate complete REST APIs. Features role-based permissions, smart pagination, advanced filtering, full-text search, multi-field sorting, and more, all with zero boilerplate code.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/mebaadwaheed/winup&quot; target=&quot;_blank&quot;&gt;WinUp: A ridiculously Pythonic and powerful framework for building beautiful desktop applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modern Python desktop UI framework built on PySide6 with a declarative API. Features component-based architecture, reactive state management, hot reload development, built-in routing system, and more—making desktop app development simple and efficient.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/soma-smart/framefox&quot; target=&quot;_blank&quot;&gt;Framefox: Python web framework that makes development enjoyable&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modern Python web framework built on FastAPI with MVC architecture design. Integrates SQLModel for type-safe database operations, includes interactive CLI tools for rapid component generation, and supports Jinja2 templates, CSRF protection, hot reload, and more.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/yousef-rafat/miniDiffusion&quot; target=&quot;_blank&quot;&gt;miniDiffusion: A reimplementation of Stable Diffusion 3.5 in pure PyTorch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A pure PyTorch reimplementation of Stable Diffusion 3.5 designed for educational and experimental purposes. Implements all components from VAE to DiT in just ~2,800 lines of code, including multimodal diffusion transformers, flow matching schedulers, joint attention mechanisms, and other core features.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/deepankarm/pyleak&quot; target=&quot;_blank&quot;&gt;pyleak: Detect leaked asyncio tasks, threads, and event loop blocking with stack trace in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python resource leak detection tool inspired by Go&apos;s goleak. Detects leaked asyncio tasks, threads, and event loop blocking, providing detailed stack trace information.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/posit-dev/py-shiny/&quot; target=&quot;_blank&quot;&gt;Shiny for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Inspired by R&apos;s Shiny, this framework enables rapid creation of interactive visualizations and prototype applications. Unlike other data science frameworks, Shiny doesn&apos;t limit app growth and has the scalability to support large, mission-critical applications. (1.5K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/11cafe/jaaz&quot; target=&quot;_blank&quot;&gt;AI design agent, local alternative for Lovart&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A free local AI design agent tool serving as an alternative to Lovart. Features conversational image editing, infinite canvas creation, storyboard making, and supports multiple AI models including GPT-4O, Flux, Google Imagen, and more.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/FlareSolverr/FlareSolverr&quot; target=&quot;_blank&quot;&gt;FlareSolverr: Proxy server to bypass Cloudflare protection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A proxy server specifically designed to bypass Cloudflare and DDoS-GUARD protection. Uses Selenium and undetected-chromedriver to create browser instances that automatically solve Cloudflare challenges. (9.9K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Intelligent-Internet/ii-agent&quot; target=&quot;_blank&quot;&gt;ii-agent: a new open-source framework to build and deploy intelligent agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source intelligent agent framework designed to simplify and enhance multi-domain workflows. Provides CLI interface and WebSocket server support for modern React frontends, integrating multiple LLM providers including Anthropic Claude, Google Gemini, and more. (2.5K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/TapXWorld/ChinaTextbook&quot; target=&quot;_blank&quot;&gt;ChinaTextbook: Complete Collection of Chinese K-12 and University PDF Textbooks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This project aims to promote universal education and eliminate educational poverty between regions. It hopes overseas Chinese can help their children continue learning about domestic education. (40.3K stars)&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.bilibili.com/video/BV13nM4zAE9L&quot; target=&quot;_blank&quot;&gt;My PyCon Talk This Year: Discussing My First Completed PEP&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;@Gao Tian presents PEP-667 implementation at PyCon, which semantically distinguishes and organizes locals() and frame.f_locals, reducing many weird behaviors and making their functionality easier to understand while more powerful.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.youtube.com/watch?v=ucWdfZoxsYo&quot; target=&quot;_blank&quot;&gt;Program Your Own Computer in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Learn how to integrate Python with desktop environments, including task scheduling, message notifications, and developing desktop application scripts.&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://discuss.python.org/t/pep-779-criteria-for-supported-status-for-free-threaded-python/84319/123&quot; target=&quot;_blank&quot;&gt; PEP 779: Criteria for supported status for free-threaded Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Steering Committee approved PEP-779, which removes the &quot;experimental&quot; label from free-threaded builds in Python 3.14. This means free-threaded Python officially becomes a supported version.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.v2ex.com/t/1137123&quot; target=&quot;_blank&quot;&gt;Any convenient and user-friendly Python GUI frameworks?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/107/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#106: PEP 734 officially accepted, the era of multiple interpreters is coming</title><link>https://weekly.pythoncat.top/en/issues/106/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/106/</guid><description>Sharing 12 articles, 15 open-source projects</description><pubDate>Sat, 14 Jun 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #106: PEP 734 officially accepted, the era of multiple interpreters is coming&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Every week I curate the best Python, AI, and tech content for you. This newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt;, so drop us a star if you dig it! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re featuring 12 articles and 15 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://peps.python.org/pep-0734/&quot; target=&quot;_blank&quot;&gt;PEP 734: Multiple Interpreters in the Stdlib&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP-734 continues where PEP-554 left off and was officially accepted just days ago, making it into Python 3.14! It adds an interpreters module to the &lt;code&gt;concurrent&lt;/code&gt; standard library, officially supporting the creation and management of multiple interpreter instances within the same process. Each interpreter has its own independent GIL, enabling true parallel computing while avoiding the overhead and complexity of multiprocessing.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.sumsar.net/blog/pandas-feels-clunky-when-coming-from-r/&quot; target=&quot;_blank&quot;&gt;Why pandas feels clunky when coming from R&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When the author switched from R to Python, they found Pandas to be &quot;clunky.&quot; The post compares implementing the same data analysis task in R tidyverse versus Pandas, showcasing how R&apos;s pipeline operations feel smooth and natural, while Pandas has unintuitive method names and requires frequent handling of indexes, column renaming, and broken method chains - highlighting Pandas&apos; limitations.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.jetbrains.com/pycharm/2025/06/concurrency-in-async-await-and-threading&quot; target=&quot;_blank&quot;&gt;Faster Python: Concurrency in async/await and threading&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This JetBrains blog post dives deep into Python&apos;s two concurrency approaches: cooperative concurrency with async/await (perfect for I/O-heavy tasks) and preemptive concurrency with threading (ideal for CPU-intensive work). It also covers debugging concurrent code in PyCharm, showcasing its powerful debugging capabilities.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://dev.to/selvapal/a-deep-dive-into-crewai-and-agentic-design-46kj&quot; target=&quot;_blank&quot;&gt;A Deep Dive into CrewAI and Agentic Design&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author built an AI mock interview system using the CrewAI framework, where four agents collaborate to handle everything from company research to question generation and answer evaluation. It&apos;s a brilliant showcase of agent-based project design and the power of multi-agent collaboration.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.answer.ai/posts/2025-01-15-monsterui.html&quot; target=&quot;_blank&quot;&gt;MonsterUI: Bringing Beautiful UI to FastHTML&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Not familiar with HTML and CSS but want to build UIs with pure Python? This article introduces MonsterUI, built on FrankenUI and Tailwind CSS, enabling rapid frontend development in FastHTML projects. It offers semantic text styling, smart layout helpers, and common UI patterns - giving you responsive design and beautiful interfaces without writing CSS classes, dramatically boosting development efficiency.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://mp.weixin.qq.com/s/l5xLM8jDE9tOZfuJYcnQmA&quot; target=&quot;_blank&quot;&gt;Dewu&apos;s Community Data Generation Service Integrates with MCP&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dewu&apos;s tech team transformed their FastAPI-based data generation service into an intelligent tool supporting the MCP protocol, achieving rapid integration through the FastAPI-MCP framework with minimal code. The article demonstrates how to seamlessly integrate existing services into AI Agents, proving the massive potential of &quot;AI + protocolized tools&quot; in the testing domain.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://posit-dev.github.io/pointblank/blog/validation-libs-2025/&quot; target=&quot;_blank&quot;&gt;Data Validation Libraries for Polars (2025 Edition)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article provides an in-depth comparison of five Python data validation libraries that support Polars DataFrames: Pandera, Patito, Pointblank, Validoopsie, and Dataframely. Each library has unique strengths - Pandera excels at statistical validation, Patito offers Pydantic-style model validation, and Pointblank generates beautiful interactive reports.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://www.mikechambers.com/blog/post/2025-06-06-exploring-ai-integration-with-adobe-photoshop-indesign-and-premiere-pro/&quot; target=&quot;_blank&quot;&gt;Exploring AI Integration with Adobe Photoshop, InDesign and Premiere Pro&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author developed an adb-mcp project that lets AI clients control Adobe&apos;s three creative tools. Using a three-tier architecture with Python MCP server, Node command proxy, and UXP plugins, it automates everything from simple scripting tasks to complex creative workflows, showcasing AI&apos;s massive potential in creative tool pipelines.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://www.loopwerk.io/articles/2025/alpine-ajax-django/&quot; target=&quot;_blank&quot;&gt;Beyond htmx: building modern Django apps with Alpine AJAX&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article explores the trend of moving back from complex SPAs to server-side rendering, comparing htmx and Alpine AJAX approaches. Alpine AJAX enforces progressive enhancement, ensuring apps work even without JavaScript, while offering a smaller footprint and perfect integration with Alpine.js. It lets developers enjoy SPA smoothness with traditional MPA simplicity.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://406.ch/writing/django-javascript-modules-and-importmaps/&quot; target=&quot;_blank&quot;&gt;How I&apos;m using Django, JavaScript modules and importmaps together&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares practical experience using modern JavaScript modules and importmaps to manage frontend dependencies in Django projects, achieving native ES module support through the django-js-asset package. This approach solves Django&apos;s JavaScript module distribution pain points, supports cache invalidation, and eliminates complex bundling processes.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://diwank.space/field-notes-from-shipping-real-code-with-claude&quot; target=&quot;_blank&quot;&gt;Field Notes From Shipping Real Code With Claude&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares hands-on experience using Claude for code development, proposing three AI-assisted programming modes: playground mode for rapid prototyping, pair programming mode that builds context through documentation, and production mode requiring strict boundary controls. They also share how to ensure AI-generated code quality through Git workflows, code reviews, and strict boundary setting.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://dpdzero.com/blogs/fixing-fastapi-throughput-without-going-fully-async/&quot; target=&quot;_blank&quot;&gt;Fixing FastAPI Throughput Without Going Fully Async&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author&apos;s FastAPI production environment had throughput bottlenecks for years, and they finally discovered the root cause: FastAPI&apos;s default thread pool was too small (just 40). By converting all route handlers to sync functions and increasing the thread pool to 2000, they achieved a low-cost, low-risk solution that boosted per-node requests from 800 to 2000-3000 per minute.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/coleam00/Archon&quot; target=&quot;_blank&quot;&gt;Archon: AI Agent Builder&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The world&apos;s first &quot;agent engineer&quot; that can autonomously develop, optimize, and improve other AI agents. (4.9K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/haris-musa/excel-mcp-server&quot; target=&quot;_blank&quot;&gt;excel-mcp-server: A Model Context Protocol server for Excel file manipulation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An MCP-based Excel file manipulation server that creates, reads, and modifies Excel files without requiring Microsoft Excel installation. Supports data I/O, formatting styles, chart visualization, pivot tables, and more. Offers both stdio and SSE transport modes with seamless AI agent integration. (1.1K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/benavlabs/crudadmin&quot; target=&quot;_blank&quot;&gt;crudadmin: Modern admin interface for FastAPI with built-in authentication, event tracking, and security features&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A FastAPI admin interface generator built on FastCRUD and HTMX, providing secure authentication, event tracking, and monitoring capabilities. Supports multiple session backends with built-in CSRF protection, rate limiting, IP restrictions, and other security features. Generates admin interfaces from SQLAlchemy models with intelligent field detection, advanced filtering, and modern responsive UI.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/wey-gu/py-pglite&quot; target=&quot;_blank&quot;&gt;py-pglite: PGlite wrapper in Python for testing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python wrapper for PGlite that makes it easy to use real PostgreSQL in tests. No Docker, no configuration needed - starts up in 2-3 seconds with each test getting its own isolated database instance.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/openai/openai-agents-python&quot; target=&quot;_blank&quot;&gt;openai-agents-python: A lightweight, powerful framework for multi-agent workflows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;OpenAI&apos;s official lightweight multi-agent workflow framework supporting agent collaboration. Features built-in tracing and debugging, security safeguards, and compatibility with OpenAI API plus 100+ other LLMs. (11.4K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/Simpleyyt/ai-manus&quot; target=&quot;_blank&quot;&gt;ai-manus: AI Manus is a general-purpose AI Agent system&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides terminal, browser, file, and web search tools with each task getting its own isolated Docker sandbox environment. Supports session history management, task interruption recovery, simple deployment, and bilingual Chinese-English support.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/Alibaba-NLP/WebAgent&quot; target=&quot;_blank&quot;&gt;WebAgent: WebWalker [ACL2025] &amp;amp; WebDancer [Preprint]&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A WebAgent for information retrieval featuring WebWalker and WebDancer models. WebDancer is a native agent search reasoning model based on the ReAct framework, while WebWalker is a large language model web traversal benchmark. Supports multi-step complex reasoning, web traversal, information search, and Q&amp;amp;A capabilities. (1K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/nat-n/poethepoet&quot; target=&quot;_blank&quot;&gt;poethepoet: A task runner that works well with poetry or uv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A full-featured task runner supporting task declarations in pyproject.toml, capable of running commands, shell scripts, Python expressions, or functions. Features shell autocompletion, named arguments, environment variable references, task composition, and can be used as a standalone tool or poetry plugin. (1.7K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/deepsense-ai/ragbits&quot; target=&quot;_blank&quot;&gt;ragbits: Building blocks for rapid development of GenAI applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modular GenAI application development framework supporting 100+ LLM switching, type-safe LLM calls, and multiple vector database integrations. Features 20+ document format processing, distributed data ingestion, real-time monitoring, and chat interfaces for rapidly developing reliable and scalable RAG applications. (1.3K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/ZiYang-xie/WorldGen&quot; target=&quot;_blank&quot;&gt;WorldGen: Generate Any 3D Scene in Seconds&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful 3D scene generation tool that creates 3D scenes from text and images in seconds. Supports instant 3D generation, 360° free exploration, diverse indoor/outdoor scenes, and flexible rendering - perfect for game development, simulation, robotics, and VR applications.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/NanoNets/docext&quot; target=&quot;_blank&quot;&gt;docext: An on-premises, OCR-free unstructured data extraction, markdown conversion and benchmarking toolkit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A vision model-based document intelligence toolkit offering three core capabilities: PDF and image to Markdown conversion, OCR-free structured information extraction, and document processing performance benchmarking. Features LaTeX formula recognition, signature/watermark detection, table extraction, confidence scoring, and intelligent processing for various document types including invoices and passports.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/canopyai/Orpheus-TTS&quot; target=&quot;_blank&quot;&gt;Orpheus-TTS: Towards Human-Sounding Speech&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Llama-3B based text-to-speech system offering human-like natural intonation, zero-shot voice cloning, emotional tone control, and low-latency streaming output. (5K stars)&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://github.com/ali-vilab/VACE&quot; target=&quot;_blank&quot;&gt;VACE: All-in-One Video Creation and Editing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An all-in-one model for video generation and editing, supporting rich features like reference image-to-video generation, video editing, and masked video editing. (2.6K stars)&lt;/p&gt;
&lt;p&gt;14、&lt;a href=&quot;https://github.com/langchain-ai/langmem&quot; target=&quot;_blank&quot;&gt;langmem: LangMem helps agents learn and adapt from their interactions over time&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A memory management tool for agents providing conversation information extraction, agent behavior optimization, and long-term memory maintenance. Features core memory APIs for any storage system and native LangGraph integration, enabling agents to maintain consistent behavior across sessions.&lt;/p&gt;
&lt;p&gt;15、&lt;a href=&quot;https://github.com/mediar-ai/terminator&quot; target=&quot;_blank&quot;&gt;terminator: Automate desktop apps like a browser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Playwright-like desktop application automation SDK designed specifically for AI agents. Built on OS-level accessibility features for fast, reliable GUI automation across platforms, featuring 80ms UI scanning speed and compiled workflow optimization.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/106/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#105: Dify Breaks 100K Stars, Full-Stack Development Best Practices for 2025</title><link>https://weekly.pythoncat.top/en/issues/105/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/105/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 07 Jun 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #105: Dify Breaks 100K Stars, Full-Stack Development Best Practices for 2025&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Every week I curate the best Python, AI, and tech content for you. This newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt;, so drop us a star if you dig it! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re featuring 12 articles and 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://blog.miguelgrinberg.com/post/create-a-react-flask-project-in-2025&quot; target=&quot;_blank&quot;&gt;Create a React + Flask Project in 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A solid React + Flask tutorial that shows how to ditch the deprecated create-react-app for Vite when building React frontends. The author walks through modern project structure, virtual environment setup, and hot module reloading - basically everything you need for full-stack development best practices.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://406.ch/writing/how-i-m-bundling-frontend-assets-using-django-and-rspack-these-days/&quot; target=&quot;_blank&quot;&gt;How I&apos;m bundling frontend assets using Django and rspack these days&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What&apos;s the modern frontend bundling solution for Django projects? This dev shares their complete migration from Webpack to rspack, implementing hot module reloading, content hash caching, and production optimizations through configuration libraries and template tags. Solves all those common frontend asset bundling and deployment headaches.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://adamj.eu/tech/2025/05/30/python-unittest-common-tests/&quot; target=&quot;_blank&quot;&gt;Python: sharing common tests in unittest&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sharing common tests means centralizing test logic that&apos;s shared across multiple objects or classes into a base class or module. This article breaks down three implementation approaches: base class deletion, test class mixins, and pytest&apos;s __test__ attribute, analyzing the pros and cons of each.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://www.heroku.com/blog/local-speed-smooth-deploys-heroku-adds-support-uv/&quot; target=&quot;_blank&quot;&gt;Local Speed, Smooth Deploys: Heroku Adds Support for uv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Heroku just announced support for uv, the Rust-powered Python package manager that&apos;s way faster than traditional pip for dependency resolution and installation. The post reviews Python package management evolution and dives into uv&apos;s core advantages: lightning-fast installs, efficient dependency resolution, and compatibility with existing standards.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://blog.appsignal.com/2025/05/28/ways-to-optimize-your-code-in-python.html&quot; target=&quot;_blank&quot;&gt;Ways to Optimize Your Code in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Four solid Python performance optimization techniques: choosing better data structures (tuples are 6x faster than lists, dicts and sets have O(1) lookup), scope management (local variables are 50% faster than globals), list comprehensions and generator expressions, plus making the most of built-in functions and libraries.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://peps.python.org/pep-0794/&quot; target=&quot;_blank&quot;&gt;Import Name Metadata&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP 794 proposes adding an Import-Name field to Python package metadata to record the import names provided after project installation. This fixes the mismatch between project names and import names, helping IDEs accurately recommend packages and assisting with junk package detection.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://medium.com/ambient-innovation/how-to-split-up-a-django-monolith-without-using-microservices-e93759c606a7&quot; target=&quot;_blank&quot;&gt;How to split up a Django monolith without using microservices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author built django-queuebie to tackle Django monolith complexity through synchronous message queues implementing command and event patterns. It breaks down complex business logic into tiny independent message processors, supporting cross-boundary decoupling while avoiding microservices overhead.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://fromscratchcode.com/blog/how-local-variables-work-in-python-bytecode/&quot; target=&quot;_blank&quot;&gt;How local variables work in Python bytecode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author built Memphis, a Rust-based Python interpreter, and dives deep into how local variables work in bytecode - covering stack storage mechanisms for local variables and the bytecode compilation and execution process.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://www.kawabangga.com/posts/6980&quot; target=&quot;_blank&quot;&gt;Globally Disabling Foreign Keys in Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article explains foreign key benefits and why big company DBAs usually disable them (maintenance difficulties, performance impact, sharding limitations). It provides an efficient solution: inheriting Django&apos;s MySQL engine and setting &lt;code&gt;supports_foreign_keys = False&lt;/code&gt; to globally disable foreign key generation.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://softwaredoug.com/blog/2024/08/06/i-made-search-worse-elasticsearch&quot; target=&quot;_blank&quot;&gt;I made a worse search engine than Elasticsearch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares their experience building SearchArray to add full-text search to Pandas, discovering through BEIR benchmarks that it performed worse than Elasticsearch across the board. The post analyzes search engine optimization techniques, including how the WAND algorithm avoids unnecessary computations, differences between positional and traditional inverted indexes, and why real search engines achieve high performance.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://dev.to/jagroop2001/building-a-chat-with-pdfs-using-pinataopenai-and-streamlit-3jb7&quot; target=&quot;_blank&quot;&gt;Chat with your PDF using Pinata,OpenAI and Streamlit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you build an app that lets users upload PDFs and chat with the content? This tutorial uses Pinata for decentralized file storage, OpenAI API for natural language processing, and Streamlit for the UI to create a simple PDF chat application.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://peateasea.de/a-dinosaur-learns-poetry/&quot; target=&quot;_blank&quot;&gt;A dinosaur learns poetry&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author calls themselves a Python &quot;dinosaur&quot; for using Python since version 1.5 but only recently discovering Poetry for project dependency management. Covers setting up Poetry in existing projects, including installation via pipx, shell environment configuration and completion, plus the complete process of migrating requirements.txt projects to Poetry.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/langgenius/dify&quot; target=&quot;_blank&quot;&gt;dify: Dify is an open-source LLM app development platform&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dify just hit 100K stars! 🎉 This open-source project from a Chinese team integrates AI workflows, RAG pipelines, agents, model management, and observability through an intuitive interface, letting you go from prototype to production deployment fast. (101K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/paloaltodatabases/sequor&quot; target=&quot;_blank&quot;&gt;sequor: Sequor is a SQL-centric platform for building API integrations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A SQL-centric workflow platform for building reliable API integrations in modern data stacks. Supports YAML workflow definitions, Jinja or Python dynamic parameters, and SQL logic processing.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/timerring/bilive&quot; target=&quot;_blank&quot;&gt;bilive: Extremely fast live recording, automatic slicing, rendering, uploading and Integrating MLLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Blazingly fast Bilibili live stream recording with automatic slicing, bullet comment rendering, subtitle generation, and auto-upload to Bilibili. Integrates multiple modal models and works on ultra-low-spec machines. (2.5K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/coleam00/local-ai-packaged&quot; target=&quot;_blank&quot;&gt;local-ai-packaged: Run all your local AI together in one package - Ollama, Supabase, n8n, Open WebUI, and more!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Docker Compose template that bundles Ollama local LLMs, Open WebUI chat interface, n8n workflow platform, Supabase database, Flowise AI agent builder, Neo4j knowledge graph engine, and more components into a one-stop solution for self-hosted AI workflows. (1.8K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/microsoft/nlweb&quot; target=&quot;_blank&quot;&gt;NLWeb: Natural Language Web&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s open-source natural language web interaction platform that simplifies building conversational interfaces for websites. Native MCP protocol support and leverages structured formats like Schema.org for rapid conversational endpoint implementation. (4.9K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/zhaochen0110/OpenThinkIMG&quot; target=&quot;_blank&quot;&gt;OpenThinkIMG: OpenThinkIMG is an end-to-end open-source framework that empowers LVLMs to think with images&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Through flexible visual tool management, distributed tool deployment, and innovative V-ToolRL reinforcement learning, this framework enables AI agents to interactively use visual tools to decompose, analyze, and solve complex visual problems.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/adamritter/pageql&quot; target=&quot;_blank&quot;&gt;pageql: Embed SQL directly into HTML&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A template language and micro Python web framework that lets you embed SQL statements directly in HTML. Inspired by ColdFusion and HTMX, it supports reactive rendering with automatic updates when database data changes.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/HKUDS/AutoAgent&quot; target=&quot;_blank&quot;&gt;AutoAgent: Fully-Automated and Zero-Code LLM Agent Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A fully automated, highly autonomous development framework that creates and deploys LLM agents using just natural language. Shows excellent performance on GAIA benchmarks, rivaling OpenAI&apos;s Deep Research. (4.6K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/LMCache/LMCache&quot; target=&quot;_blank&quot;&gt;LMCache: Redis for LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Stores reusable text KV caches across GPU, CPU memory, local disk, and other locations to enable cache reuse for reduced latency and improved throughput. (1.3K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/davialabs/davia&quot; target=&quot;_blank&quot;&gt;davia: The easiest way to build apps from your Python code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A framework for quickly converting programs (especially AI agents and data-driven internal tools) into interactive web apps. Built on FastAPI with real-time streaming updates and automatic UI generation.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/breuleux/ovld&quot; target=&quot;_blank&quot;&gt;ovld: Advanced multiple dispatch for Python functions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A fast Python multiple dispatch library supporting type annotation-based function overloading. Unlike singledispatch, it supports dispatching on multiple parameters. Provides advanced features like variants, mixins, value-based dispatch, and keyword argument dispatch.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/ivnvxd/arc-export&quot; target=&quot;_blank&quot;&gt;arc-export: Export pinned Arc Browser tabs for importing bookmarks into other browsers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python script that converts Arc browser&apos;s pinned tabs into standard HTML bookmark files, solving Arc&apos;s lack of pinned tab export functionality. (Nearly 1K stars - didn&apos;t realize the demand was this huge!)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/105/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#104: Python Considering Adding Virtual Threads?</title><link>https://weekly.pythoncat.top/en/issues/104/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/104/</guid><description>Shared 12 articles, 12 open-source projects, 2 audio/video, 2 hot discussions.</description><pubDate>Sat, 31 May 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #104: Python Considering Adding Virtual Threads?&lt;/h1&gt;
&lt;p&gt;Hello, I&apos;m Python Cat. Welcome to the Python Trending Weekly, a weekly newsletter about Python, AI and general programming techniques, with the majority links in English and a small portion in Chinese.&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;intro&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://blog.edward-li.com/tech/comparing-pyrefly-vs-ty/&quot; target=&quot;_blank&quot;&gt;Pyrefly vs. ty: Comparing Python&apos;s Two New Rust-Based Type Checkers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Both Meta&apos;s Pyrefly and Astral&apos;s ty are Python type checking tools developed based on Rust, and they both appeared at this year&apos;s PyCon Typing Summit. The article introduces their differences in development background, design philosophy, technical features and performance.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://basisrobotics.tech/2025/05/26/python/&quot; target=&quot;_blank&quot;&gt;Single process, multiple interpreters, no GIL contention - pre-Python3.12&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to implement single-process multi-interpreter execution in Python versions before 3.12? The article introduces using dlopen and dynamic library loading mechanisms to bypass Python&apos;s single interpreter limitation. This approach allows the robotics framework Basis to run multiple Python instances in the same process space while avoiding GIL contention, providing an innovative architectural solution for high-performance robotics systems.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.djangoproject.com/weblog/2025/may/22/why-need-3rd-party-app-rest-api-with-django/&quot; target=&quot;_blank&quot;&gt;Why, in 2025, do we still need a 3rd party app to write a REST API with Django?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article from the official Django blog raises a question: Do we really need third-party libraries to build REST APIs with Django? It introduces how to use Django&apos;s built-in generic class views and form system to implement complete CRUD REST API functionality with less than 100 lines of code.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://engineering.fb.com/2025/05/15/developer-tools/introducing-pyrefly-a-new-type-checker-and-ide-experience-for-python/&quot; target=&quot;_blank&quot;&gt;Introducing Pyrefly: A new type checker and IDE experience for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Meta officially announced the alpha version of Pyrefly, which can perform type checking at a speed of 1.8 million lines of code per second, supporting IDE-first development experience and automatic type inference. The article explains why it was developed to replace Pyre, the principles behind it, and future development plans.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://thenewstack.io/python-pandas-ditches-numpy-for-speedier-pyarrow/&quot; target=&quot;_blank&quot;&gt;Python Pandas Ditches NumPy for Speedier PyArrow&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pandas is about to release version 3.0, which will use PyArrow to replace NumPy as the default engine for handling columnar data loading and reading. PyArrow provides columnar storage, supports Copy on Write mode, and has significant advantages in memory usage and reading speed.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://huggingface.co/blog/python-tiny-agents&quot; target=&quot;_blank&quot;&gt;Tiny Agents in Python: an MCP-powered agent in ~70 lines of code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hugging Face released &quot;Tiny Agents&quot;, which can enable large language models to call external tools and APIs through the MCP protocol, thereby achieving more powerful functionality. The article demonstrates its usage and powerful capabilities.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://codecut.ai/unified-dataframe-functions-pandas-polars-pyspark/&quot; target=&quot;_blank&quot;&gt;Narwhals: Unified DataFrame Functions for pandas, Polars, and PySpark&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Narwhals is a lightweight compatibility layer that unifies functions from mainstream DataFrame libraries like pandas, Polars, and PySpark, avoiding the complexity of writing separate code for each library and improving code portability and reusability.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://dynomight.net/dumpy/&quot; target=&quot;_blank&quot;&gt;DumPy: NumPy except it&apos;s OK if you&apos;re dum&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author proposes redesigning NumPy with loop and indexing syntax, solving the complexity of high-dimensional array operations by compiling loop syntax into vectorized operations. DumPy implements automatic vectorization based on JAX&apos;s vmap, allowing intuitive loop syntax to achieve GPU-accelerated performance, significantly reducing the cognitive burden of multi-dimensional array programming.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://eng.lyft.com/beyond-query-optimization-aurora-postgres-connection-pooling-with-sqlalchemy-rdsproxy-200db7f562d7&quot; target=&quot;_blank&quot;&gt;Beyond Query Optimization: Aurora Postgres Connection Pooling with SQLAlchemy &amp;amp; RDSProxy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lyft&apos;s engineering team shares their practical experience migrating from application-level connection pooling to AWS RDSProxy proxy connection pooling. It details the importance of connection pooling, SQLAlchemy configuration methods, and how RDSProxy solves the problem of connection number surge during application scaling.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.mostlypython.com/validating-a-new-project/&quot; target=&quot;_blank&quot;&gt;Validating a new project&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author open-sourced py-bugger, a tool that introduces specific types of bugs to assist in debugging education. He communicated face-to-face with other developers at PyCon&apos;s open spaces, discovered some new use cases and issues, emphasizing the importance of getting feedback through open spaces in the early stages of a project.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.stephendiehl.com/posts/post_transformers/&quot; target=&quot;_blank&quot;&gt;Attention Wasn&apos;t All We Needed&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces a series of important technical improvements that have emerged in the Transformer model field since the famous &quot;Attention Is All You Need&quot; paper was published. The author uses the PyTorch framework and concise code examples to explain the core ideas of 14 important technologies and how they improve model inference speed and memory efficiency.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://bernsteinbear.com/blog/pl-writing/&quot; target=&quot;_blank&quot;&gt;Writing that changed how I think about PL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares more than 10 articles in the field of programming languages and compilers that have had a significant impact on their thinking, including garbage collector implementation, optimizer instruction rewriting, abstract domains and Z3 usage, correctness proofs of register allocation, regular expression engines, automatic differentiation, SSA form implementation, and more.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://xiaobot.net/p/python_weekly&quot; target=&quot;_blank&quot;&gt;🐿️Projects &amp;amp; Resources&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/Fosowl/agenticSeek&quot; target=&quot;_blank&quot;&gt;agenticSeek: Fully Local Manus AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A 100% local alternative to Manus AI that supports voice, autonomous web browsing, code writing and task planning, with all data staying on local devices. (star 13.5K)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://codeberg.org/allauth/django-allauth&quot; target=&quot;_blank&quot;&gt;django-allauth: Integrated set of Django applications addressing authentication&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Django application suite that provides complete user authentication, registration, account management, and third-party social account authentication functionality. Supports multiple authentication schemes (username or email login), multiple account verification strategies, and integrates OAuth 1.0/2.0, OpenID Connect, SAML 2.0 and other protocols.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/XiaoYouChR/Ghost-Downloader-3&quot; target=&quot;_blank&quot;&gt;Ghost-Downloader-3: A cross-platform fluent-design AI-boost multi-threaded downloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A cross-platform multi-threaded downloader developed based on Python, adopting Fluent Design style, with AI intelligent acceleration functionality, IDM-style intelligent chunked downloading, browser extension support and plugin system, supporting Windows, macOS and Linux platforms. (star 2.6K)&lt;/p&gt;
&lt;p&gt;Beautiful downloader&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/perone/vectorvfs&quot; target=&quot;_blank&quot;&gt;vectorvfs: Your Filesystem as a Vector Database&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight Python package that converts Linux file systems into vector databases, storing vector embeddings directly outside files through VFS extended attributes, without requiring external indexes or database services.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/KwaiVGI/LivePortrait&quot; target=&quot;_blank&quot;&gt;LivePortrait: Bring portraits to life!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kuaishou&apos;s open-source portrait animation generation tool that supports efficient portrait animation creation, with stitching and redirection control functions, supporting portrait and animal modes, providing Gradio interface and one-click installation package. (star 15.5K)&lt;/p&gt;
&lt;p&gt;Bringing world famous paintings to life&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/pgmpy/pgmpy&quot; target=&quot;_blank&quot;&gt;pgmpy: Python Library for Causal and Probabilistic Modeling using Bayesian Networks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A professional Python causal and probabilistic modeling library based on Bayesian networks. Provides a complete set of probabilistic graphical model tools, suitable for machine learning and statistical analysis fields. (star 3K)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/MaiM-with-u/MaiBot&quot; target=&quot;_blank&quot;&gt;MaiBot: Cyber Netizen for Group Chat&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An interactive intelligent agent based on large models, focusing on group chat scenarios. Features intelligent conversation, real-time thinking, emotional expression, persistent memory and dynamic personality systems. (star 2.5K)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/microsoft/magentic-ui&quot; target=&quot;_blank&quot;&gt;magentic-ui: A research prototype of a human-centered web agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s open-source human-computer collaborative web agent research prototype that can automate web tasks while maintaining user control, supporting collaborative planning, collaborative execution, action protection, plan learning and parallel task execution. (star 4.7K)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/martin226/vibe-draw&quot; target=&quot;_blank&quot;&gt;vibe-draw: Turn your roughest sketches into stunning 3D worlds by vibe drawing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Converts rough hand-drawn sketches into beautiful 3D models. Supports free drawing, AI enhancement optimization, one-click 3D conversion, world building and model export functions. Developed based on Next.js, Three.js and FastAPI. (star 1.8K)&lt;/p&gt;
&lt;p&gt;Nice full-stack + AI project&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/airweave-ai/airweave&quot; target=&quot;_blank&quot;&gt;airweave: Airweave lets agents search any app&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This intelligent agent can connect various applications, productivity tools and databases, converting their content into searchable knowledge bases and providing services to agents through standardized interfaces. (star 2.5K)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/koaning/flowshow&quot; target=&quot;_blank&quot;&gt;flowshow: Just a super thin wrapper for Python tasks that form a flow&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides @task decorators to track and visualize function execution flows. Supports retry mechanisms, logging, context managers and interactive visualization interfaces.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/zeenolife/ai-baby-monitor&quot; target=&quot;_blank&quot;&gt;ai-baby-monitor: Local Video-LLM powered AI Baby Monitor&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An intelligent baby monitoring system based on local video large models that monitors in real-time through cameras, performs real-time analysis according to safety rules, and issues gentle reminder sounds when violations of safety rules are detected.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://xiaobot.net/p/python_weekly&quot; target=&quot;_blank&quot;&gt;🐢Podcasts &amp;amp; Videos&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/playlist?list=PL2Uw4_HvXqvb98mQjN0-rYQjdDxJ_hcrs&quot; target=&quot;_blank&quot;&gt;PyCon US 2025 Video List&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This year&apos;s PyCon US videos were released very early! See if there are any topics that interest you?&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.youtube.com/playlist?list=PL0MRiRrXAvRiSmPn_LDdhDbtZwu6g4xct&quot; target=&quot;_blank&quot;&gt;PyTexas 2025 Video List&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The PyTexas event in Texas, USA has released 21 presentation videos.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://xiaobot.net/p/python_weekly&quot; target=&quot;_blank&quot;&gt;🥂Discussions &amp;amp; Questions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;1、&lt;a href=&quot;https://discuss.python.org/t/add-virtual-threads-to-python/91403&quot; target=&quot;_blank&quot;&gt;Add Virtual Threads to Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python core developer Mark Shannon (yes, the proposer of Faster CPython, who was recently laid off by Microsoft) proposed the idea of adding virtual threads to Python, believing that virtual threads can handle concurrency better than async/await. The post introduces the advantages and implementation methods of this approach, sparking widespread discussion in the community.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1kok2e1/what_cpython_layoffs_taught_me_about_the_real/&quot; target=&quot;_blank&quot;&gt;What CPython Layoffs Taught Me About the Real Value of Expertise&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s layoffs of the CPython and TypeScript compiler teams triggered the author&apos;s deep thinking about the value of technical expertise. Should we focus on output rather than architecture, on impact rather than elegance? How to balance technical depth with business value?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://xiaobot.net/p/python_weekly&quot; target=&quot;_blank&quot;&gt;🐧 Past Reviews&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/issues/54/&quot; target=&quot;_blank&quot;&gt;Python Weekly #54: ChatTTS Powerful Text-to-Speech Model&lt;/a&gt; (2024.06.08)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/issues/4/&quot; target=&quot;_blank&quot;&gt;Python Weekly #4: Python 2023 Language Summit&lt;/a&gt; (2023.05.31)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/104/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#103: LlamaIndex&apos;s Monorepo Transformation</title><link>https://weekly.pythoncat.top/en/issues/103/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/103/</guid><description>Sharing 12 articles, 13 open-source projects, 2 audio/video items</description><pubDate>Sat, 24 May 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #103: LlamaIndex&apos;s Monorepo Transformation&lt;/h1&gt;
&lt;p&gt;x
This week we&apos;re sharing 12 articles, 13 open-source projects, and 2 audio/video resources.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.llamaindex.ai/blog/python-tooling-at-scale-llamaindex-s-monorepo-overhaul&quot; target=&quot;_blank&quot;&gt;Python Tooling at Scale: LlamaIndex&apos;s Monorepo Overhaul&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To tackle dependency tree issues across 650+ Python packages, the LlamaIndex team developed LlamaDev as a Pants replacement and introduced uv to replace Poetry, solving problems with slow build times, complex dependency management, and unstable CI.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://lwn.net/SubscriberLink/1020576/fcef31015579a9b1/&quot; target=&quot;_blank&quot;&gt;Recent disruptive changes from Setuptools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Early Setuptools versions treated hyphens and underscores in setup.cfg configuration file keys as equivalent, later adding deprecation warnings for hyphens. The recent 78.0.1 release turned deprecation into errors, affecting 12,000 packages...&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://openai.com/index/new-tools-and-features-in-the-responses-api/&quot; target=&quot;_blank&quot;&gt;New tools and features in the Responses API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;OpenAI has updated the Response API with new features including remote MCP server support, image generation, code interpreter, plus new capabilities like background mode, reasoning summaries, and encrypted reasoning.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://adamj.eu/tech/2025/05/20/python-quick-cprofile-recipe-pstats/&quot; target=&quot;_blank&quot;&gt;Python: a quick cProfile recipe with pstats&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A guide on efficiently analyzing Python script performance using cProfile and pstats command line, supporting various sorting methods and result saving. Demonstrates how to identify slow function calls through a Django database migration example.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://hugovk.dev/blog/2025/peps-and-co/&quot; target=&quot;_blank&quot;&gt;PEPs &amp;amp; Co&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores the origins of Python Enhancement Proposals (PEPs) - their background and naming rationale - and their influence on numerous open-source communities, listing similar proposal mechanisms across various open-source projects.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://buttondown.com/carlton/archive/how-we-make-decisions-in-django/&quot; target=&quot;_blank&quot;&gt;How we make decisions in Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A summary from the author&apos;s DjangoCon Europe 2025 talk, highlighting issues with Django&apos;s complex contribution process, lengthy feature discussion cycles, and strict code reviews. Suggests strengthening third-party ecosystems, reconsidering the &quot;batteries included&quot; philosophy, and exploring modular development.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://peps.python.org/pep-0791/&quot; target=&quot;_blank&quot;&gt;PEP 791 – imath — module for integer-specific mathematics functions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This PEP proposes introducing a new imath module in Python 3.15, specifically handling integer-related mathematical functions like combinations, factorials, and greatest common divisors, simplifying the math module&apos;s complexity and centralizing related functions.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://pythonspeed.com/articles/pydantic-json-memory/&quot; target=&quot;_blank&quot;&gt;Loading Pydantic models from JSON without running out of memory&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Loading a 100MB JSON file with Pydantic typically consumes up to 2000MB of memory! The author introduces two optimization strategies: using ijson for streaming parsing and dataclasses with slots. Combined, these can reduce memory usage to 450MB.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://wirtel.be/post/2025/05/20/2025-dsmtpd-version-1/&quot; target=&quot;_blank&quot;&gt;From script to version 1.0.0 — 12 years later&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author open-sourced a Python SMTP debugging tool in 2013, then suddenly received an amazing PR this year, prompting the project&apos;s 1.0.0 release. Even tiny open-source projects can have lasting impact - isn&apos;t that the magic of open source?&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.repoflow.io/blog/efficiently-mirror-the-entire-pypi-repository-with-bash&quot; target=&quot;_blank&quot;&gt;Efficiently Mirror the Entire PyPI Repository with Bash&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shows how to efficiently mirror the entire PyPI repository to a local directory using a Bash script, meeting Python package management needs in offline or high-security environments.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://bernsteinbear.com/blog/simple-search&quot; target=&quot;_blank&quot;&gt;A simple search engine from scratch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you build a simple search engine with Python? The author shares a detailed approach using Word2Vec embedding technology, covering vectorization, similarity calculations, and other technical details.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://www.thecoder.cafe/p/complex-systems&quot; target=&quot;_blank&quot;&gt;Working on Complex Systems: What I Learned Working at Google&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares insights on complex systems, summarizing five key characteristics (emergent behavior, delayed consequences, local vs. global optimization conflicts, lag effects, fuzzy boundaries) and several coping strategies (embracing uncertainty, building feedback mechanisms, encouraging collaboration and knowledge sharing).&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/bilibili/Index-anisora&quot; target=&quot;_blank&quot;&gt;Index-anisora: The Ultimate Open-Source Anime Video Generation Model&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bilibili&apos;s anime generation model - currently the most powerful open-source animation generation model. Generate various anime-style video clips with one click, including anime episodes, Chinese animation, manga adaptations, VTuber content, anime PVs, and MAD videos.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/SkyworkAI/DeepResearchAgent&quot; target=&quot;_blank&quot;&gt;DeepResearchAgent: DeepResearchAgent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A hierarchical multi-agent system designed for deep research tasks and general-purpose tasks. The framework uses top-level planning agents to coordinate multiple specialized bottom-level agents, enabling automated task decomposition and efficient execution across complex domains.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/browser-use/workflow-use&quot; target=&quot;_blank&quot;&gt;workflow-use: Create and run workflows (RPA 2.0)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From the Browser Use team - the simplest way to create and execute deterministic workflows, with fallback to Browser Use if steps fail. Create automated workflows based on a single screen recording. (2.7K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/happycola233/tchMaterial-parser&quot; target=&quot;_blank&quot;&gt;tchMaterial-parser: SmartEdu Textbook PDF Downloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A download tool for electronic textbooks from China&apos;s National Smart Education Platform. Supports batch downloads, automatic naming, cross-platform compatibility, and high-resolution adaptation. Simple operation with login support and visual download progress. (2.1K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/miyuchina/mistletoe&quot; target=&quot;_blank&quot;&gt;mistletoe: A fast, extensible and spec-compliant Markdown parser in pure Python.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A CommonMark-compliant Markdown parser implemented in pure Python. Fast, extensible, supporting multiple output formats and custom rendering - perfect for scenarios requiring Markdown conversion to HTML, LaTeX, and other formats.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/meta-llama/PurpleLlama&quot; target=&quot;_blank&quot;&gt;PurpleLlama: Set of tools to assess and improve LLM security.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Meta&apos;s PurpleLlama project aggregates various tools for enhancing large model security, including input/output content security detection, code security protection, malicious prompt injection defense, etc. Supports multiple languages and large context windows - ideal for developers and teams building security defenses for LLM applications. (2.8K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/icip-cas/PPTAgent&quot; target=&quot;_blank&quot;&gt;PPTAgent: Generating and Evaluating Presentations Beyond Text-to-Slides&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports generating structured, richly illustrated presentations from documents, with built-in multi-dimensional quality assessment tools, reference learning, and intelligent content analysis. (1.4K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/paddymul/buckaroo&quot; target=&quot;_blank&quot;&gt;buckaroo: The data table UI for Notebooks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Brings high-performance, infinitely scrollable data tables to Jupyter and other data analysis environments. Supports mainstream DataFrames like pandas and polars, with built-in sorting, searching, statistics, histograms, auto-cleaning, and low-code UI.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/awslabs/agent-squad&quot; target=&quot;_blank&quot;&gt;agent-squad: Flexible and powerful framework for managing multiple AI agents and handling complex conversations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For coordinating multiple AI agents to handle complex conversations, intelligently routing queries and maintaining context across different interactions. (5.8K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/OKUA1/juvio&quot; target=&quot;_blank&quot;&gt;juvio: UV kernel for Jupyter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A specially designed kernel for reusable, dependency-aware, and Git-friendly Jupyter Notebooks. Supports inline dependency management, automatic environment setup, and converts notebooks to script format for easy version control.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/microsoft/NLWeb&quot; target=&quot;_blank&quot;&gt;NLWeb: Natural Language Web&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dedicated to enabling websites to provide natural language conversation interfaces. Based on open protocols and schema.org semantic layers, supports natural interaction between humans and AI agents via MCP protocol, enabling websites to quickly achieve semantic access in the AI Web era. (2.8K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/giampaolo/pyftpdlib/&quot; target=&quot;_blank&quot;&gt;pyftpdlib: Extremely fast and scalable Python FTP server library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides high-level, portable interfaces for easily writing asynchronous FTP servers. Complete RFC-959 server implementation supporting FTPS, IPv6, Unicode filenames, and more. (1.7K stars)&lt;/p&gt;
&lt;p&gt;13、&lt;a href=&quot;https://www.thewayofcode.com/&quot; target=&quot;_blank&quot;&gt;The Way of Code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Claude team just released &quot;The Way of Code&quot; website, content inspired by the Tao Te Ching, incorporating philosophical reflections on programming. Each chapter features dynamic visuals that match the mood - incredibly creative.&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://talkpython.fm/episodes/show/506/ty-astrals-new-type-checker-formerly-red-knot&quot; target=&quot;_blank&quot;&gt;Episode #506 - ty: Astral&apos;s New Type Checker (Formerly Red-Knot)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Talk Python To Me podcast features Astral team members discussing their newly released ty type checker.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.xiaoyuzhoufm.com/episode/680691621f1db84a56c13cf8&quot; target=&quot;_blank&quot;&gt;Episode 216: The Golden Age of Indie Developers - Random Book Flipping&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AI has lowered the barriers to programming - everyone can achieve &quot;programming freedom&quot; with AI. Perhaps in the future, indie development will become a new lifestyle?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/103/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#102: Microsoft Lays Off Faster CPython Team</title><link>https://weekly.pythoncat.top/en/issues/102/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/102/</guid><description>Sharing 12 articles, 12 open-source projects, 2 audio/video items, 3 hot discussions</description><pubDate>Sat, 17 May 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #102: Microsoft Lays Off Faster CPython Team&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, 2 podcasts/videos, and 3 trending topics.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://labs.quansight.org/blog/free-threaded-one-year-recap&quot; target=&quot;_blank&quot;&gt;The first year of free-threaded Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Quansight team shares their achievements from the past year collaborating with Meta to advance GIL-free Python, including implementing support in numerous key packages (like NumPy, SciPy, etc.) and project tools, bringing multi-threading performance improvements to CPython 3.14.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://arxiv.org/pdf/2505.02346&quot; target=&quot;_blank&quot;&gt;An Empirical Study on the Performance and Energy Usage of Compiled Python Code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An academic paper studying the performance and energy consumption of eight Python compilers (like PyPy, Numba, Codon, etc.) compared to CPython. Results show compilation significantly improves speed, reduces energy consumption, and optimizes memory, with Codon, PyPy, and Numba achieving over 90% improvements, while Nuitka provides stable memory optimization.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://snarky.ca/unravelling-t-strings/&quot; target=&quot;_blank&quot;&gt;Unravelling t-strings&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Core developer Brett Cannon explains the t-string syntax in Python 3.14. It decomposes string templates into tuples of literals and expressions, allowing developers to customize expression processing logic. (Additional: &lt;a href=&quot;https://pythoncat.top/posts/2025-04-27-t-string&quot; target=&quot;_blank&quot;&gt;Detailed explanation of Python 3.14 t-strings&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://dynomight.net/numpy/&quot; target=&quot;_blank&quot;&gt;I don&apos;t like NumPy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A rant piece: NumPy is elegant and clear when handling simple arrays, but when working with complex multi-dimensional arrays, its API design is terrible and lacks intuitiveness.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://blog.dusktreader.dev/2025/05/13/introducing-typerdrive-develop-api-connected-typer-apps-at-lightspeed&quot; target=&quot;_blank&quot;&gt;Introducing Typerdrive: Develop API-Connected Typer Apps at Lightspeed&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Typerdrive is a library that extends Typer for developing CLI applications that communicate with APIs. By integrating configuration management, caching mechanisms, error handling, HTTP clients, and logging systems, it significantly simplifies the development process and enhances user experience.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.mistys-internet.website/blog/blog/2025/05/13/the-database-row-that-did-and-didnt-exist/&quot; target=&quot;_blank&quot;&gt;The Database Row That Did and Didn&apos;t Exist&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After upgrading to Django 5, the author encountered a strange database issue. The article shares the troubleshooting process, discovering the problem stemmed from discrepancies between Django model definitions and actual database schema, particularly primary key type mismatches causing empty querysets.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://last9.io/blog/python-performance-monitoring/&quot; target=&quot;_blank&quot;&gt;Essential Python Monitoring Techniques You Need to Know&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores key techniques for Python application performance monitoring, from basic CPU and memory monitoring to advanced distributed tracing. Shows how to collect critical metrics using tools like psutil and Prometheus, and use visualization to help developers quickly identify performance bottlenecks.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://decodingml.substack.com/p/engineer-python-projects-like-a-pro&quot; target=&quot;_blank&quot;&gt;Engineer Python projects like a PRO&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shares best practices for building production-grade Python projects, from project structure to modern toolchain usage. Examples include using uv, ruff, and other tools to improve development efficiency, achieving environment consistency through Docker. Particularly emphasizes experience in modular design, code organization, testing strategies, and deployment processes.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://kenschutte.com/x-glyph/&quot; target=&quot;_blank&quot;&gt;Did Musk steal his new X logo?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author used Python to analyze the SVG data of X company&apos;s new logo, comparing it with X characters from multiple fonts. Demonstrates the powerful capabilities of Python tools (like svg.path, matplotlib, and fontTools) in graphics processing and font analysis.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://attendi.nl/moving-all-our-python-code-to-a-monorepo-pytendi/&quot; target=&quot;_blank&quot;&gt;Moving all our Python code to a monorepo: pytendi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Attendi team shares challenges and solutions encountered when merging multiple Python projects into a monorepo. They adopted Polylith architecture, dividing code into components, bases, projects, and development sections. Through unified dependency management and simplified code sharing processes, they improved code reusability and development efficiency.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://juejin.cn/post/7433830412092801074&quot; target=&quot;_blank&quot;&gt;FastAPI Log Tracing: From Theory to Implementation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to implement log tracing in FastAPI projects, especially for distributed services? The article introduces generating unique trace identifiers through middleware, using contextvars to solve log confusion in concurrent requests, and finally combining loguru&apos;s log filters to dynamically populate trace information, achieving log tracing in distributed systems.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://read.engineerscodex.com/p/how-cursor-indexes-codebases-fast&quot; target=&quot;_blank&quot;&gt;How Cursor Indexes Codebases Fast&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cursor achieves efficient codebase indexing through Merkle trees. It first chunks code and calculates hash values, builds tree structures, then syncs with servers. This design allows Cursor to quickly identify changed files, uploading only modified parts, significantly reducing bandwidth consumption. It ensures code security through path obfuscation and local storage, making team collaboration more efficient.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/bytedance/deer-flow&quot; target=&quot;_blank&quot;&gt;deer-flow: a community-driven Deep Research framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A community-driven deep research framework that combines language models with specialized tools like web search, content scraping, and Python code execution, while giving back to the community. (10.1K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/codeflash-ai/codeflash/tree/main&quot; target=&quot;_blank&quot;&gt;codeflash: Optimize your code automatically with AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI code optimization tool designed specifically for Python developers, automatically improving code performance while ensuring functional correctness. Already used by teams from well-known projects like Pydantic, Langflow, and Albumentations.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/D4Vinci/Scrapling&quot; target=&quot;_blank&quot;&gt;Scrapling: An undetectable, powerful, flexible, high-performance Python library to make Web Scraping Easy and Effortless&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A high-performance Python web scraping library supporting multiple selectors (CSS, XPath, regex, etc.), automatic similar element location, and intelligent content extraction features. (5.2K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/commaai/openpilot&quot; target=&quot;_blank&quot;&gt;openpilot: An operating system for robotics&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A driver assistance system supporting over 300 vehicle models, providing complete autonomous driving solutions including lane keeping, adaptive cruise control, and other features. (53.8K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/evroon/bracket&quot; target=&quot;_blank&quot;&gt;bracket: Selfhosted tournament system&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A tournament management system based on FastAPI and Next.js, supporting various formats like single elimination, round-robin, and Swiss tournaments. Features drag-and-drop match scheduling, multi-stage tournament structures, team management, multi-club support, etc. Supports Docker deployment and multiple languages. (1.1K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/henryalps/OpenManus&quot; target=&quot;_blank&quot;&gt;OpenManus: Open-source Manus AI agent replication&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source project dedicated to replicating Manus AI agent capabilities, supporting multi-agent collaboration to autonomously complete complex tasks like travel planning, data analysis, and content generation. Uses modular and containerized design, integrating various tools like web browsing and code execution.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/dymmond/asyncmq&quot; target=&quot;_blank&quot;&gt;asyncmq: Supercharge your async applications with tasks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Based on asyncio and anyio, supports multiple backends (Redis, Postgres, MongoDB), providing advanced features like delayed tasks, scheduled tasks, error retry, and dead letter queues. Built-in rate limiting and concurrency control, supports task progress reporting and event hooks, seamlessly integrates with ASGI frameworks like FastAPI.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/Alibaba-NLP/ZeroSearch&quot; target=&quot;_blank&quot;&gt;ZeroSearch: Incentivize the Search Capability of LLMs without Searching&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An innovative framework open-sourced by Alibaba DAMO Academy that enhances large models&apos; search capabilities through reinforcement learning without actually calling search engines. Uses simulated search for training, gradually improving model reasoning capabilities through curriculum learning mechanisms.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/asgeirtj/system_prompts_leaks&quot; target=&quot;_blank&quot;&gt;system_prompts_leaks: Collection of leaked system prompts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Collects leaked system prompts from multiple mainstream large models, including latest versions of ChatGPT, Claude, Gemini, Grok, and other models. Very valuable for researching large models&apos; internal mechanisms and developing related applications. (4.6K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/pirxthepilot/wtfis&quot; target=&quot;_blank&quot;&gt;wtfis: Passive hostname, domain and IP lookup tool for non-robots&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A beautiful command-line tool that integrates multiple OSINT services (like Virustotal, Shodan, Greynoise, etc.) to collect information about domains, FQDNs, and IPs. Supports various data sources including malware detection, geolocation, open ports, and other information. (1.5K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Flexget/Flexget&quot; target=&quot;_blank&quot;&gt;FlexGet: Multipurpose automation tool for content&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Powerful content automation tool supporting processing of torrents, newsgroups, podcasts, comics, TV shows, movies, and other content types. Obtains content through RSS feeds, HTML pages, CSV files, search engines, and other sources, providing a rich plugin system. (1.8K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/GiorgosXou/TUIFIManager&quot; target=&quot;_blank&quot;&gt;TUIFIManager: A cross-platform terminal-based file manager&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A file manager for terminals, particularly suitable for use in Termux environments. Supports Vim-style shortcuts, provides basic functions like file copying, moving, renaming, as well as advanced features like file search and property viewing. Supports custom themes, shortcuts, and commands. (748 stars)&lt;/p&gt;
&lt;h2&gt;🐢 Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.bilibili.com/video/BV1N2EkzoEa5&quot; target=&quot;_blank&quot;&gt;【PyCon】Faster CPython Team, Gone!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This year&apos;s PyCon has begun, but devastating news has spread throughout the Python community: Microsoft laid off 3 core developers from the Faster CPython team, including the project&apos;s proposer. Python&apos;s creator Guido is also on this team but wasn&apos;t laid off.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://creators.spotify.com/pod/profile/corepy/episodes/Beta-Frenzy-e32fe2m&quot; target=&quot;_blank&quot;&gt;Beta Frenzy，core.py&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Before the beta release of Python 3.14, two core developer hosts discussed some of the major new features.&lt;/p&gt;
&lt;h2&gt;🥂 Discussions &amp;amp; Issues&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1kmwdbu/microsoft_layoffs_hit_faster_cpython_team/&quot; target=&quot;_blank&quot;&gt;Microsoft layoffs hit Faster CPython team, including technical lead Mark Shannon&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.v2ex.com/t/1131666&quot; target=&quot;_blank&quot;&gt;Besides Cython and Pyarmor, how else can Python protect source code?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.v2ex.com/t/1129060&quot; target=&quot;_blank&quot;&gt;Big tech colleagues, how do you troubleshoot production issues?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/102/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#101: Why Do We Need t-string When We Have f-string?</title><link>https://weekly.pythoncat.top/en/issues/101/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/101/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 10 May 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #101: Why Do We Need t-string When We Have f-string?&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles and 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://pythoncat.top/posts/2025-05-08-python-3.14&quot; target=&quot;_blank&quot;&gt;Python 3.14 New Features Overview - What&apos;s Been Updated?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14 has entered feature freeze with many updates. Which ones deserve special attention? This article comprehensively reviews the changes in this version: lazy evaluation of type hints, brand new tail-call interpreter, experimental JIT compiler, non-intrusive debugging interface, REPL syntax highlighting, template strings, Zstandard compression, and more.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://iscinumpy.dev/post/python-314/&quot; target=&quot;_blank&quot;&gt;Python π&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Another overview of Python 3.14&apos;s main features. Compared to the previous share, it also introduces many smaller feature changes, making it good for comparative reading. Additionally, it&apos;s worth noting that the blogger has also published new feature overviews for all major versions since Python 3.7.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://iqbalabdullah.net/en/posts/2025/03/the-final-pycon-apac/&quot; target=&quot;_blank&quot;&gt;Goodbye PyCon APAC: A New Chapter Begins&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Reviews the 15-year development journey of PyCon APAC (PyCon Asia-Pacific Organization) since its founding in Singapore in 2010. The community has now been renamed to Python Asia Organization (PAO), and the article explains the reasons and related plans. (Additional: PyCon JP member commentary, &lt;a href=&quot;https://www.bilibili.com/video/BV1P6VzziEbE&quot; target=&quot;_blank&quot;&gt;What Does PAO Mean for Japan&apos;s Python Community?&lt;/a&gt;) (Shared by @NoHeartPen)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://www.alexmolas.com/2025/04/09/semantic-unit-testing.html&quot; target=&quot;_blank&quot;&gt;Semantic Unit Testing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An innovative testing approach: having large models analyze whether code conforms to documentation descriptions. The author&apos;s suite library (Semantic UnIt TEsting) can discover potential issues by analyzing function code and documentation comments without actually running the code.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://dev.indooroutdoor.io/asyncio-demystified-rebuilding-it-from-scratch-one-yield-at-a-time&quot; target=&quot;_blank&quot;&gt;Asyncio Demystified: Rebuilding it From Scratch One Yield at a Time&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides an in-depth yet accessible explanation of Python asynchronous programming&apos;s underlying principles, building a simplified version of Asyncio step by step. Through minimal code, it recreates Asyncio&apos;s core mechanisms, helping readers thoroughly understand the &quot;magic&quot; behind await.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://reinforcedknowledge.com/python-project-management-and-packaging-pep-751-update-and-some-of-the-remaining-issues-of-packaging/&quot; target=&quot;_blank&quot;&gt;Python Project Management and Packaging: PEP 751 update&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces the latest developments in Python dependency management, particularly the PEP 751 standard lock file format. The article explains in detail the necessity of lock files, the characteristics of pylock.toml and the problems it solves, and explores some remaining challenges in Python packaging, such as native dependencies and accelerator dependency packages.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.boristhebrave.com/2025/05/07/fiddling-weights-with-temperature/&quot; target=&quot;_blank&quot;&gt;Fiddling Weights with Temperature&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces a simple yet useful weight adjustment technique in AI: using temperature parameters to control random selection. Temperature of 1 maintains original weights, less than 1 favors high-weight items, and greater than 1 tends toward uniform distribution.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://eugeneyan.com//writing/news-agents/&quot; target=&quot;_blank&quot;&gt;Building News Agents with MCP, Q, and tmux&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author developed a news summary agent based on MCP and Amazon Q CLI, supporting parallel processing and automatic summarization. Uses tmux to manage multiple processes, with each sub-agent responsible for a portion of news sources, and a main agent finally integrating to generate daily news.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://judoscale.com/blog/scaling-python-task-queues&quot; target=&quot;_blank&quot;&gt;Scaling Python Task Queues Effectively&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores Python task queue scalability issues, comparing the characteristics of Redis and RabbitMQ as message middleware. Also introduces two strategies: vertical scaling (increasing resources for individual workers) and horizontal scaling (increasing worker count), along with best practices for scaling Celery and RQ.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://ichard26.github.io/blog/2025/04/whats-new-in-pip-25.1/&quot; target=&quot;_blank&quot;&gt;What&apos;s new in pip 25.1 - Dependency groups!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;pip 25.1 brings several important updates: support for PEP 735 dependency group management; new package installation progress bars; support for resumable downloads; and support for generating PEP 751 standard lock files. Additionally, starting from this version, Python 3.8 is no longer supported.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.lilyf.org/posts/django-template-quirks/&quot; target=&quot;_blank&quot;&gt;Quirks in Django&apos;s template language&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author is rewriting Django&apos;s template engine in Rust and discovered several interesting edge cases: scientific notation doesn&apos;t support negative exponents, the upper filter is unsafe for HTML entities, and exception handling in if tags leads to counterintuitive results.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://techbeamers.com/python-code-quality-tools/&quot; target=&quot;_blank&quot;&gt;Top Python Code Quality Tools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces a Python code quality toolchain: static analysis (Pylint, Flake8, Bandit), code formatting (Black, isort), type checking (Mypy, Pytype), security scanning (Safety, Snyk), test coverage (Coverage.py), performance profiling (cProfile), etc.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/astral-sh/ty&quot; target=&quot;_blank&quot;&gt;ty: An extremely fast Python type checker and language server, written in Rust.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From Astral team (creators of Ruff and uv), finally bringing the Rust wind to static type checking tools! Currently pre-release and still in active development. (4.2K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/xming521/WeClone&quot; target=&quot;_blank&quot;&gt;WeClone: Create Digital Avatars Using WeChat Chat Records&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses WeChat chat records to fine-tune large language models, giving the model &quot;that flavor,&quot; and binds it to a chatbot to create your own digital avatar. (3.3K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/hanshuaikang/AI-Media2Doc&quot; target=&quot;_blank&quot;&gt;AI-Media2Doc: Convert Audio/Video to Xiaohongshu/WeChat Articles/Knowledge Notes/Mind Maps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AI-based audio-video to graphic content creation assistant, with Vue-developed web frontend for local deployment without login registration. Supports multiple document styles including Xiaohongshu/WeChat articles/knowledge notes/mind maps/content summaries.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/stanford-mast/blast&quot; target=&quot;_blank&quot;&gt;blast: Browser-LLM Auto-Scaling Technology&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Adds AI web browsing capabilities to your applications, compatible with OpenAI API providing concurrent and streaming processing, with automatic caching and parallelization to reduce costs.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/shcherbak-ai/contextgem&quot; target=&quot;_blank&quot;&gt;contextgem: ContextGem: Effortless LLM extraction from documents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Extracts structured data and insights from text and images with minimal code, supporting neural segmentation, concurrent IO processing, nested context extraction, multilingual support, etc.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/zhiyiYo/Fluent-M3U8&quot; target=&quot;_blank&quot;&gt;Fluent-M3U8: A cross-platform m3u8/mpd downloader based on PySide6 and QFluentWidgets.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Based on PySide6 and QFluentWidgets development, with clean and user-friendly GUI, compatible with M3U8 and MPD videos, multi-threaded M3U8 downloading, download task management. (1K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/yinkaisheng/Python-UIAutomation-for-Windows&quot; target=&quot;_blank&quot;&gt;Python-UIAutomation-for-Windows: Python 3 wrapper of Microsoft UIAutomation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Wraps Microsoft&apos;s UIAutomation interface for automating various Windows desktop applications with Python scripts, including MFC, Windows Form, WPF, Modern UI (Metro UI), Qt, IE, Firefox, Chrome, and Electron-based applications. (2.9K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/YaoFANGUK/video-subtitle-extractor&quot; target=&quot;_blank&quot;&gt;video-subtitle-extractor: Extract Hard-Coded Subtitles from Videos, Generate SRT Files&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Localized video hard-subtitle extraction tool that automatically detects subtitle regions and recognizes subtitle content without relying on third-party online OCR services. Supports watermark removal, logo removal, duplicate subtitle removal, and GPU acceleration. (7.2K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/ernestofgonzalez/epub-utils&quot; target=&quot;_blank&quot;&gt;epub-utils: A Python library and CLI tool for inspecting ePub from the terminal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python-written EPUB processing tool for parsing and inspecting EPUB e-books from the terminal. Supports parsing and validating metadata like titles, authors, identifiers, and can highlight XML content.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/vkbo/novelWriter&quot; target=&quot;_blank&quot;&gt;novelWriter: novelWriter is an open source plain text editor designed for writing novels.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python-developed plain text editor that organizes and manages long novels by splitting them into multiple small documents, using Markdown-like minimal markup syntax with extended metadata annotations, synopsis, and cross-reference features. Supports multiple platforms (Linux, Windows, MacOS). (2.4K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/peterbrittain/asciimatics&quot; target=&quot;_blank&quot;&gt;asciimatics: Cross-platform Text UI &amp;amp; ASCII Animation Library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Develops full-screen text interfaces and ASCII animations, supporting colored text, cursor control, keyboard and mouse input, window adaptation, screen capture, plus rich animation effects, image-to-ASCII conversion, form controls, and other advanced features. Suitable for command-line tools, interactive forms, retro-style animations, etc. (4K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://drive.google.com/file/d/1AbaBYbEa_EbPelsT40-vj64L-2IwUJHy/view&quot; target=&quot;_blank&quot;&gt;Google&apos;s Prompt Engineering White Paper&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An online PDF document &quot;Prompt Engineering&quot; from Google&apos;s prompt engineering white paper.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/101/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#100: How to Run Python in Production?</title><link>https://weekly.pythoncat.top/en/issues/100/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/100/</guid><description>Sharing 12 articles, 12 open-source projects, 1 audio/video item</description><pubDate>Sat, 03 May 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #100: How to Run Python in Production?&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, and 1 podcast/video.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://pythoncat.top/posts/2025-04-27-t-string&quot; target=&quot;_blank&quot;&gt;Python 3.14 t-string is Coming - How Does It Differ from f-string?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why design t-string when Python already has f-string? This article explains the reasoning behind PEP-750&apos;s t-string design and serves as a comprehensive t-string tutorial, covering basic use cases and several advanced techniques.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://brandonchinn178.github.io/posts/2025/04/26/debugging-python-fstring-errors/&quot; target=&quot;_blank&quot;&gt;Debugging Python f-string errors&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author encountered an interesting bug: &lt;code&gt;f&quot;{x}&quot;&lt;/code&gt; threw a TypeError, but &lt;code&gt;str(x)&lt;/code&gt; worked fine. The article walks through the debugging process, analyzing the underlying mechanics of f-string string interpolation, ultimately discovering it was an issue with the Temporal workflow orchestration engine.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.manjusaka.blog/posts/2025/04/26/3-14-is-one-of-the-best-python-version/&quot; target=&quot;_blank&quot;&gt;Python 3.14: A Giant Leap for the Python World&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores Python 3.14&apos;s major improvements in the debugging ecosystem. PEP-768 allows users to remotely inject debugging code into a Python process, enabling debugging tools to perform non-intrusive debugging and observation of Python processes in better ways.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://peps.python.org/pep-0790/&quot; target=&quot;_blank&quot;&gt;PEP 790 – Python 3.15 Release Schedule&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.15&apos;s development and release schedule has been announced: 17-month development cycle starting June 6, 2025, alpha 1 release on October 14, 2025, beta 1 on May 5, 2026, and final release on October 1, 2026.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.zachbellay.com/posts/djangocon-eu-2025&quot; target=&quot;_blank&quot;&gt;Takeaways from DjangoCon EU 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares insights from attending this year&apos;s DjangoCon, including database optimization tips, performance testing methods, network algorithm adjustments, query analysis techniques, multiple practical tools, and best practices.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.revsys.com/tidbits/how-to-add-blazing-fast-search-to-your-django-site-with-meilisearch/&quot; target=&quot;_blank&quot;&gt;How to Add Blazing Fast Search to Your Django Site with Meilisearch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces how to integrate Meilisearch into Django projects for efficient full-text search functionality. Covers configuring Meilisearch with Docker, defining search schemas with Pydantic, and implementing automatic and batch index updates through custom model methods and Django management commands.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.runpyxl.com/gpio&quot; target=&quot;_blank&quot;&gt;PyXL - GPIO Benchmark&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces PyXL, a custom processor that can execute Python code directly at the hardware level - no VM, no interpreter, no JIT, no C language. GPIO loops take only 480 nanoseconds, 30x faster than MicroPython, with a 50x advantage when normalized for clock speed.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://technicalwriting.dev/ml/gn.html&quot; target=&quot;_blank&quot;&gt;Automating code deletion with Gemini (and a little Python)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shares how to efficiently use Gemini 2.0 Flash for code generation/refactoring, achieving automated deletion of over 200 GN build files. Discusses leveraging AI and regular scripts in hybrid approaches for tedious coding tasks.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.trailofbits.com/2025/05/01/making-pypis-test-suite-81-faster/&quot; target=&quot;_blank&quot;&gt;Making PyPI&apos;s test suite 81% faster&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Describes how they systematically optimized Warehouse&apos;s (the backend powering PyPI) test suite, reducing execution time from 163 seconds to 30 seconds while growing the test count from 3,900 to over 4,700.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://adamj.eu/tech/2025/05/01/python-type-hints-mixin-classes/&quot; target=&quot;_blank&quot;&gt;Python type hints: mixin classes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to add type hints to Python mixin classes? The article introduces solutions for two scenarios: base class inheritance and protocol definition, improving type safety and maintainability of mixin classes.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.mostlypython.com/remember-the-walrus-operator/&quot; target=&quot;_blank&quot;&gt;Remember the walrus operator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Are you familiar with the walrus operator (PEP-572) introduced in Python 3.8? When should you use it, what benefits does it bring, and how does it impact code readability?&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://www.wired.com/story/how-software-engineers-coders-actually-use-ai/&quot; target=&quot;_blank&quot;&gt;How Software Engineers Actually Use AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A survey report published by Wired, surveying 730 developers to understand how they use AI chatbots at work, usage frequency, and how they evaluate AI. AI is changing programming work but is far from replacing programmers.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/facebook/pyrefly&quot; target=&quot;_blank&quot;&gt;pyrefly: A fast type checker and IDE for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Meta&apos;s Python type checking tool in development, planned to completely replace Pyre by the end of 2025. Built with Rust, aiming to improve performance and provide new features like generating typed ASTs.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/going-doer/Paper2Code&quot; target=&quot;_blank&quot;&gt;Paper2Code: Automating Code Generation from Scientific Papers in Machine Learning&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A multi-agent LLM system that automatically converts papers into code. Follows a three-stage process: planning, analysis, and code generation, with each stage handled by specialized agents. (1K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/aayushgauba/aiwaf/tree/main&quot; target=&quot;_blank&quot;&gt;aiwaf: An Adaptive AI‑Powered Web Application Firewall for Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can perform anomaly detection, block suspicious IPs, prevent UUID tampering, block honeypot field exploitation, and continuously improve through daily retraining based on logs.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/microsoft/picologging&quot; target=&quot;_blank&quot;&gt;picologging: An optimized logging library for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s open-source Python logging library, 4-17x faster than the standard library&apos;s &lt;code&gt;logging&lt;/code&gt; module.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/Agentfy-io/Agentfy/tree/main&quot; target=&quot;_blank&quot;&gt;Agentfy: Agentfy is a modular microservices architecture&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modular, multi-agent coordination system designed specifically for automating tasks in social media, with deep integration for TikTok, Instagram, YouTube, X, Quora, WhatsApp, and other platforms.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/kjkoeller/glyphx&quot; target=&quot;_blank&quot;&gt;glyphx: A next-gen Python plotting library with SVG-first rendering&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An alternative to &lt;code&gt;matplotlib.pyplot&lt;/code&gt; with SVG-based interactive charts, providing clean, high-quality rendering.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/temporalio/sdk-python&quot; target=&quot;_blank&quot;&gt;sdk-python: Temporal Python SDK&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open-source distributed, scalable workflow orchestration engine supporting self-hosted and cloud service deployment, with persistent execution, automatic retry mechanisms, and secure one-way connections.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/CZ-NIC/mininterface&quot; target=&quot;_blank&quot;&gt;mininterface: A minimal interface to Python application (GUI, TUI, CLI, web)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automatically generates GUI, TUI, and CLI through simple code without manually writing interface code. Automatically handles configuration file reading and parsing, simplifying configuration management.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/airspeed-velocity/asv&quot; target=&quot;_blank&quot;&gt;asv: A simple Python benchmarking tool with web-based reporting&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A tool for benchmarking Python packages throughout their entire lifecycle, with results displayed as an interactive web frontend.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/jupyter/nbdime&quot; target=&quot;_blank&quot;&gt;nbdime: Tools for diffing and merging of Jupyter notebooks.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Jupyter&apos;s official open-source tool providing structured diff and merge functionality for Jupyter Notebooks. (2.7K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/QwenLM/Qwen3&quot; target=&quot;_blank&quot;&gt;Qwen3: the large language model series developed by Qwen team, Alibaba Cloud.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Alibaba&apos;s latest open-source large model, pioneering dynamic switching between &quot;fast thinking (non-reasoning mode)&quot; and &quot;slow thinking (deep reasoning mode)&quot;, with mathematical reasoning capabilities surpassing GPT-4 and other models. (20K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/MoonshotAI/Kimi-Audio&quot; target=&quot;_blank&quot;&gt;Kimi-Audio: an open-source audio foundation model excelling in audio understanding, generation, and conversation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Moonshot AI&apos;s open-source general audio foundation model, trained on 13 million hours of diverse audio data, achieving multiple SOTA performance breakthroughs in speech recognition, audio understanding, and generation tasks. (3.3K stars)&lt;/p&gt;
&lt;h2&gt;🐢 Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/watch?v=dVnNc9oEnF8&quot; target=&quot;_blank&quot;&gt;Python Decorators Considered Harmful&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This video reveals concerning aspects of Python decorators, as they can break code type safety, hide function dependencies, and make debugging difficult.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/100/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#99: t-string Syntax Officially Accepted!</title><link>https://weekly.pythoncat.top/en/issues/99/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/99/</guid><description>Sharing 12 articles, 12 open-source projects, 2 audio/video items, 2 hot discussions</description><pubDate>Sat, 26 Apr 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #99: t-string Syntax Officially Accepted!&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, 2 podcasts/videos, and 2 trending topics.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://ashishb.net/programming/python-in-production-2/&quot; target=&quot;_blank&quot;&gt;How to run Python in production&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares practical experience running Python in production environments, covering multiple aspects including improving project quality, ensuring maintainability, and operational deployment.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://blog.cnbang.net/tech/4241/&quot; target=&quot;_blank&quot;&gt;Browser Use Analysis - Why Could a Small Project Raise $17 Million?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Browser Use is a recent viral star project - a pure technical open-source project by two people with 8,000 lines of core code that raised $17 million! What exactly did it do, and why is it worth so much?&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.djangoproject.com/weblog/2025/apr/18/admin-theme-roundup/&quot; target=&quot;_blank&quot;&gt;Django Admin Theme Roundup 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shares some Django Admin themes: Dracula, Daisy, django-jazzmin, django-admin-kubi, django-jet-reboot, django-semantic-admin, Simple UI, Grapelli, django-admin-interface, Unfold.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://jonathan.protzenko.fr/2025/04/18/python.html&quot; target=&quot;_blank&quot;&gt;15,000 lines of verified cryptography now in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces the journey of Python adopting the verified HACL cryptography library. The author proposed replacing Python&apos;s hash implementation in 2022 due to SHA3 vulnerabilities, and after 2.5 years of effort, Python&apos;s default hash and HMAC algorithms are now provided by HACL.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://ohadravid.github.io/posts/2025-04-19-frank/&quot; target=&quot;_blank&quot;&gt;Frankenstein&apos;s &lt;code&gt;__init__&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Inspired by last week&apos;s article suggesting not to write &lt;code&gt;__init__&lt;/code&gt; methods, this author shares an extreme &lt;code&gt;__init__&lt;/code&gt; case they wrote, explaining why the code had errors.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://blog.trailofbits.com/2025/04/18/sneak-peek-a-new-asn.1-api-for-python/&quot; target=&quot;_blank&quot;&gt;Sneak peek: A new ASN.1 API for Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python is about to introduce a new ASN.1 API that improves performance with a pure Rust parser, reduces discrepancy risks by sharing parsers with PyCA Cryptography, and enhances usability with a dataclass-style interface.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://nedbatchelder.com/blog/202504/regex_affordances.html&quot; target=&quot;_blank&quot;&gt;Regex affordances&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shares a case study of using regular expressions for text manipulation, introducing several practical features like enabling verbose mode for better readability, capturing text through named groups, and optimizing matching logic with non-capturing groups.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://www.bitecode.dev/p/the-next-big-thing-in-python&quot; target=&quot;_blank&quot;&gt;The next big thing in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author reflects on the wonderful journey of Python&apos;s evolution over 30+ years while pondering how Python should develop and face challenges in the future. The author calls for simplifying program distribution and improving mobile platform development experience.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.dusktreader.dev/2025/04/06/bootstrapping-python-projects-with-copier/&quot; target=&quot;_blank&quot;&gt;Bootstrapping Python projects with copier&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces how to use the Copier tool to generate Python project templates with one click, integrating README, LICENSE, project structure, dynamic configuration, CI workflows, and other basic configurations for automated project scaffolding.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://death.andgravity.com/ptpe&quot; target=&quot;_blank&quot;&gt;ProcessThreadPoolExecutor: when I‍/‍O becomes CPU-bound&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores the problem of encountering CPU bottlenecks when handling I/O-intensive tasks in Python, and proposes a solution combining multithreading and multiprocessing: using thread pools in multiple processes to fully utilize CPU resources, solving the problem of high single-thread CPU usage.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://zacharyhuang.substack.com/p/llm-agent-internal-as-a-graph-tutorial&quot; target=&quot;_blank&quot;&gt;LLM Agents are simply Graph — Tutorial For Dummies&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do AI agents work? The article explains in an accessible way, revealing that agents are actually directed graphs composed of nodes, branches, and loops, and demonstrates with code how to define nodes, build, and execute an agent.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://mp.weixin.qq.com/s/-9Feb31tvo-598XTIAG1xw&quot; target=&quot;_blank&quot;&gt;10,000-Word Deep Dive: Conversations with 50 Google Executives Reveal Google&apos;s &quot;AI Catch-Up Journey&quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A story about Google&apos;s journey from the crisis triggered by ChatGPT&apos;s release to re-establishing AI leadership, featuring detailed recollections from 50+ employees/executives, showcasing Google&apos;s turbulent two-year period, the trade-offs and decisions made.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/nari-labs/dia&quot; target=&quot;_blank&quot;&gt;dia: A TTS model capable of generating ultra-realistic dialogue in one pass&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This week&apos;s super hot project - a text-to-speech model with only 1.6B parameters that can generate highly realistic dialogue, including laughter, coughing, throat clearing, etc. (11K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/microsoft/ai-agents-for-beginners&quot; target=&quot;_blank&quot;&gt;ai-agents-for-beginners: 10 Lessons to Get Started Building AI Agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s open-source agent beginner course, teaching you to develop an AI agent from scratch. Includes Chinese translation. (17.2K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/manzt/juv?featured_on=pythonbytes&quot; target=&quot;_blank&quot;&gt;juv: Create, manage, and run Jupyter notebooks with their dependencies&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A reproducible Jupyter notebook toolkit powered by uv, supporting PEP-723.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/mslaursen/fastapi-forge&quot; target=&quot;_blank&quot;&gt;fastapi-forge: A UI Based FastAPI Project Generation tool.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Visually define database models through a UI interface, select services to integrate, and quickly generate complete containerized projects with tests and APIs.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/huangjunsen0406/py-xiaozhi&quot; target=&quot;_blank&quot;&gt;py-xiaozhi: Python version of Xiaozhi AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Xiaozhi voice client implemented in Python, aimed at learning through code and experiencing AI Xiaozhi&apos;s voice features without hardware requirements. (1.1K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://speakerdeck.com/blueswen/quan-fang-wei-qiang-hua-python-fu-wu-ke-guan-ce-xing-yi-fastapi-he-grafana-stack-wei-li&quot; target=&quot;_blank&quot;&gt;Comprehensive Enhancement of Python Service Observability: Using FastAPI and Grafana Stack as Examples&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Presentation materials from a talk at PyCon Taiwan 2024.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/arrobalytics/django-ledger&quot; target=&quot;_blank&quot;&gt;django-ledger: a double entry accounting system and financial analysis engine built on the Django Web Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A financial management system developed using the Django Web framework, supporting double-entry bookkeeping, hierarchical chart of accounts, financial statements, purchase orders, financial ratio calculations, account management, OFX/QFX file imports, etc. (1.1K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/LeapLabTHU/cooragent&quot; target=&quot;_blank&quot;&gt;cooragent: AI agent collaboration community&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A community of agents where you can create powerful agents with one sentence, freely combine with other agents, and collaborate to complete complex tasks.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/The-Pocket/Tutorial-Codebase-Knowledge&quot; target=&quot;_blank&quot;&gt;Tutorial-Codebase-Knowledge: Turns Codebase into Easy Tutorial with AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses AI to analyze GitHub codebases and create beginner-friendly tutorials with clear visual diagrams, explaining in detail how the code works. (5.9K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/PySpur-Dev/pyspur&quot; target=&quot;_blank&quot;&gt;pyspur: A visual playground for agentic workflows: Iterate over your agents 10x faster&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A project for AI engineers that provides visual workflows to more efficiently develop, test, and deploy AI agents. (4.7K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/D-Ogi/WatermarkRemover-AI&quot; target=&quot;_blank&quot;&gt;WatermarkRemover-AI: AI-Powered Watermark Remover using Florence-2 and LaMA Models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses Microsoft&apos;s Florence-2 model to precisely detect watermarks and the LaMA model to erase watermarks and naturally fill in the areas. Provides CLI and PyQt6-based graphical interface.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/lmnr-ai/index&quot; target=&quot;_blank&quot;&gt;index: SOTA Open-Source Browser Agent for autonomously performing complex tasks on the web&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An agent for web automation that supports multiple large models, intelligently operates web elements, customizes browser settings, and provides real-time session updates with operation recording. (1.8K stars)&lt;/p&gt;
&lt;h2&gt;🐢 Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://creators.spotify.com/pod/profile/corepy/episodes/Episode-21-A-Garbage-Episode-e31lbg6&quot; target=&quot;_blank&quot;&gt;Episode 21: A Garbage Episode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;core.py podcast episode 21, diving deep into CPython garbage collection topics. Other topics include: whether to do type checking on the standard library itself, free-threading development progress, http.server HTTPS support, etc.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.latent.space/p/mcp&quot; target=&quot;_blank&quot;&gt;The Creators of Model Context Protocol&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&quot;Latent Space: The AI Engineer Podcast&quot; episode featuring the creators of MCP (Model Context Protocol), discussing the protocol&apos;s origins, challenges, and future development.&lt;/p&gt;
&lt;h2&gt;🥂 Discussions &amp;amp; Issues&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.v2ex.com/t/1117471&quot; target=&quot;_blank&quot;&gt;Python group project, what should we build?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What to build for a graduate course project, and how to make it innovative?&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.v2ex.com/t/1119771&quot; target=&quot;_blank&quot;&gt;What tech stack to use for developing mini-programs now?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/99/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#98: CUDA Finally Adds Native Python Support!</title><link>https://weekly.pythoncat.top/en/issues/98/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/98/</guid><description>Sharing 12 articles, 12 open-source projects, 2 audio/video items</description><pubDate>Sat, 19 Apr 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #98: CUDA Finally Adds Native Python Support!&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, and 2 podcasts/videos.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://peps.python.org/pep-0750&quot; target=&quot;_blank&quot;&gt;PEP 750 – Template Strings&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP-750 has been accepted and will be merged into Python 3.14! It proposes introducing t-strings that return a Template type instead of a string, suitable for custom string processing, web templates, DSLs, and other scenarios while avoiding security issues like SQL injection and XSS attacks. (Also: &lt;a href=&quot;https://www.cnblogs.com/hiyms/p/-/python-pep750-cn&quot; target=&quot;_blank&quot;&gt;PEP750 Template Strings Chinese Translation&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://peps.python.org/pep-0787/&quot; target=&quot;_blank&quot;&gt;PEP 787 – Safer subprocess usage using t-strings&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This PEP proposes extending the &lt;code&gt;subprocess&lt;/code&gt; and &lt;code&gt;shlex&lt;/code&gt; modules to support template strings (t-strings), enabling safer and more convenient execution of shell commands with interpolation.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.fxn.ai/python-at-the-speed-of-rust/&quot; target=&quot;_blank&quot;&gt;Python at the Speed of Rust&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces how to compile Python code to native code, achieving performance close to Rust. Uses CPython&apos;s frame evaluation API to implement symbolic tracing, builds IR graphs, and then progressively lowers IR graphs to platform-specific native code.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://jvns.ca/blog/2014/08/12/what-happens-if-you-write-a-tcp-stack-in-python/&quot; target=&quot;_blank&quot;&gt;What happens if you write a TCP stack in Python?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to develop a simple TCP protocol stack using Python and scapy? The article analyzes the TCP three-way handshake process, implements its interaction mechanism through code, and demonstrates Python&apos;s speed limitations in network communication.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://blog.edward-li.com/tech/advanced-python-features&quot; target=&quot;_blank&quot;&gt;14 Advanced Python Features&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article shares 14 advanced Python features with examples, including type overloading, generics, pattern matching, advanced f-strings, proxy properties, metaclasses, and more.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://lukasatkinson.de/2024/python-cpu-caching/&quot; target=&quot;_blank&quot;&gt;Is Python Code Sensitive to CPU Caching?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python doesn&apos;t support controlling memory layout of data structures - does this mean CPU caching has no impact on Python performance? After testing, the author found that random list access is 1.2-1.5 times slower than sequential access, indicating that cache optimization applies to interpreted languages as well.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://lrt.one/posts/use-polars-in-2025/&quot; target=&quot;_blank&quot;&gt;Use polars in 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author recommends using polars in data analysis projects because it offers better performance, more intuitive API design, and a more unified type system. The author also mentions two shortcomings of polars.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://labs.quansight.org/blog/duckdb-when-used-to-frames_part2&quot; target=&quot;_blank&quot;&gt;Mastering DuckDB when you&apos;re used to pandas or Polars: part 2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The second part of a series introducing how to translate dataframe operations into SQL, including filtering with window functions, expression composition, and nested data types.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.glyph.im/2025/04/stop-writing-init-methods.html&quot; target=&quot;_blank&quot;&gt;Stop Writing &lt;code&gt;__init__&lt;/code&gt; Methods&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Recommends avoiding writing &lt;code&gt;__init__&lt;/code&gt; methods to prevent redundancy, testing difficulties, and inflexibility issues. The author suggests using &lt;code&gt;dataclass&lt;/code&gt; to auto-generate &lt;code&gt;__init__&lt;/code&gt;, using &lt;code&gt;classmethod&lt;/code&gt; as object factories, and strengthening type constraints through &lt;code&gt;NewType&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.paulox.net/2025/04/11/maps-with-django-part-3-geodjango-pillow-and-gps/&quot; target=&quot;_blank&quot;&gt;Maps with Django⁽³⁾: GeoDjango, Pillow &amp;amp; GPS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces how to extract GPS information from images using the Django web framework, GeoDjango module, and Pillow image library, then create web maps with images.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.polarsparc.com/xhtml/MCP.html&quot; target=&quot;_blank&quot;&gt;Quick Primer on Model Context Protocol (MCP)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides an accessible introduction to Model Context Protocol (MCP), demonstrating environment setup, practical operations using Python for MCP, and integration applications with other tools.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://oilbeater.com/2025/03/14/deepseek-from-llm-to-r1/&quot; target=&quot;_blank&quot;&gt;From DeepSeek LLM to DeepSeek R1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The first part of a series attempting to trace DeepSeek&apos;s step-by-step exploration journey (DeepSeek LLM -&amp;gt; DeepSeek MoE -&amp;gt; DeepSeek V2 -&amp;gt; DeepSeek V3 -&amp;gt; DeepSeek R1), showcasing DeepSeek&apos;s unique approach to technical route selection and model optimization.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/google/A2A&quot; target=&quot;_blank&quot;&gt;A2A: Protocol for agent-to-agent communication and interoperability&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google&apos;s latest open-source Agent2Agent protocol, enabling seamless communication and collaboration between agents implemented in different frameworks. (12K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://gitlab.com/mbryant/functiontrace&quot; target=&quot;_blank&quot;&gt;FunctionTrace: Graphical Python performance profiler&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Quickly see everything your program is doing without modifying any code. Integrates Firefox Profiler and supports multiple analysis views including stack charts, flame graphs, and call trees.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/roshanlam/Spider&quot; target=&quot;_blank&quot;&gt;Spider: Web Crawler built using asynchronous Python and distributed task management&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A web crawler designed specifically for efficient distributed crawling and data extraction, built with asynchronous I/O, robust logging, plugin architecture, and Celery&apos;s distributed task processing.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/oomol-lab/pdf-craft&quot; target=&quot;_blank&quot;&gt;pdf-craft: Convert scanned PDFs to other formats&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Focuses on converting scanned book PDF files to various other formats. Extracts main text while filtering out headers, footers, footnotes, page numbers, and other elements, using algorithms to handle cross-page continuity issues. (2.1K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/microsoft/mineworld&quot; target=&quot;_blank&quot;&gt;mineworld: A Real-time interactive world model on Minecraft&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s newly open-sourced interactive world model based on Minecraft, featuring high generation quality, powerful controllability, and fast inference speed.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/crestalnetwork/intentkit&quot; target=&quot;_blank&quot;&gt;intentkit: An open and fair framework for everyone to build AI agents equipped with powerful skills&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports multi-agent systems, autonomous agent management, blockchain integration, social media integration (Twitter and Telegram), extensible skill systems, and extensible plugin systems. (6.1K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/capsize-games/airunner&quot; target=&quot;_blank&quot;&gt;airunner: Graphical tool for running large models locally&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Local AI chat tool requiring no complex configuration, usable for AI conversations and text generation, image generation and editing, text-to-speech, and speech-to-text.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/TylerHillery/pypacktrends&quot; target=&quot;_blank&quot;&gt;pypacktrends: Compare Python package download volumes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A website project that can search and view Python download trend charts, supporting comparative viewing of multiple packages&apos; download trends.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/NVIDIA/cuda-python&quot; target=&quot;_blank&quot;&gt;cuda-python: Performance meets Productivity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A toolkit for Python operations with CUDA, containing multiple related component packages. (2.3K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/dgo8/convert-markdown&quot; target=&quot;_blank&quot;&gt;convert-markdown: Convert Markdown to HTML/PDF and other formats&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports converting Markdown to HTML, PDF, DOCX, and PPTX, supports executing code blocks and rendering plots. Uses LLM output to create beautiful reports with charts.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/xlwings/xlwings&quot; target=&quot;_blank&quot;&gt;xlwings: Python and Excel calling each other&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports calling Python from Excel and vice versa. Supports Excel on Windows and MacOS, as well as Google Sheets and web-based Excel. (3.1K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/hxu296/tariff/tree/main&quot; target=&quot;_blank&quot;&gt;tariff: Make import great again...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A purely satirical library mocking America&apos;s arbitrary import tariffs. It can set &quot;tariffs&quot; required for importing certain libraries (like numpy), with the effect of extending import time when importing these libraries... (2.2K stars)&lt;/p&gt;
&lt;h2&gt;🐢 Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/playlist?list=PLIuxSyKxlQrBo176Is4wP2F6UCB0yEkWO&quot; target=&quot;_blank&quot;&gt;Conf42 Python 2025: Video Collection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A video collection from &quot;Conf42 Python&quot; with 50+ videos available.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.youtube.com/watch?v=_-zhMzwpSOQ&quot; target=&quot;_blank&quot;&gt;Jupyter&apos;s Architecture Unpacked&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video guests are two Jupyter contributors and project leaders, discussing topics including: How does Jupyter work? How did they develop an interactive language execution engine?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/98/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#97: What Exactly is MCP?</title><link>https://weekly.pythoncat.top/en/issues/97/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/97/</guid><description>Sharing 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sat, 12 Apr 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #97: What Exactly is MCP?&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, and 2 trending topics.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://thenewstack.io/nvidia-finally-adds-native-python-support-to-cuda/&quot; target=&quot;_blank&quot;&gt;NVIDIA Finally Adds Native Python Support to CUDA&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;NVIDIA has implemented native Python support in the CUDA toolkit, elevating Python to first-class citizen status. Developers no longer need to understand C/C++ to use the CUDA toolkit more conveniently.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://adamj.eu/tech/2025/04/07/django-whats-new-5.2/&quot; target=&quot;_blank&quot;&gt;Django: what&apos;s new in 5.2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django 5.2 has been released! The article details multiple new features and improvements: automatic model imports, composite primary key support, form customization, content negotiation, template block tags, URL generation improvements, testing optimizations, and more.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://emilygorcenski.com/post/owning-my-own-data-part-1-integrating-a-self-hosted-calendar-solution/&quot; target=&quot;_blank&quot;&gt;Owning My Own Data: Self-hosted Calendar Solutions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author wants to break free from dependence on services like Google Calendar by taking control of personal calendar data through self-hosted solutions. The article covers the exploration process from CalDAV to iCalendar, using Python to implement calendar data format conversion.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://www.pythonguis.com/examples/pyside6-desktop-sticky-notes&quot; target=&quot;_blank&quot;&gt;Build a Desktop Sticky Notes Application with PySide6 &amp;amp; SQLAlchemy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This tutorial provides detailed instructions on developing a desktop sticky notes application using PySide6 and SQLAlchemy, implementing borderless draggable notes, multi-note management, custom note styling, and system tray integration.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://peps.python.org/pep-0784/&quot; target=&quot;_blank&quot;&gt;PEP 784 – Adding Zstandard to the standard library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A draft PEP proposing to add a new standard library with Meta&apos;s zstd library as the default implementation. Zstandard provides high compression ratios and fast decompression, superior to zlib and bzip2.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://testdriven.io/blog/django-admin-celery&quot; target=&quot;_blank&quot;&gt;Running Background Tasks from Django Admin with Celery&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to handle long-running tasks in Django projects? How to integrate Celery with Django? How to trigger tasks from Django admin and get real-time task status?&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://textual.textualize.io/blog/2024/12/12/algorithms-for-high-performance-terminal-apps/&quot; target=&quot;_blank&quot;&gt;Algorithms for high performance terminal apps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Textual project author shares technical details on implementing high-performance graphical user interfaces in terminals, including solving multi-window overlap issues, quickly determining which windows are in visible areas, and optimizing terminal app rendering speed.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://eli.thegreenplace.net/2025/reproducing-word2vec-with-jax&quot; target=&quot;_blank&quot;&gt;Reproducing word2vec with JAX&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;word2vec is a model for generating word embeddings. The article details how to reimplement it using JAX.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://eugeneyan.com/writing/recsys-llm/&quot; target=&quot;_blank&quot;&gt;Improving Recommendation Systems &amp;amp; Search in the Age of LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How have recommendation systems and search technologies evolved in today&apos;s LLM era? The article discusses industry developments in search and recommendation systems over the past year, covering model architectures, data generation, training paradigms, and unified frameworks.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://dmodel.ai/nullability-gentle&quot; target=&quot;_blank&quot;&gt;Inside the CodeBot: A Gentle Introduction to How LLMs Understand Nullability&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can large models correctly understand null values? This is crucial for code generation. The article introduces how to evaluate models&apos; understanding of null values through model outputs and internal states, showing the impact of model training and code context on large models.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://dev.to/snappytuts/pythons-most-banned-scripts-getting-you-blacklisted-55n4&quot; target=&quot;_blank&quot;&gt;Python&apos;s Most Banned Scripts: Getting You Blacklisted?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why are some Python libraries blocked by cloud service providers? Why are Scrapy, BeautifulSoup, Selenium and other libraries identified as high-risk? How do bot developers deal with these restrictions?&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://susam.net/elliptical-python-programming.html&quot; target=&quot;_blank&quot;&gt;Elliptical Python Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;--(...==...)&lt;/code&gt; equals 1, &lt;code&gt;--(...==...)--(...==...)&lt;/code&gt; equals 2. Using this, you can write a long string to represent &quot;hello, world&quot;, but this obscure code is a satire of over-pursuing tricks while ignoring readability.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/lmgame-org/GamingAgent&quot; target=&quot;_blank&quot;&gt;lmgameGamingAgent: Computer gaming agents that run on your PC and laptops.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Aims to provide an easy-to-deploy Computer Use Agent (CUA) solution that can run on PCs and personal laptops.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/antoniorodr/memo&quot; target=&quot;_blank&quot;&gt;memo: Manage your Apple Notes and Reminders&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A simple command-line tool developed in Python for managing Apple Notes and Apple Reminders, creating, searching, and organizing your notes from the terminal.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/leminlimez/Nugget&quot; target=&quot;_blank&quot;&gt;Nugget: Unlock the fullest potential of your device&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A tool for iOS 17.0 to 18.1.1 devices that unlocks hidden device features through vulnerabilities (enabling Dynamic Island, device spoofing, dynamic wallpapers and AOD, etc.), and disables unnecessary system services. (2.5K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/stephengpope/no-code-architects-toolkit&quot; target=&quot;_blank&quot;&gt;no-code-architects-toolkit: Integrate common APIs into free APIs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports audio transcription, multi-language translation, adding subtitles to videos, and can perform complex media processing, suitable for content creation. It also supports cross-cloud file management, including Google Drive, Amazon S3, Google Cloud Storage, and Dropbox.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/lwthiker/curl-impersonate&quot; target=&quot;_blank&quot;&gt;curl-impersonate: A special build of curl that can impersonate Chrome &amp;amp; Firefox&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A special curl build that can impersonate four major browsers: Chrome, Edge, Safari, and Firefox. Can perform exactly the same TLS and HTTP handshakes as real browsers. (5.1K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/martin-majlis/Wikipedia-API&quot; target=&quot;_blank&quot;&gt;Wikipedia-API: Python wrapper for Wikipedia&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Convenient for retrieving Wikipedia information with Python, supports extracting text, sections, links, categories, translations, etc. from Wikipedia.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/google/adk-python&quot; target=&quot;_blank&quot;&gt;adk-python: For developing, evaluating and deploying complex AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google&apos;s open-source Agent Development Kit (ADK) helps build efficient, intelligent AI agents. Features: code-first, multi-agent architecture, rich ecosystem, flexible orchestration, native streaming support, state/memory and component management. (3.2K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/koaning/smartfunc&quot; target=&quot;_blank&quot;&gt;smartfunc: Turn docstrings into LLM-functions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Directly converts docstrings into LLM functions through decorators, supports Jinja2 templates, supports async functions, uses Pydantic models to define response structures, ensuring consistent output formats.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/zobweyt/textcase&quot; target=&quot;_blank&quot;&gt;textcase: A feature-rich Python text case conversion library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports conversion between multiple case formats (like snake_case, kebab-case, camelCase, etc.), intelligently recognizes abbreviations (like HTTPRequest) and supports non-ASCII characters.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/funstory-ai/BabelDOC&quot; target=&quot;_blank&quot;&gt;BabelDOC: PDF Document Translator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PDF scientific paper translation and bilingual comparison library. Has online immersive translation and supports self-deployment. (1.6K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Jimmy228676/arborparser/tree/main&quot; target=&quot;_blank&quot;&gt;arborparser: Parse hierarchical structured text into tree representation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Parses structured text and converts them into tree forms based on hierarchical headings, suitable for processing documents with nested headings like outlines, reports, and technical documentation. (Shared by @Enoch)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/deepseek-ai/DeepSeek-V3&quot; target=&quot;_blank&quot;&gt;DeepSeek-V3: DeepSeek Open Source Large Model&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Powerful Mixture of Experts (MoE) large model with 671B total parameters, using Multi-Head Latent Attention (MLA) and DeepSeekMoE architecture, pioneering auxiliary-loss-free load balancing strategy. (95.4K stars)&lt;/p&gt;
&lt;h2&gt;🥂 Discussions &amp;amp; Issues&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://x.com/mitsuhiko/status/1899928805742899231&quot; target=&quot;_blank&quot;&gt;If you&apos;re a Python developer but haven&apos;t used uv yet, why not?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is a question posted by Flask author Armin Ronacher on X, with high topic engagement.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.v2ex.com/t/1124712&quot; target=&quot;_blank&quot;&gt;UV is dead, PDM rules the world, Python developers should learn how to write elegant code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Coincidentally, another discussion about uv. The title is quite provocative, so take a deep breath and adjust to a calm mindset before clicking the link to read the content...&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/97/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#96: Using Computers Like Humans</title><link>https://weekly.pythoncat.top/en/issues/96/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/96/</guid><description>Sharing 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sat, 05 Apr 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #96: Using Computers Like Humans&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, and 2 trending discussions.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://juejin.cn/post/7488895565314949120&quot; target=&quot;_blank&quot;&gt;A Deep Dive into MCP: The Revolutionary Breakthrough for AI Model Interaction with the External World&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What exactly is the recently trending MCP? This article introduces MCP&apos;s technical background, advantages, and development process, showcasing its fundamental differences from traditional Function Calling technology, and demonstrates code examples for MCP client and server development. (Also: &lt;a href=&quot;https://arthurchiao.art/blog/but-what-is-mcp/&quot; target=&quot;_blank&quot;&gt;What is MCP (Model Context Protocol)?&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.landh.tech/blog/20250327-we-hacked-gemini-source-code&quot; target=&quot;_blank&quot;&gt;We hacked Google&apos;s A.I Gemini and leaked its source code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A hacker team shares their experience discovering Gemini vulnerabilities during Google&apos;s LLM bugSWAT event and earning the &quot;Most Valuable Hacker&quot; title, detailing their approach to exploring Python sandbox environments.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.duolingo.com/async-python-migration&quot; target=&quot;_blank&quot;&gt;How We Migrated to Async Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Duolingo&apos;s official blog shares their experience transforming a synchronous microservice into an asynchronous one, including how to reach consensus on migration, design async versions of sync libraries, and handle async code.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://thisdavej.com/share-python-scripts-like-a-pro-uv-and-pep-723-for-easy-deployment/&quot; target=&quot;_blank&quot;&gt;Share Python Scripts Like a Pro: uv and PEP 723 for Easy Deployment&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP-723 &quot;Inline Script Metadata&quot; specification allows embedding external dependencies directly into single-file scripts without needing additional &lt;code&gt;requirements.txt&lt;/code&gt;. Combined with uv and shebang, it simplifies Python script distribution and execution.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://testdriven.io/blog/fastapi-svelte/&quot; target=&quot;_blank&quot;&gt;Building a Real-time Dashboard with FastAPI and Svelte&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using Server-Sent Events (SSE) to push real-time data updates from FastAPI to a Svelte frontend, developing an interactive dashboard with real-time updates.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.qtmuniao.com/2025/03/18/streamlit/&quot; target=&quot;_blank&quot;&gt;Data Visualization Powerhouse — The Interesting Philosophy of Streamlit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Streamlit is a Python library for rapidly developing simple web pages. The article analyzes its three fundamental design philosophies: writing frontend with backend language, rebuilding on new events, and supporting session-level caching.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://pybit.es/articles/generator-mechanics-expressions-and-efficiency/&quot; target=&quot;_blank&quot;&gt;Optimizing Python: Understanding Generator Mechanics, Expressions, And Efficiency&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores Python generator mechanics and demonstrates their advantages in memory efficiency and data processing through data comparisons.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://juejin.cn/post/7488599657125396480&quot; target=&quot;_blank&quot;&gt;Unveiling 8 Hardcore Uses of Python Network Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Beyond chat rooms, what else can Socket do? The article introduces port scanners, simple HTTP servers, LAN games, remote control, file transfer, load balancing, DDOS attack simulators, and network proxy servers.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://trent.me/articles/pytorch-and-python-free-threading/&quot; target=&quot;_blank&quot;&gt;PyTorch and Python Free-Threading&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces Python 3.13&apos;s &quot;free-threading&quot; mode and how it achieves efficient parallel model inference with PyTorch. By training GPT-2 models without GIL, it demonstrates the benefits of fully utilizing multi-core CPU resources in AI inference scenarios.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://blog.zech.codes/automate-uv-with-trusted-publisher&quot; target=&quot;_blank&quot;&gt;How to Automate PyPI Publishing with uv, Trusted Publisher, and GitHub&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using uv to simplify Python package management, PyPI&apos;s Trusted Publisher for secure connections, and GitHub Actions to automatically trigger package uploads to PyPI.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://den.dev/blog/how-i-automated-podcast-transcription-with-local-ai/&quot; target=&quot;_blank&quot;&gt;How I Automated My Podcast Transcript Production With Local AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author leverages WhisperX&apos;s speech-to-text and alignment capabilities to quickly process audio files, then uses local LLM to organize transcribed text and generate high-quality podcast subtitles.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://www.mostlypython.com/opening-a-web-page-from-python/&quot; target=&quot;_blank&quot;&gt;Opening a web page from Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author discovered that using subprocess + shlex + open to open web pages has OS compatibility issues, while the standard library webbrowser easily solves this, so they analyzed webbrowser&apos;s implementation principles.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/dropseed/plain&quot; target=&quot;_blank&quot;&gt;plain: A web framework for building products with Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A web framework forked from Django, consisting of a core package and several optional third-party packages.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/dhdaines/playa&quot; target=&quot;_blank&quot;&gt;playa: PDF Parallel and Lazy Analyzer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides parallelizable lazy-loading interfaces to access PDF file internal structures; view various PDF metadata from command line; extract text or text objects, supports JPEG image extraction.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/overflowy/safe-result&quot; target=&quot;_blank&quot;&gt;safe-result: A Python package for elegant error handling&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Inspired by Rust&apos;s Result type, enables more explicit error handling without relying on try/catch blocks.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/danimelchor/clypi&quot; target=&quot;_blank&quot;&gt;clypi: Your all-in-one for beautiful, prod-ready CLIs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lightweight CLI framework that&apos;s type-safe, async-capable, easy to test, with composable commands and flexible configuration.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/undertone0809/gcop&quot; target=&quot;_blank&quot;&gt;gcop: AI-Powered Git Commit Assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Transforms messy commits into meaningful narratives. Automates commit message generation, enhances Git workflow, and makes version control effortless with 20+ smart commands. (Shared by @Zeeland)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/Undertone0809/conftier&quot; target=&quot;_blank&quot;&gt;conftier: Multi-layer Configuration Management Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Multi-layer configuration management framework similar to VSCode&apos;s user/workspace settings model, simplifying the definition, access, and synchronization of hierarchical configurations in Python programs. (Shared by @Zeeland)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/blazickjp/arxiv-mcp-server&quot; target=&quot;_blank&quot;&gt;arxiv-mcp-server: A Model Context Protocol server for searching and analyzing arXiv papers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Filter arXiv papers by date and category, download and read paper content, view downloaded papers, store papers locally.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/aws/nova-act&quot; target=&quot;_blank&quot;&gt;nova-act: Develop agents that execute in browsers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Amazon&apos;s open-source experimental SDK for developing agents that reliably execute actions in browsers.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/nicoloboschi/dockerpyze&quot; target=&quot;_blank&quot;&gt;dockerpyze: Python applications to Docker, automatically.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automatically generates Docker images for uv/poetry projects, PEP-621 compatible, supports adding configuration in pyproject.toml.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.cosmicpython.com&quot; target=&quot;_blank&quot;&gt;E-book: Architecture Patterns with Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Published by O&apos;Reilly, with free online reading version. Helps Python developers manage architectural design for complex projects, including dependency inversion, domain-driven design, event-driven architecture, and reactive microservices.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/dreammis/social-auto-upload&quot; target=&quot;_blank&quot;&gt;social-auto-upload: Automatically upload videos to Douyin/Xiaohongshu/WeChat Channels/Bilibili etc.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automates video publishing to major social media platforms, supports scheduled uploads. (4.4K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/aigc-apps/VideoX-Fun&quot; target=&quot;_blank&quot;&gt;VideoX-Fun: Generate videos of any resolution, supports image-to-video&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A video generation pipeline for creating AI images and videos, training Diffusion Transformer baseline models and Lora models.&lt;/p&gt;
&lt;h2&gt;🥂 Discussions &amp;amp; Issues&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://discuss.python.org/t/pep-751-one-last-time/77293&quot; target=&quot;_blank&quot;&gt;PEP-751: Python Standard Dependency Lock File Discussion&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP-751 was officially accepted a few days ago! This is major news for Python&apos;s packaging ecosystem! It proposes specifying a standard dependency lock file format for reproducible installations. (Also: Reddit discussion about the PEP acceptance, &lt;a href=&quot;https://www.reddit.com/r/Python/comments/1jo8gvx/pep_751_a_standardized_lockfile_for_python_is/&quot; target=&quot;_blank&quot;&gt;PEP 751 (A Standardized Lockfile for Python) is Accepted!&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1jd7nhh/uv_starting_to_overtake_poetry_in_package_download/&quot; target=&quot;_blank&quot;&gt;uv Overtaking Poetry in Package Downloads&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Discussion about the trending uv&apos;s download numbers.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/96/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#95: Python 3.13.1 Released</title><link>https://weekly.pythoncat.top/en/issues/95/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/95/</guid><description>Sharing 11 articles, 12 open-source projects</description><pubDate>Sat, 29 Mar 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #95: Python 3.13.1 Released&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 11 articles and 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.patreon.com/posts/how-to-use-async-124658443&quot; target=&quot;_blank&quot;&gt;How to Use Async Agnostic Decorators in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What challenges arise when you want to use decorators on both synchronous and asynchronous functions? The article introduces how to create decorators that work with both sync and async functions using generators. This article is from Patreon&apos;s tech blog.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://johnscolaro.xyz/blog/serverless-python-websites&quot; target=&quot;_blank&quot;&gt;Serverless Python Websites&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares the process of completely refactoring a small Python project to serverless architecture, moving from VPS to AWS Lambda, reducing costs from $350 per year to $2 per month.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.manjusaka.blog/posts/2025/03/23/a-simple-introduction-about-load-balance-algorithm/&quot; target=&quot;_blank&quot;&gt;A Simple Introduction to Common Load Balancing Algorithms&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article introduces implementations of common load balancing algorithms with Python code examples, including random selection, round-robin, least connections, and consistent hashing algorithms.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://blog.codingconfessions.com/p/cpython-hidden-xkcd-easter-egg&quot; target=&quot;_blank&quot;&gt;An Unreachable Hidden XKCD Easter Egg inside CPython&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python has a famous xkcd comic easter egg: &lt;a href=&quot;https://xkcd.com/353/&quot; target=&quot;_blank&quot;&gt;import antigravity&lt;/a&gt;. Beyond that, the author accidentally discovered another xkcd easter egg about &quot;unreachable state&quot;: when the impossible happens, anything becomes possible...&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://dustri.org/b/friends-dont-let-friends-write-production-software-in-python.html&quot; target=&quot;_blank&quot;&gt;Friends don&apos;t let friends write production software in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An author with eight years of Python experience vents about two major pain points: types and exceptions.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.qodo.ai/blog/why-we-chose-langgraph-to-build-our-coding-agent/&quot; target=&quot;_blank&quot;&gt;Why we chose LangGraph to build our coding agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article shares Qodo&apos;s reasons and process for choosing the LangGraph framework to develop their AI coding assistant, introducing LangGraph&apos;s state machine model, clean API design, node-based architecture, and built-in state management features.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://claudio.uk/posts/unvibe-a-python-test-runner-that-generates-correct-implementations.html&quot; target=&quot;_blank&quot;&gt;A Python Test-Runner that generates correct implementations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces a Python tool called Unvibe that can generate correct code implementations through unit tests. Its principle is using unit tests as reward functions, calling large models through Monte Carlo tree search algorithms to generate code until all tests pass.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://bernsteinbear.com/blog/prospero/&quot; target=&quot;_blank&quot;&gt;Prospero challenge, now with more garbage collection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shares how to optimize a Python program through garbage collection, reducing runtime from 40 seconds to 10 seconds and memory usage from nearly 60 GB to 1 GB. Additionally, using CuPy instead of NumPy reduced runtime to 1.5 seconds.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.ezyang.com/2019/05/pytorch-internals/&quot; target=&quot;_blank&quot;&gt;PyTorch internals&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A very long article that deeply introduces PyTorch&apos;s internal mechanisms, including tensor data structures, automatic differentiation mechanisms, memory management, and operation implementations.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.piglei.com/articles/programmer-reading-list-3/&quot; target=&quot;_blank&quot;&gt;Programmer Reading List: 100 Tech Articles I Love (41-50)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The third part of the tech article sharing series by the author of &quot;Python Craftsman&quot;, focusing on programmer fundamentals, software engineering, backend development, technical writing, Python, and Go languages.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://ramsayleung.github.io/zh/post/2024/%E7%BC%96%E7%A8%8B%E5%8D%81%E5%B9%B4%E7%9A%84%E6%84%9F%E6%82%9F/&quot; target=&quot;_blank&quot;&gt;Reflections on Ten Years of Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares years of thinking about programming technology and workplace life experiences. &quot;A programmer&apos;s competitiveness isn&apos;t writing code, nor any particular language or framework - the core competitiveness is the ability to solve problems through technology.&quot;&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/simular-ai/Agent-S&quot; target=&quot;_blank&quot;&gt;Agent-S: Agent S: an open agentic framework that uses computers like a human&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modular and scalable computer-use framework designed to achieve autonomous interaction with computers and automatically execute complex tasks. (1.4K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/detachhead/basedpyright&quot; target=&quot;_blank&quot;&gt;basedpyright: pyright fork with various type checking improvements&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A fork of pyright with type checking improvements, enhanced vscode support, and pylance features built into the language server. (1.7K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/Gurubase/gurubase&quot; target=&quot;_blank&quot;&gt;gurubase: RAG system for creating AI Q&amp;amp;A assistants&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open source RAG system supporting multiple data sources including web pages, PDFs, videos, and GitHub repositories, for quickly developing website widgets, Slack bots, and Discord bots.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/LucaCappelletti94/compress_json&quot; target=&quot;_blank&quot;&gt;compress_json: read and write compressed JSONs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Manipulate compressed JSON files, supporting gzip, bz2, and lzma (or xz) formats.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/raceychan/lihil&quot; target=&quot;_blank&quot;&gt;lihil: Unbelievably fast async webframework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pure Python web framework with features including dependency injection, OpenAPI docs &amp;amp; error response generator, problem pages, data validation &amp;amp; parameter parsing, built-in messaging system, and powerful AI support.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/tadata-org/fastapi_mcp&quot; target=&quot;_blank&quot;&gt;fastapi_mcp: A zero-configuration tool for automatically exposing FastAPI endpoints as Model Context Protocol (MCP) tools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automatically discovers all FastAPI endpoints and converts them to MCP tools, directly mounting MCP servers to FastAPI applications.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/terror/arrg&quot; target=&quot;_blank&quot;&gt;arrg: building modular command-line applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Develop modular command-line applications using a declarative, class-based approach.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/MarkusPfundstein/mcp-obsidian&quot; target=&quot;_blank&quot;&gt;mcp-obsidian: MCP server that interacts with Obsidian&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enables MCP interaction with Obsidian through Obsidian&apos;s REST API community plugin, including listing directories and files, reading file content, searching files, and editing notes.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/langchain-ai/local-deep-researcher&quot; target=&quot;_blank&quot;&gt;local-deep-researcher: Fully local web research and report writing assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Utilizes LLMs from Ollama or LMStudio to search the web, summarize, and reflect, ultimately generating Markdown summaries. (6.7K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/jiji262/douyin-downloader&quot; target=&quot;_blank&quot;&gt;douyin-downloader: Douyin Batch Download Tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Batch download Douyin content with watermark removal, supporting videos, image sets, collections, and music (original audio). Supports command-line parameters or YAML configuration file operation. (2.3K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/mr-fatalyst/fastopenapi&quot; target=&quot;_blank&quot;&gt;fastopenapi: FastOpenAPI is a library for generating and integrating OpenAPI schemas&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Generate and integrate OpenAPI documentation using Pydantic v2 with various frameworks (Falcon, Flask, Quart, Sanic, Starlette, Tornado).&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/joanrod/star-vector&quot; target=&quot;_blank&quot;&gt;star-vector: StarVector is a foundation model for SVG generation that transforms vectorization into a code generation task&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A multimodal vision-language model for Scalable Vector Graphics (SVG) generation, capable of performing image-to-SVG and text-to-SVG generation. (2.7K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/95/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#94: 如何解决 FastAPI 的大文件传输问题？</title><link>https://weekly.pythoncat.top/en/issues/94/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/94/</guid><description>Essays and editor&apos;s notes by Python Cat</description><pubDate>Sun, 23 Mar 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;你好，我是猫哥。这里每周分享优质的 Python、AI 及通用技术内容，大部分为英文。周刊开源在 &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; 上，喜欢请给颗小星星支持下~&lt;/p&gt;
&lt;p&gt;本期分享了 11 篇文章，12 个开源项目，全文 1514 字。&lt;/p&gt;
&lt;p&gt;**重要提示：**本周刊即将迎来第 100 期，即日起续订或新订阅，可享受八五折优惠，欢迎领取优惠券 --&amp;gt; &lt;a href=&quot;https://www.xiaobot.net/coupon/d2c69b05-91b8-4e2b-b346-e7bc4dbc141a&quot; target=&quot;_blank&quot;&gt;https://www.xiaobot.net/coupon/d2c69b05-91b8-4e2b-b346-e7bc4dbc141a&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;🦄文章&amp;amp;教程&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://so1n.me/2024/10/01/how_to_solve_fastapi_lager_file/&quot; target=&quot;_blank&quot;&gt;如何解决 FastAPI 的大文件传输问题？&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;使用 FastAPI/Starlette 作大文件传输时，为何会比其它框架慢？在文件上传和下载场景中，作者分别对比了不同实现方案的性能差异，剖析了问题原因，并分享了多种性能优化方案。&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.leejustin.com/Operationalizing-Python-Part-1-Why-Does-It-Hurt-1b8703f0ba8f80e4a9f4d9527f200aeb&quot; target=&quot;_blank&quot;&gt;Python 运行实战–第1部分：为什么它让人痛苦？&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 写起来很棒，但维护起来可能令人沮丧。文章分析了 Python 让人感觉痛苦的一些原因，比如不同编程文化碰撞和包依赖管理，最后分享提升可维护性的建议。&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://pydis.wtf/~joe/survey-results-2024.html&quot; target=&quot;_blank&quot;&gt;Python Discord 2024 调查报告&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python Discord 社区 2024 年的调查结果，涵盖用户编程经验、社区参与度、学习资源使用、帮助寻求与提供、社区活动体验、语音频道使用、开源贡献意向等方面。&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://jurasofish.github.io/a-very-early-play-with-astrals-red-knot-static-type-checker.html&quot; target=&quot;_blank&quot;&gt;尝鲜体验 Astral 的 Red Knot 静态类型检查器&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ruff 和 uv 所属团队正在开发一个 Python 类型检查器，旨在成为 mypy 的替代。文章介绍了 Red Knot 的安装、配置和使用方法，并通过与 mypy 的比较和性能测试，展示了其在速度上的显著优势。&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://hodovi.cc/blog/best-practises-for-a-performant-django-admin/&quot; target=&quot;_blank&quot;&gt;最佳实践：高性能的 Django Admin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;针对 Django Admin 在处理大数据集时的性能问题，文章介绍了多种优化策略：限制排序字段、调整分页大小、使用估算计数、缓存、优化搜索字段等。&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://peps.python.org/pep-0776/&quot; target=&quot;_blank&quot;&gt;PEP-776：支持 Emscripten&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP-776 提议在 Python 3.14 将 Emscripten 添加为 Tier 3 支持。Emscripten 是一个编译器工具链，可将 C/C++ 代码编译为 WebAssembly/JavaScript，适用于浏览器和 Node.js 等 JavaScript 运行时。&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://mathspp.com/blog/binary-search-as-a-bidirectional-generator&quot; target=&quot;_blank&quot;&gt;使用双向生成器实现二分搜索&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;文章提出了一种基于双向生成器的二分查找实现，利用 Python 生成器的 send 方法来动态调整算法行为。该方法可扩展成无届搜索，提供了新的实现思路。&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://read.engineerscodex.com/p/the-boolean-trap&quot; target=&quot;_blank&quot;&gt;布尔类型参数的陷阱&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;作者指出在函数或 API 中使用布尔参数容易引发问题，如代码可读性差、扩展性受限及潜在错误，建议使用枚举作为替代方案。&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://marimo.io/blog/python-not-json&quot; target=&quot;_blank&quot;&gt;重新发明 notebook 为可重用的 Python 程序&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Marimo 是一种新型的 notebook，不同于传统的 Jupyter notebook，它保存的是 Python 文件，解决了版本控制、代码复用和测试等痛点，同时支持导入和作为脚本执行等用途。&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://compucademy.net/python-programming-and-the-art-of-knitting/&quot; target=&quot;_blank&quot;&gt;Python 编程与编织艺术&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;用代码编程与用毛线编织，它们能有什么关系呢？除了需要耐心、逻辑和创造力，文章还分享了几组有趣的对照关系。&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.glyph.im/2025/01/active-enum.html&quot; target=&quot;_blank&quot;&gt;“主动型枚举”模式&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;文章指出传统的枚举存在维护困难、行为与数据分离等问题，因此提出了“Active Enum”模式，使枚举不仅作为数据容器，还能主动执行相关操作。演示了具体代码示例，揭示了它的优势、可能遇到的问题和对应的解决方案。&lt;/p&gt;
&lt;h2&gt;🐿️项目&amp;amp;资源&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/suitenumerique/docs&quot; target=&quot;_blank&quot;&gt;docs：可扩展的协作笔记、wiki 和文档平台&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;用 Django 和 React 开发的协作式文档编辑器，是 Notion、Outline 与 Confluence 的开源替代。&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/getfounded/mcp-tool-kit/tree/main&quot; target=&quot;_blank&quot;&gt;mcp-tool-kit：MCP 协议的代理抽象层&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MCP（Model Context Protocol）中间件，用于开发高精度的垂直人工智能 agent。&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/enricostara/eventure&quot; target=&quot;_blank&quot;&gt;eventure：事件驱动框架，用于仿真、游戏和复杂系统&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;纯 Python 实现的事件驱动框架，功能特性：事件驱动、事件溯源、基于 Tick 的系统、高级事件查询、开箱即用的示例、类型安全。&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/html5lib/html5lib-python&quot; target=&quot;_blank&quot;&gt;html5lib-python：用于解析和序列化 HTML 文档&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;纯 Python 实现的 HTML 解析库，符合 WHATWG HTML 规范。&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://cliprun.com/&quot; target=&quot;_blank&quot;&gt;Run Python Online：在浏览器中运行 Python 代码&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;一个在线执行 Python 脚本的网站，提供了浏览器中的 Python 编译器和 IDE，内置了常用的 Python 库，支持文件上传下载。&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/kkollsga/rusty-graph/tree/main&quot; target=&quot;_blank&quot;&gt;rusty-graph：Rust 开发的高性能图数据库库&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;将 SQL 关系型数据高效转化为知识图谱，通过 Rust 实现底层高性能计算，提供 Python 绑定降低使用门槛。&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/telekinesis-inc/aiopandas/tree/main&quot; target=&quot;_blank&quot;&gt;aiopandas：轻量级 Pandas 猴子补丁，添加异步支持&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;使用猴子补丁让 Pandas 的 map、apply、applymap、aggregate 和 transform 支持异步。&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/basicmachines-co/basic-memory&quot; target=&quot;_blank&quot;&gt;basic-memory：基于 AI 助手的对话构建持久语义图&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;这是一个知识管理系统，利用与大模型的对话来构建持久化知识，保存成 Markdown 文件。&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://pydevtools.com/handbook/&quot; target=&quot;_blank&quot;&gt;Python 开发者工具手册&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;在线电子书，主旨是帮你理解开发 Python 包的复杂生态：uv、Poetry、Flit、Setuptools 和 Hatch 到底是什么？它们的优缺点是什么？如何比较和取舍？另外，还涵盖了代码审查、格式化和依赖管理的内容。&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/lastmile-ai/mcp-agent&quot; target=&quot;_blank&quot;&gt;mcp-agent：使用 MCP 和简单工作流开发高效的 agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;一个简单可组合的 agent 开发框架，使用 MCP 协议和 Building Effective Agents 中描述的所有模式。&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/fatihak/InkyPi&quot; target=&quot;_blank&quot;&gt;InkyPi：Raspberry Pi 驱动的 E-Ink 显示屏&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;开源、可定制的 E-Ink 显示屏，提供 Web 界面可用于任何联网设备，易于安装和配置，支持定时播放列表。&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/NVIDIA/physicsnemo&quot; target=&quot;_blank&quot;&gt;physicsnemo：NVIDIA 开源深度学习框架&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;使用最先进的 SciML 方法构建、训练和微调深度学习模型。提供了工具和优化管道，可开发结合物理知识和数据的 AI 模型，实现实时预测。&lt;/p&gt;
&lt;h2&gt;🐢播客&amp;amp;视频&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://djangotv.com/videos/djangocon-us/2024/choosing-wisely-spa-vs-htmx-for-your-next-web-project-with-chris-may&quot; target=&quot;_blank&quot;&gt;Web 项目的架构选择：SPA 与 HTMX&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;视频探讨了选择单页应用（SPA）和服务器端渲染应用的影响因素，比如状态管理、用户体验管理、性能和可扩展性、项目限制和开发团队专业知识等。&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://talkingpostgres.com/episodes/why-python-developers-just-use-postgres-with-dawn-wages&quot; target=&quot;_blank&quot;&gt;为什么 Python 开发者只用 PostgreSQL？&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Talking Postgres 播客讨论了为什么特别多 Python 和 Django 开发者对 Postgres 情有独钟？嘉宾是 Python 软件基金会主席，其新书《领域驱动 Django》有一章为“Just Use Postgres”。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/94/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#93: Red Knot Type Checker Early Preview!</title><link>https://weekly.pythoncat.top/en/issues/93/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/93/</guid><description>Sharing 11 articles, 12 open-source projects, 2 audio/video items</description><pubDate>Sat, 15 Mar 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #93: Red Knot Type Checker Early Preview!&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - give it a star if you like it!&lt;/p&gt;
&lt;p&gt;This week we&apos;re featuring 11 articles, 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://so1n.me/2024/10/01/how_to_solve_fastapi_lager_file/&quot; target=&quot;_blank&quot;&gt;How to solve FastAPI&apos;s large file transfer problem?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why is FastAPI/Starlette slower than other frameworks when handling large file transfers? In file upload and download scenarios, the author compares the performance differences of various implementation approaches, analyzes the root causes, and shares multiple performance optimization solutions.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.leejustin.com/Operationalizing-Python-Part-1-Why-Does-It-Hurt-1b8703f0ba8f80e4a9f4d9527f200aeb&quot; target=&quot;_blank&quot;&gt;Operationalizing Python – Part 1: Why Does It Hurt?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python is great to write, but can be frustrating to maintain. The article analyzes some reasons why Python can feel painful, such as clashing programming cultures and package dependency management, and finally shares suggestions for improving maintainability.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://pydis.wtf/~joe/survey-results-2024.html&quot; target=&quot;_blank&quot;&gt;Python Discord 2024 Survey Report&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The 2024 survey results from the Python Discord community, covering user programming experience, community engagement, learning resource usage, help seeking and providing, community activity experience, voice channel usage, and open source contribution intentions.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://jurasofish.github.io/a-very-early-play-with-astrals-red-knot-static-type-checker.html&quot; target=&quot;_blank&quot;&gt;A Very (!) Early Play With Astral&apos;s Red Knot Static Type Checker&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The team behind Ruff and uv is developing a Python type checker aimed at becoming an alternative to mypy. The article introduces Red Knot&apos;s installation, configuration, and usage methods, and demonstrates its significant speed advantages through comparisons with mypy and performance testing.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://hodovi.cc/blog/best-practises-for-a-performant-django-admin/&quot; target=&quot;_blank&quot;&gt;Best Practises for A Performant Django Admin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Addressing Django Admin&apos;s performance issues when handling large datasets, the article introduces various optimization strategies: limiting sortable fields, adjusting pagination size, using estimated counts, caching, optimizing search fields, etc.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://peps.python.org/pep-0776/&quot; target=&quot;_blank&quot;&gt;PEP 776 – Emscripten Support&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PEP-776 proposes adding Emscripten as Tier 3 support in Python 3.14. Emscripten is a compiler toolchain that can compile C/C++ code to WebAssembly/JavaScript, suitable for browsers and JavaScript runtimes like Node.js.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://mathspp.com/blog/binary-search-as-a-bidirectional-generator&quot; target=&quot;_blank&quot;&gt;Binary search as a bidirectional generator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article proposes a binary search implementation based on bidirectional generators, using Python generator&apos;s send method to dynamically adjust algorithm behavior. This method can be extended to unbounded search, providing new implementation ideas.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://read.engineerscodex.com/p/the-boolean-trap&quot; target=&quot;_blank&quot;&gt;The Boolean Trap&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author points out that using boolean parameters in functions or APIs can easily cause problems, such as poor code readability, limited extensibility, and potential errors, suggesting using enums as an alternative.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://marimo.io/blog/python-not-json&quot; target=&quot;_blank&quot;&gt;Reinventing notebooks as reusable Python programs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Marimo is a new type of notebook that, unlike traditional Jupyter notebooks, saves as Python files, solving pain points like version control, code reuse, and testing, while supporting import and script execution capabilities.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://compucademy.net/python-programming-and-the-art-of-knitting/&quot; target=&quot;_blank&quot;&gt;Python Programming and the Art of Knitting&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What relationship could coding with code and knitting with yarn possibly have? Besides requiring patience, logic, and creativity, the article shares several interesting parallels.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.glyph.im/2025/01/active-enum.html&quot; target=&quot;_blank&quot;&gt;The &quot;Active Enum&quot; Pattern&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article points out that traditional enums have problems like maintenance difficulties and separation of behavior from data, thus proposing the &quot;Active Enum&quot; pattern, making enums not just data containers but also actively executing related operations. It demonstrates specific code examples, revealing its advantages, potential problems, and corresponding solutions.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/suitenumerique/docs&quot; target=&quot;_blank&quot;&gt;docs: A collaborative note taking, wiki and documentation platform that scales&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A collaborative document editor developed with Django and React, serving as an open source alternative to Notion, Outline, and Confluence. (8.9K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/getfounded/mcp-tool-kit/tree/main&quot; target=&quot;_blank&quot;&gt;mcp-tool-kit: Agentic abstraction layer for building high precision vertical AI agents written in python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MCP (Model Context Protocol) middleware for developing high-precision vertical AI agents.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/enricostara/eventure&quot; target=&quot;_blank&quot;&gt;eventure: A powerful event-driven framework for simulations, games, and complex systems&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A pure Python event-driven framework with features: event-driven, event sourcing, tick-based system, advanced event querying, out-of-the-box examples, type safety.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/html5lib/html5lib-python&quot; target=&quot;_blank&quot;&gt;html5lib-python: Standards-compliant library for parsing and serializing HTML documents and fragments in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A pure Python HTML parsing library compliant with WHATWG HTML specifications. (1.2K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://cliprun.com/&quot; target=&quot;_blank&quot;&gt;Run Python Online: Run Python code in the browser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A website for executing Python scripts online, providing a Python compiler and IDE in the browser, with built-in common Python libraries and support for file upload/download.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/kkollsga/rusty-graph/tree/main&quot; target=&quot;_blank&quot;&gt;rusty-graph: High-performance graph database library developed in Rust&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Efficiently converts SQL relational data into knowledge graphs, implementing high-performance computing through Rust at the bottom layer, providing Python bindings to lower the usage barrier.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/telekinesis-inc/aiopandas/tree/main&quot; target=&quot;_blank&quot;&gt;aiopandas: Lightweight Pandas monkey-patch that adds async support to map, apply, applymap, aggregate, and transform&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses monkey patching to add async support to Pandas&apos; map, apply, applymap, aggregate, and transform methods.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/basicmachines-co/basic-memory&quot; target=&quot;_blank&quot;&gt;basic-memory: Build persistent semantic graphs from AI assistant conversations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A knowledge management system that uses conversations with large models to build persistent knowledge, saved as Markdown files.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://pydevtools.com/handbook/&quot; target=&quot;_blank&quot;&gt;Python Developer Tooling Handbook&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An online e-book aimed at helping you understand the complex ecosystem of developing Python packages: What exactly are uv, Poetry, Flit, Setuptools, and Hatch? What are their pros and cons? How to compare and choose? Additionally, it covers content on code review, formatting, and dependency management.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/lastmile-ai/mcp-agent&quot; target=&quot;_blank&quot;&gt;mcp-agent: Build effective agents using Model Context Protocol and simple workflow patterns&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A simple, composable agent development framework using MCP protocol and all patterns described in Building Effective Agents. (1.6K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/fatihak/InkyPi&quot; target=&quot;_blank&quot;&gt;InkyPi: E-Ink Display with a Raspberry Pi and a Web Interface to customize and update the display with various plugins&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open source, customizable E-Ink display providing a web interface usable on any networked device, easy to install and configure, supports timed playlists. (1K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/NVIDIA/physicsnemo&quot; target=&quot;_blank&quot;&gt;physicsnemo: Open-source deep-learning framework for building, training, and fine-tuning deep learning models using state-of-the-art Physics-ML methods&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Builds, trains, and fine-tunes deep learning models using state-of-the-art SciML methods. Provides tools and optimization pipelines to develop AI models that combine physical knowledge with data for real-time predictions. (1.3K stars)&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://djangotv.com/videos/djangocon-us/2024/choosing-wisely-spa-vs-htmx-for-your-next-web-project-with-chris-may&quot; target=&quot;_blank&quot;&gt;SPA vs. HTMX for Your Next Web Project with Chris May&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The video explores factors influencing the choice between Single Page Applications (SPA) and server-side rendered applications, such as state management, user experience management, performance and scalability, project constraints, and development team expertise.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://talkingpostgres.com/episodes/why-python-developers-just-use-postgres-with-dawn-wages&quot; target=&quot;_blank&quot;&gt;Python developers just use Postgres with Dawn Wages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Talking Postgres podcast discusses why so many Python and Django developers have a special fondness for Postgres? The guest is the Python Software Foundation chair, whose new book &quot;Domain-Driven Django&quot; has a chapter titled &quot;Just Use Postgres&quot;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/93/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#92: A Map of Python Packages</title><link>https://weekly.pythoncat.top/en/issues/92/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/92/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 08 Mar 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #92: A Map of Python Packages&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles and 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://fi-le.net/pypi/&quot; target=&quot;_blank&quot;&gt;A Map of Python Packages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PyPI hosts over 500,000 open source projects. The author used its JSON API and BigQuery dataset to generate an interactive package dependency graph, discovering some fascinating patterns.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://davidhamann.de/2020/04/05/exploiting-python-pickle/&quot; target=&quot;_blank&quot;&gt;Exploiting Python pickles&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What security issues exist with Python&apos;s &lt;code&gt;pickle&lt;/code&gt; module? The article explains how pickle works, demonstrates how to exploit its deserialization functionality for remote code execution (RCE), and reminds us about secure handling methods when deserializing data from untrusted sources.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://awstip.com/deep-dive-into-django-signals-structure-use-cases-and-best-practices-ccbe1d3d5931&quot; target=&quot;_blank&quot;&gt;Deep Dive into Django Signals: Structure, Use Cases, and Best Practices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django signals are a powerful mechanism for decoupling application logic from event handling. The article explores Django signals&apos; structure and working principles, introduces their use cases, and shares several best practices.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://www.techiediaries.com/news/python-313-2025-breakthroughs-no-gil-jit-ios-support-explained/&quot; target=&quot;_blank&quot;&gt;Python 3.13 in 2025 Breakthroughs: No-GIL, JIT, and iOS Support Explained&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article summarizes major breakthroughs in Python 3.13: performance improvements (5-15% faster than 3.12), experimental JIT compiler, 7% reduction in memory usage, data science optimizations, iOS support, and no-GIL mode.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://peps.python.org/pep-0775/&quot; target=&quot;_blank&quot;&gt;PEP 775 – Make zlib required to build CPython&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This PEP proposes that starting from Python 3.14, building CPython will no longer support cases without the zlib compression library. The &lt;code&gt;zlib&lt;/code&gt; module will become a required part of the standard library, with the only exception being the WASI platform.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://ballingt.com/python-second-language-empathy/&quot; target=&quot;_blank&quot;&gt;Python is not Java or C++: Python as a second language empathy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What misconceptions might developers who use Python as a second language have? The author compares differences between Python and Java/C++, lists multiple confusing points and examples, and explores how to help developers with other language backgrounds better understand and use Python.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.pythonguis.com/examples/kivy-to-do-app/&quot; target=&quot;_blank&quot;&gt;Build a To-do App With Python and Kivy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you develop a to-do application with Python? The article demonstrates building a graphical user interface to-do app using Kivy + SQLite, which can serve as a Python GUI beginner project.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://blog.cauchy.org/blog/anywidget/&quot; target=&quot;_blank&quot;&gt;Visualizing process trees with marimo and anywidget&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article introduces how to develop an interactive process tree visualization tool using &lt;strong&gt;marimo&lt;/strong&gt; and &lt;strong&gt;anywidget&lt;/strong&gt;, building tree structures based on process creation event logs and rendering visualizations through &lt;strong&gt;DependenTree&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://dashbit.co/blog/running-python-in-elixir-its-fine&quot; target=&quot;_blank&quot;&gt;Embedding Python in Elixir, it&apos;s Fine&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces how to embed a Python interpreter in Elixir, implementing automatic data conversion, code execution, and virtual environment management between Elixir and Python through Pythonx.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://tech.marksblogg.com/satellogic-open-data-feed.html&quot; target=&quot;_blank&quot;&gt;Satellogic&apos;s Open Satellite Feed&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces Satellogic&apos;s open satellite data source &quot;Satellogic EarthView&quot; and demonstrates how to use various tools (such as GDAL, Python, DuckDB, and QGIS) to analyze and visualize this data.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://andyatkinson.com/django-python-postgres-busy-rails-developer&quot; target=&quot;_blank&quot;&gt;Django and Postgres for the Busy Rails Developer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is a practical guide for Rails developers transitioning to Django, comparing similarities and differences between Django and Ruby on Rails in development, including language features and runtime management, dependency management, migration mechanisms, Postgres configuration, code formatting, and linting.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://ohadravid.github.io/posts/2025-01-debugging-vit-and-tensorrt/&quot; target=&quot;_blank&quot;&gt;Debugging a Vision Transformer Compilation Issue&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author encountered compilation issues when converting a Vision Transformer (ViT) model from PyTorch to TensorRT. The article demonstrates how to systematically debug and optimize deep learning models, such as using binary search to gradually isolate problems and comparing performance of different implementation approaches.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/LazoVelko/Pokemon-Terminal&quot; target=&quot;_blank&quot;&gt;Pokemon-Terminal: Pokemon terminal themes.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;719 unique Pokémon themes that can be set as desktop wallpapers and terminal backgrounds, supporting terminals including iTerm2, ConEmu, Terminology, Windows Terminal, Tilix, and Kitty. (4.6K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/deepseek-ai/smallpond&quot; target=&quot;_blank&quot;&gt;smallpond: A lightweight data processing framework built on DuckDB and 3FS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;DeepSeek&apos;s open source data processing framework based on DuckDB, capable of scalably processing petabyte-level datasets. (3.9K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/apiiro/PRevent&quot; target=&quot;_blank&quot;&gt;PRevent: Prevent merging of malicious code in pull requests&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A self-hosted GitHub app that listens to PR events, scans for malicious code, and comments detection results directly on PRs.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/theonlyanil/stealthkit&quot; target=&quot;_blank&quot;&gt;stealthkit: Python requests on steroids&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Simulates real user behavior by rotating user agents, setting referrers, handling cookies, managing proxies, and implementing retry logic.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/freddyaboulton/fastrtc&quot; target=&quot;_blank&quot;&gt;fastrtc: The python library for real-time communication&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Turns any Python function into real-time audio/video streams supporting WebRTC or WebSockets. (2.6K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/coduri/VisualCrypto&quot; target=&quot;_blank&quot;&gt;VisualCrypto: A collection of Visual Cryptography and Random Grid schemes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A toolkit specifically for Visual Secret Sharing (VSS), supporting Visual Cryptography (VC) and Random Grid (RG) technologies.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/risingwavelabs/awesome-stream-processing&quot; target=&quot;_blank&quot;&gt;awesome-stream-processing: A collection of demos showcasing how stream processing can be used to solve real-world problems&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Collects a series of executable demos showcasing stream processing applications in real-world scenarios.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/onyx-dot-app/onyx&quot; target=&quot;_blank&quot;&gt;onyx: Gen-AI Chat for Teams - Think ChatGPT if it had access to your team&apos;s unique knowledge.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI platform that connects your company documents, applications, and team members. Feature-rich chat interface supporting knowledge sync and access control for over 40 applications. (12.2K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/open-mmlab/FoleyCrafter&quot; target=&quot;_blank&quot;&gt;FoleyCrafter: AI Foley Master - Adding Sound Effects to Silent Videos&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A video-to-audio generation framework that can generate realistic sound effects semantically related to and synchronized with videos.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/Alkali-Sim/SmartestKid&quot; target=&quot;_blank&quot;&gt;SmartestKid: Windows Desktop AI Assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses Windows COM automation to interface with Microsoft Office (Word, Excel), images, and file systems, suitable for exploring AI-driven desktop automation.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/salesforce/Merlion&quot; target=&quot;_blank&quot;&gt;Merlion: Merlion: A Machine Learning Framework for Time Series Intelligence&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;End-to-end machine learning framework including loading and transforming data, building and training models, post-processing model outputs, and evaluating model performance. Supports various time series learning tasks including forecasting, anomaly detection, and change point detection for both univariate and multivariate time series. (4.2K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/emmabostian/developer-portfolios&quot; target=&quot;_blank&quot;&gt;developer-portfolios: A list of developer portfolios for your inspiration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This repository collects many developer portfolio homepages, providing product inspiration from others&apos; homepages and works. (11.9K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/92/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#91: The Future of Python in the Browser</title><link>https://weekly.pythoncat.top/en/issues/91/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/91/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 01 Mar 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #91: The Future of Python in the Browser&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles and 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://lukasz.langa.pl/f37aa97a-9ea3-4aeb-b6a0-9daeea5a7505&quot; target=&quot;_blank&quot;&gt;A peek into a possible future of Python in the browser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores the future of Python in browsers, introducing high-performance Python programming implemented by SPy. SPy, as an emerging &quot;Python-like&quot; language, achieves efficient code compilation and execution by dividing code into &quot;blue code&quot; executed at compile time and &quot;red code&quot; executed at runtime.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;http://antocuni.eu/2025/02/26/over-the-clouds-cpython-pyodide-and-spy/&quot; target=&quot;_blank&quot;&gt;Over the clouds: CPython, Pyodide and SPy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A week-long collaboration/adventure experience between the SPy author and two other community leaders, sharing several problems they solved together, SPy&apos;s basic concepts and design decisions, and building a simple SPy playground. Particularly emphasizes the value of interpersonal relationships and the joy of spending time together.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://rafiqul.dev/blog/fastapi-deconstructed-anatomy-of-modern-asgi-framework&quot; target=&quot;_blank&quot;&gt;FastAPI Deconstructed: Anatomy of a Modern ASGI Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides an in-depth analysis of FastAPI&apos;s architecture and core components, explaining how FastAPI works collaboratively through the ASGI protocol, Uvicorn server, Starlette framework, and Pydantic data validation library, showcasing features like dependency injection and automatic documentation generation.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://blog.appsignal.com/2025/02/26/an-introduction-to-flask-sqlalchemy-in-python.html&quot; target=&quot;_blank&quot;&gt;An Introduction to Flask-SQLAlchemy in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Flask-SQLAlchemy enables seamless integration of SQLAlchemy with Flask. The article provides detailed coverage of its key features and demonstrates how to easily manage databases with Flask-SQLAlchemy through practical projects.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://minimaxir.com/2025/02/embeddings-parquet&quot; target=&quot;_blank&quot;&gt;The Best Way to Use Text Embeddings Portably is With Parquet and Polars&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to efficiently use and store text embedding vectors? The article proposes a solution using Parquet file format and Polars library, enabling fast loading of embedding vectors and similarity calculations while supporting dynamic filtering and metadata management.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://blog.jonathanchun.com/2025/02/16/to-type-or-not-to-type/&quot; target=&quot;_blank&quot;&gt;To Type or Not to Type? &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What value do Python&apos;s type hints provide? Besides adding code complexity, can they bring enough benefits? The article demonstrates the advantages of type hints from multiple perspectives, introduces techniques for effectively using type hints, and shows how to enhance development experience with modern tools.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.pythonguis.com/faq/which-python-gui-library/&quot; target=&quot;_blank&quot;&gt;Which Python GUI library should you use in 2025?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Python ecosystem has quite a few GUI libraries - which one is best suited for your project? The article compares multiple mainstream GUI libraries (Tkinter, PyQt, PySide, Kivy, PySimpleGUI, WxPython, PyGObject, Remi, etc.), introducing their relative advantages and licensing restrictions, and creates simple &quot;Hello World&quot; projects with each library.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://blog.jupyter.org/building-ai-agents-for-jupyterlab-using-notebook-intelligence-0515d4c41a61&quot; target=&quot;_blank&quot;&gt;Building AI Agents for JupyterLab using Notebook Intelligence&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Notebook Intelligence is an AI coding assistant and extensible AI framework that combines JupyterLab with AI. The article introduces how to define multiple tools (such as geographic coordinate queries, map generation, notebook creation and sharing) to build an AI agent.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://simonwillison.net/2025/Feb/15/llm-mlx/&quot; target=&quot;_blank&quot;&gt;Run LLMs on macOS using llm-mlx and Apple&apos;s MLX framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article introduces how to run local large models on macOS, utilizing the llm-mlx plugin and Apple&apos;s MLX framework, demonstrating plugin installation, model downloading, and text generation with large models, along with model optimization and caching techniques.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.pyspur.dev/blog/introduction_cuda_programming&quot; target=&quot;_blank&quot;&gt;Introduction to CUDA Programming for Python Developers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;CUDA is a platform and C++ extension for writing programs that run on GPUs. The article explores how CUDA kernels work and how they map computations to GPU hardware.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://roguelynn.com/words/everyday-apis&quot; target=&quot;_blank&quot;&gt;Design of Everyday APIs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you design an API with excellent user experience? The article proposes several fundamental principles and demonstrates how to optimize user experience through naming conventions, providing symmetric methods, default values, reducing repetition, and leveraging language features, using a publish/subscribe service API design as an example.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://lucumr.pocoo.org/2025/2/20/ugly-code/&quot; target=&quot;_blank&quot;&gt;Ugly Code and Dumb Things&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you choose and balance between pursuing code perfection and rapid delivery? Through personal experience and analysis of Flickr&apos;s Flamework framework, the author reveals that sometimes rapid iteration and solving real problems are often more important than code elegance.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/ssloy/tinycompiler&quot; target=&quot;_blank&quot;&gt;tinycompiler: Writing a compiler in a week-end&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A weekend project that supports translating the author&apos;s invented &quot;wend&quot; programming language into GNU assembly.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/LilyFoote/django-rusty-templates&quot; target=&quot;_blank&quot;&gt;django-rusty-templates: Django template language implemented in Rust&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;100% compatible rendering output, error reporting as useful as Django&apos;s errors, with performance superior to pure Python implementations.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/dakrauth/when&quot; target=&quot;_blank&quot;&gt;when: Convert datetimes between timezones&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Converts time from one location to other places/timezones, can also display current moon phases, show full moon dates, and calculate past or future times.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/seemoo-lab/opendrop&quot; target=&quot;_blank&quot;&gt;opendrop: An open Apple AirDrop implementation written in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A command-line tool for sharing files between devices via Wi-Fi, unique in its compatibility with Apple AirDrop, supporting file sharing with Apple devices running iOS and macOS. (8.9K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/LittleYellowPanda/MakeItPrivate&quot; target=&quot;_blank&quot;&gt;MakeItPrivate: Convert images to PDF&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses FastAPI as backend and Streamlit as frontend, supports converting images (JPG, PNG) to PDF and vice versa, also supports combining multiple images and PDFs into a single PDF.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/codegen-sh/codegen-sdk&quot; target=&quot;_blank&quot;&gt;codegen-sdk: a python library for manipulating codebases&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Write code that transforms code. Combines Tree-sitter&apos;s parsing capabilities with rustworkx&apos;s graph algorithms to achieve scriptable, large-scale, multi-language code manipulation.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/Dicklesworthstone/mindmap-generator&quot; target=&quot;_blank&quot;&gt;mindmap-generator: Turn any input document into a sophisticated, context-dependent mindmap&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Utilizes large models to extract core concepts, relationships, and details from different types of documents and organize them into intuitive, hierarchical mind maps.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/PragmaticMachineLearning/probly&quot; target=&quot;_blank&quot;&gt;probly: AI-powered spreadsheet application&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An AI application that combines spreadsheet functionality with Python data analysis capabilities, supporting formulas, running Python code in browsers, data visualization, AI smart suggestions, and automated analysis.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/gpustack/gpustack&quot; target=&quot;_blank&quot;&gt;gpustack: Manage GPU clusters for running AI models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open source GPU cluster manager with broad compatibility across various hardware and models, easy scaling of GPUs or nodes, distributed inference, multiple inference backends, user and API key management, GPU performance and utilization monitoring, token usage and rate analysis. (1.8K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/The-Pocket/PocketFlow&quot; target=&quot;_blank&quot;&gt;PocketFlow: Minimalist LLM Framework in 100 Lines. Enable LLMs to Program Themselves.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A minimalist LLM framework implemented in 100 lines of code, supporting multi-agents, workflows, and RAG.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/huggingface/smolagents&quot; target=&quot;_blank&quot;&gt;smolagents: a barebones library for agents. Agents write python code to call tools and orchestrate other agents.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open sourced by Hugging Face, run powerful agents with just a few lines of code, supports any LLM, supports text, visual, and even audio input. (12.8K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/slavakurilyak/awesome-ai-agents&quot; target=&quot;_blank&quot;&gt;awesome-ai-agents: Awesome list of 300+ agentic AI resources&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AI agents outperform traditional LLMs - this is an awesome list of AI agent resources.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/91/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#90: A Year of uv!</title><link>https://weekly.pythoncat.top/en/issues/90/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/90/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sun, 23 Feb 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #90: A Year of uv!&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - give it a star if you like it!&lt;/p&gt;
&lt;p&gt;This week we&apos;re featuring 12 articles, 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://blog.reverberate.org/2025/02/10/tail-call-updates.html&quot; target=&quot;_blank&quot;&gt;A Tail Calling Interpreter For Python (And Other Updates)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The most exciting news lately is Python 3.14&apos;s new interpreter, which uses technology from this article&apos;s author. The article reviews the application of tail call optimization technology in multiple projects over the four years since it was proposed, including Python 3.14, LuaJIT Remake, GCC and Clang support, and the ongoing push to include it in C standard proposals.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.bitecode.dev/p/a-year-of-uv-pros-cons-and-should&quot; target=&quot;_blank&quot;&gt;A year of uv: pros, cons, and should you migrate&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;uv has been out for a year now, and its popularity momentum is as strong as Ruff! This long article thoroughly analyzes uv&apos;s pros and cons, when you should use it, and when you shouldn&apos;t. Overall, the advantages far outweigh the disadvantages, and the conclusion is clear - it&apos;s time to migrate to uv!&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://medium.com/mongodb/creating-the-mongodb-database-backend-for-django-1f3caf23a235&quot; target=&quot;_blank&quot;&gt;Creating the MongoDB Database Backend for Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From MongoDB&apos;s official blog, this introduces their journey of developing a NoSQL database backend for the Django framework, including discovering needs from survey data, developing the database backend based on open source projects, and implementing support for MongoDB features.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://socket.dev/blog/pypi-now-supports-ios-and-android-wheels-for-mobile-python-development&quot; target=&quot;_blank&quot;&gt;PyPI Now Supports iOS and Android Wheels for Mobile Python Development&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Great news! Through PEP-730 and PEP-738, Python now supports distributing binary packages (wheels) for iOS and Android platforms. This PyPI move will lower the barrier for Python mobile development.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://mathspp.com/blog/building-a-python-compiler-and-interpreter-10-elif-and-else&quot; target=&quot;_blank&quot;&gt;Building a Python compiler and interpreter – 10 elif and else&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The tenth article in the &quot;Building a Python compiler and interpreter&quot; series, implementing support for conditional statements elif and else, showing how to add complex control flow statements in a compiler.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://daniel.feldroy.com/posts/2025-02-deck-of-cards&quot; target=&quot;_blank&quot;&gt;Building a playing card deck&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces how to develop a complete deck of playing cards using Python and SVG images, supporting dynamic card generation, sorting, displaying card faces, shuffling and dealing, demonstrating the application of data processing, file operations, and visualization.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://saurabhalone.com/blogs/llama3/web&quot; target=&quot;_blank&quot;&gt;Implementing LLaMA3 in 100 Lines of Pure Jax&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you implement a simplified version of the LLaMA3 model? The article utilizes JAX&apos;s pure functions and features like JIT and vmap to implement all core components of the LLaMA3 model, suitable for learning Transformer architecture and JAX usage.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://www.mostlypython.com/measuring-efficiency/&quot; target=&quot;_blank&quot;&gt;Measuring the performance of Python&apos;s any() function&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When Python&apos;s any() function takes generator expressions versus lists as parameters, which performs better? After testing, the author found that when the first &lt;code&gt;True&lt;/code&gt; value appears early in the sequence, generator expressions perform better; when the entire sequence needs to be checked, lists might perform better.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://david.guillot.me/en/posts/tech/web-push-notifications-an-experiment/&quot; target=&quot;_blank&quot;&gt;Push notifications without a mobile app: an experiment (with Django)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Explores how to implement asynchronous push notifications through the Django framework using Web Push Notifications and Progressive Web Apps (PWA) technology without relying on mobile applications.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.bitecode.dev/p/change-pythons-syntax-with-the-coding&quot; target=&quot;_blank&quot;&gt;Change Python&apos;s syntax with the &quot;# coding:&quot; trick&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces how to customize code decoding methods through Python&apos;s &lt;code&gt;# coding:&lt;/code&gt; directive and &lt;code&gt;codecs&lt;/code&gt; module, thereby changing Python&apos;s syntax. The article implements a decoder that can convert brace syntax to Python&apos;s indentation syntax.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.frankel.ch/on-inheritance/&quot; target=&quot;_blank&quot;&gt;On inheritance and subtyping&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article compares the implementation of inheritance and subtyping in Java, Go, and Python, exploring how language design affects inheritance mechanisms: Java has explicit inheritance and subtyping, Go implements implicit inheritance through duck typing, while Python combines explicit inheritance with static duck typing through protocols.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://lukasz.langa.pl/62eae3e6-a598-4a1e-8f65-586d16e1bd0f/&quot; target=&quot;_blank&quot;&gt;Generating visual art every day in January&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author participated in the Genuary activity, generating a visual art piece every day in January. In this challenge, he deeply explored the application of PyScript and WebGL in creative programming, discussing the performance and limitations of Pyodide and MicroPython in browsers. The article also shares some stunning 3D creative works.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/gawel/pyquery&quot; target=&quot;_blank&quot;&gt;pyquery: A jquery-like library for python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It allows you to perform jQuery queries on XML documents, using lxml for fast XML and HTML manipulation. (2.3K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/Ebrizzzz/Youtube-playlist-to-formatted-text&quot; target=&quot;_blank&quot;&gt;Youtube-playlist-to-formatted-text: A desktop application that extracts YouTube playlist transcripts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automatically extracts subtitles from YouTube playlists, uses Gemini for text refinement, and outputs to formatted Markdown files.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/souzatharsis/podcastfy&quot; target=&quot;_blank&quot;&gt;podcastfy: An Open Source Python alternative to NotebookLM&apos;s podcast feature&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses generative AI to transform multimodal content into engaging multilingual voice conversations, serving as an alternative to Google&apos;s NotebookLM. (3.2K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/av/harbor&quot; target=&quot;_blank&quot;&gt;harbor: Effortlessly run LLM backends, APIs, frontends, and services with one command&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A containerized LLM toolkit that allows you to run LLMs and other services. Includes a CLI and companion app for easy management and running of AI services. (1.3K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/dvershinin/gixy&quot; target=&quot;_blank&quot;&gt;gixy: NGINX configuration static analyzer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A tool for analyzing NGINX configurations that prevents security misconfigurations and automates defect detection.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/bagofwords1/bagofwords&quot; target=&quot;_blank&quot;&gt;bagofwords: An AI-powered data tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A dashboard project developed with Python + Vue.js that seamlessly integrates with various data sources, including databases, APIs, and business systems, enabling effective data analysis.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/microsoft/OmniParser&quot; target=&quot;_blank&quot;&gt;OmniParser: A simple screen parsing tool towards pure vision based GUI agent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open sourced by Microsoft, it can parse user interface screenshots into structured and easily understandable elements, enhancing GPT-4V&apos;s ability to accurately locate and generate actions. (15.8K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/dogukanurker/tamga&quot; target=&quot;_blank&quot;&gt;Tamga: Modern, logging utility for Python with multiple output formats and colorful console output.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modern Python logging tool supporting multiple output formats and colorful console output. Uses Tailwind CSS color palette, integrates MongoDB, supports file rotation and email notifications.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/dhealy05/frames_of_mind&quot; target=&quot;_blank&quot;&gt;frames_of_mind: Animating R1&apos;s thoughts.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Saves chain of thought as text, then converts it to embeddings using OpenAI API, and finally plots the embeddings using t-SNE.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/vlm-run/vlmrun-hub&quot; target=&quot;_blank&quot;&gt;vlmrun-hub: A hub for various industry-specific schemas to be used with VLMs.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive repository containing predefined Pydantic schemas for extracting structured data from unstructured visual content such as images, videos, and documents. Leverages Pydantic for automatic data validation and type safety.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/enoch3712/ExtractThinker&quot; target=&quot;_blank&quot;&gt;ExtractThinker: ExtractThinker is a Document Intelligence library for LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Utilizes large language models to extract and classify structured data from documents, functioning like an ORM to enable seamless document processing workflows. (1.1K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/cartography-cncf/cartography&quot; target=&quot;_blank&quot;&gt;cartography: consolidates infrastructure assets and the relationships between them&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Through an intuitive graph view powered by Neo4j database, it visualizes relationships between infrastructure assets, reveals hidden dependencies, and reduces security risks. (3.2K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/90/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#89: Python 3.14&apos;s New Interpreter!</title><link>https://weekly.pythoncat.top/en/issues/89/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/89/</guid><description>Sharing 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sun, 16 Feb 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #89: Python 3.14&apos;s New Interpreter!&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - give it a star if you like it!&lt;/p&gt;
&lt;p&gt;This week we&apos;re featuring 12 articles, 12 open source projects, and 2 trending discussions.&lt;/p&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call&quot; target=&quot;_blank&quot;&gt; What&apos;s new in Python 3.14&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python 3.14.0 has released its alpha5 version, with the biggest highlight being the integration of a new tail-call-based interpreter that can boost code performance by up to 30%, with an average speed optimization of 9-15%! (Related: merge request &lt;a href=&quot;https://github.com/python/cpython/pull/128718&quot; target=&quot;_blank&quot;&gt;gh-128563: New tail-call interpreter&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.blueshoe.io/blog/python-rust-pyo3/&quot; target=&quot;_blank&quot;&gt;Efficiently Extending Python: PyO3 and Rust in Action&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How can you combine Rust&apos;s high performance with Python&apos;s flexibility to develop efficient and secure applications? This article introduces the PyO3 framework and Maturin tool, demonstrating through examples how to integrate Rust with Python.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://mathspp.com/blog/using-uv-to-build-and-install-python-cli-apps&quot; target=&quot;_blank&quot;&gt;Using uv to build and install Python CLI apps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A practical tutorial about Python uv, demonstrating how to develop a CLI application with uv and implement dependency installation management.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://labs.quansight.org/blog/pep-517-build-system-popularity&quot; target=&quot;_blank&quot;&gt;PEP 517 build system popularity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Before PEP-517 in 2017, setuptools held a monopoly position, but now other build tools are becoming popular. Based on the top 8000 most downloaded projects on PyPI, this article analyzes the popularity and development trends of different build tools.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.javonet.com/create-stunning-maps-in-node-js-by-integrating-pythons-folium-with-javonet/&quot; target=&quot;_blank&quot;&gt;Create Stunning Maps in Node.js by Integrating Python&apos;s folium with Javonet&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python&apos;s &lt;code&gt;folium&lt;/code&gt; is an interactive mapping library that can integrate with libraries like geopandas for geospatial analysis. This article shows how to integrate this library into Node.js projects, leveraging the advantages of both programming language ecosystems.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.mongodb.com/blog/post/mongodb-django-backend-now-available-public-preview&quot; target=&quot;_blank&quot;&gt;Official Django MongoDB Backend Now Available in Public Preview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Django officially released tools for MongoDB integration, supporting Django models, forms, validation and authentication, compatible with Django admin interface, and supporting migrations and database version management.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://thib.me/django-in-government&quot; target=&quot;_blank&quot;&gt;Django in government&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Which countries widely use Django to develop government websites? The author extracted 1000 government websites from 20 million websites, covering 88 countries, listing the top 10 countries using Django for government website development, and sharing some representative national government websites. (Why is China&apos;s data 0?)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://hynek.me/articles/python-subclassing-redux/&quot; target=&quot;_blank&quot;&gt;Subclassing in Python Redux&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author categorizes inheritance into three types: code sharing (harmful), interface implementation (optional but useful), and specialization (necessary), analyzing the pros and cons of each type. Generally speaking, &quot;composition over inheritance&quot; is preferred, but sometimes reasonable use of inheritance can lead to better code.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://lucasoshiro.github.io/software-en/2025-01-25-python_async_iterators/&quot; target=&quot;_blank&quot;&gt;Python: re-creating async in 10 lines using generators&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How can you achieve concurrent execution without using async/await? This article introduces using generator&apos;s yield mechanism to simulate asynchronous operations, achieving coroutine-like effects through manual task switching.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://peps.python.org/pep-0772/&quot; target=&quot;_blank&quot;&gt;PEP 772 – Packaging governance process&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This PEP proposes establishing a Python Packaging Council to manage and guide Python packaging standards, tools, and implementations. The document includes committee functions, member numbers and selection methods, conflict of interest handling, etc., aiming to provide a clear governance framework for the Python packaging ecosystem.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.appsignal.com/2025/01/15/how-to-use-regular-expressions-in-python.html&quot; target=&quot;_blank&quot;&gt;How to Use Regular Expressions in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article provides an in-depth introduction to regular expressions through Python&apos;s re module, covering practical code examples from basic to advanced levels, as well as some tips for optimizing regex performance.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://terriblesoftware.org/2025/01/22/the-7-most-influential-papers-in-computer-science-history/&quot; target=&quot;_blank&quot;&gt;The 7 Most Influential Papers in Computer Science History&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares 7 papers that have had profound impact on modern computer science: Turing&apos;s &quot;Computable Numbers&quot;, Shannon&apos;s &quot;Mathematical Theory of Communication&quot;, Codd&apos;s &quot;Relational Model&quot;, Cook&apos;s &quot;Complexity of Theorem Proving&quot;, Cerf and Kahn&apos;s &quot;Network Interconnection Protocol&quot;, Berners-Lee&apos;s &quot;Information Management Proposal&quot;, and Brin and Page&apos;s &quot;Large-Scale Hypertextual Web Search Engine&quot;.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/facelessuser/soupsieve&quot; target=&quot;_blank&quot;&gt;soupsieve: A modern CSS selector implementation for BeautifulSoup&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A CSS selector library for use with Beautiful Soup 4, designed to provide selection, matching, and filtering functionality using modern CSS selectors.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/StructuredLabs/preswald&quot; target=&quot;_blank&quot;&gt;preswald: Preswald is a full-stack platform for building, deploying, and managing interactive data applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A one-stop data application development and management platform covering end-to-end processes of data ingestion, ETL, and visualization, quickly connecting CSV, JSON, Parquet, or SQL databases. (1.3K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/vagos/llm-sort&quot; target=&quot;_blank&quot;&gt;llm-sort: Sort input lines semantically with llm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tell the LLM how to sort using natural language, then let the large model complete the sorting.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/rennf93/fastapi-guard&quot; target=&quot;_blank&quot;&gt;fastapi-guard: A security library for FastAPI that provides middleware to control IPs, log requests, and detect penetration attempts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A FastAPI network security middleware that protects against various security threats.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/IanTerzo/Neutron&quot; target=&quot;_blank&quot;&gt;Neutron: Create cross-platform apps in Python using HTML and CSS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Based on PyQt6 and QtWebEngine development, create GUI applications using Python + HTML/CSS.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/ocrmypdf/OCRmyPDF&quot; target=&quot;_blank&quot;&gt;OCRmyPDF: OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Adds OCR text layers to scanned PDF files, making them searchable or copy-pasteable while preserving the exact resolution of original embedded images. Uses Tesseract OCR engine to recognize over 100 languages. (18K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/GiovanniGiacometti/python-repo-template&quot; target=&quot;_blank&quot;&gt;python-repo-template: A Python template repository, featuring Just and UV&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python project template with core components including uv, Ruff, Mypy, Pytest, Loguru, Docker, and Github Actions. Uses Just instead of Make for command execution.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/lewj85/jessesort&quot; target=&quot;_blank&quot;&gt;jessesort: A new type of sorting algorithm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A sorting algorithm implemented using a new data structure called Rainbow, with O(n log n) time complexity, faster than Python&apos;s default sorted().&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/shrynx/docullim&quot; target=&quot;_blank&quot;&gt;docullim: auto-generate documentation for python code using llms&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Use simple decorators on functions and classes that need documentation generation, and let LLM automatically generate project documentation for you.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/WEIFENG2333/VideoCaptioner&quot; target=&quot;_blank&quot;&gt;VideoCaptioner: LLM-based intelligent subtitle assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A large model-based video subtitle processing assistant supporting full-process handling of speech recognition, subtitle segmentation, optimization, and translation. Supports network calls and local offline mode, with practical features like VAD, vocal separation, word-level timestamps, and batch subtitles. (4.4K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/nexsol-technologies/pgassistant&quot; target=&quot;_blank&quot;&gt;pgassistant: understand and optimize their PostgreSQL database performance.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides analysis of PG database behavior, identifies schema-related issues, and can correct them. Features user-friendly interface, SQL formatting with Sqlfluff, OpenAI assistant, and local LLM support. (1K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/mikeckennedy/content-types&quot; target=&quot;_blank&quot;&gt;content-types: A Python library to map file extensions to MIME types without accessing the file data.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Looks up MIME types based on file extensions, more comprehensive and accurate than the mimetypes library, without accessing and parsing files.&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Issues&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1iks79k/a_new_type_of_interpreter_has_been_added_to/&quot; target=&quot;_blank&quot;&gt;A new type of interpreter has been added to Python 3.14 with much better performance&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Reddit post about Python&apos;s new interpreter, posted by the feature&apos;s author.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.v2ex.com/t/1111032#reply0&quot; target=&quot;_blank&quot;&gt;Python 3.14 adopts new interpreter, speed improved by -3%~30%&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Discussion on V2EX about Python 3.14&apos;s new interpreter performance improvements.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/89/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#88: What Was Python&apos;s First Stable Version Like?</title><link>https://weekly.pythoncat.top/en/issues/88/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/88/</guid><description>Sharing 12 articles, 12 open-source projects, 1 hot discussion</description><pubDate>Sat, 08 Feb 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #88: What Was Python&apos;s First Stable Version Like?&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, and 1 trending discussion.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.bitecode.dev/p/lets-compile-python-10&quot; target=&quot;_blank&quot;&gt;Let&apos;s compile Python 1.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python celebrated its 31st birthday on January 27th this year. What was it like when it first released its stable version? The article uses Podman container technology to successfully compile and run Python 1.0.1, showcasing Python 1.0&apos;s features, characteristics, and important features that were missing in the early days.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.gauge.sh/blog/how-to-visualize-your-python-projects-dependency-graph&quot; target=&quot;_blank&quot;&gt;How to Visualize your Python Project&apos;s Dependency Graph&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Visualizing a project&apos;s dependency graph can help understand project structure, identify circular dependencies, and poor design. The article introduces how to use the Tach tool to visualize Python project dependency graphs, including defining module boundaries, syncing dependencies, and viewing dependency graphs.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://pythonspeed.com/articles/bytesio-reduce-memory-usage/&quot; target=&quot;_blank&quot;&gt;The surprising way to save memory with BytesIO&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;io.BytesIO&lt;/code&gt; is Python&apos;s class for handling byte data in memory, supporting file-like object read and write operations. The author points out that its read() method increases memory usage and compares two methods that can optimize memory usage: BytesIO.getbuffer() and BytesIO.getvalue().&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://radiac.net/blog/2025/01/monkeypatching-django/&quot; target=&quot;_blank&quot;&gt;Monkeypatching&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author developed a single-file Django framework called nanodjango. The article introduces how it&apos;s implemented through &quot;monkey patching&quot; techniques, explaining how to cleverly modify Django library&apos;s core mechanisms to simplify it into a single-file form.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://eli.thegreenplace.net/2025/decorator-jits-python-as-a-dsl/&quot; target=&quot;_blank&quot;&gt;Decorator JITs - Python as a DSL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;JIT decorator patterns dynamically compile functions into optimized machine code, using tools like LLVM for compilation and execution. The article demonstrates three implementation strategies: AST-based JIT, bytecode-based JIT, and trace-based JIT, explaining their implementation principles and specific cases (Triton, Numba, JAX).&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://autokitteh.com/technical-blog/hacking-the-import-system-and-rewriting-the-ast-for-durable-execution&quot; target=&quot;_blank&quot;&gt;Python - Rewriting the AST For Durable Execution&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Durable execution refers to persistently storing code execution state (such as variable values, function call results, etc.) so that execution can resume after program restart or interruption. The article introduces modifying AST to intercept function calls, supporting durable execution without changing original code logic.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://dev.to/treehouse/portable-python-bundles-on-windows-41ac&quot; target=&quot;_blank&quot;&gt;Portable Python Bundles on Windows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Packaging and distributing Python applications on Windows isn&apos;t convenient, and tools like pyinstaller and py2exe aren&apos;t always suitable. The article proposes a flexible solution similar to virtual environments that can be transferred between machines, requires no additional tools, and is independent of dependency paths.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://www.emilyriederer.com/post/py-rgo-2025/&quot; target=&quot;_blank&quot;&gt;Python Rgonomics - 2025 Update&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Switching languages equals switching mindsets—not just syntax. The article shares excellent tools from the Python community for R language users, including IDEs, environment management, data analysis, and table creation.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://tech.marksblogg.com/language-translation-ai-python.html&quot; target=&quot;_blank&quot;&gt;Language Translation with Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;LibreTranslate is a lightweight API service based on Argos Translate that supports text detection and translation. The article introduces its service deployment and Python implementation, as well as how to manage large models and optimize performance.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://py-free-threading.github.io/&quot; target=&quot;_blank&quot;&gt;py-free-threading&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is a series of articles about Python free threading, covering how to install and run GIL-disabled Python, port Python packages to support free threading, set up CI, testing and debugging, etc.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.askpython.com/resources/python-gaming-libraries-differences&quot; target=&quot;_blank&quot;&gt;Differences Between Python Gaming Libraries&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are quite a few Python libraries available for game development. The article provides a checklist and comparison of their pros and cons, including Pygame, Pyglet, Arcade, Panda3D, Ursina, and Cocos2d.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://www.loopwerk.io/articles/2025/django-task-queues&quot; target=&quot;_blank&quot;&gt;Looking at Django task runners and queues&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What are the pros and cons of different task queues and task scheduling tools, and what choices are available in Django projects? The author identifies shortcomings of django-mailer and django-apscheduler, providing four solutions: django-tasks, django-q2, cron, and celery, with code examples and reference configurations.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/huggingface/open-r1&quot; target=&quot;_blank&quot;&gt;open-r1: Fully open reproduction of DeepSeek-R1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hugging Face&apos;s official open source implementation of DeepSeek-R1, aiming to complete the missing open source parts of DeepSeek-R1 so everyone can replicate and reproduce it. (17.2K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/multimodal-art-projection/YuE&quot; target=&quot;_blank&quot;&gt;YuE: Open Full-song Music Generation Foundation Model, something similar to Suno.ai&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This model&apos;s Chinese name is &quot;Yue&quot; (music), specialized for music generation, creating complete songs with vocals and accompaniment based on lyrics. Can simulate various genres/languages/vocal techniques. (3.1K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/Goldziher/kreuzberg&quot; target=&quot;_blank&quot;&gt;kreuzberg: A text extraction library supporting PDFs, images, office documents and more&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A text content extraction library supporting PDFs, images, and Office documents, with Python async and type hint support.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/deepseek-ai/Janus&quot; target=&quot;_blank&quot;&gt;Janus: Unified Multimodal Understanding and Generation Models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;DeepSeek&apos;s open source multimodal large model series. The latest Janus-Pro not only generates images from text but also recognizes images. The 7B version outperformed DALL-E 3 and Stable Diffusion in testing. (15.1K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/Soulter/AstrBot&quot; target=&quot;_blank&quot;&gt;AstrBot: Multi-platform LLM Chatbot and Development Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports QQ, QQ channels, Telegram, WeChat platforms (Gewechat, Enterprise WeChat), built-in Web Chat, OpenAI GPT, DeepSeek, Ollama, Llama, GLM, Gemini, OneAPI, LLMTuner. Supports LLM Agent plugin development with visual panel. One-click deployment. Supports Dify workflows, code executor, Whisper speech-to-text. (2.3K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/fushall/cosmicpython-book&quot; target=&quot;_blank&quot;&gt;cosmicpython-book: Chinese Translation of &quot;Cosmic Python&quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Community member @fushall translated the open source &quot;Cosmic Python&quot; during the New Year holiday - a book about managing complexity with Pythonic architectural patterns.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/sharingan-no-kakashi/orange-intelligence&quot; target=&quot;_blank&quot;&gt;orange-intelligence: Orange intelligence&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Apple Intelligence is closed and inflexible. This &quot;Orange Intelligence&quot; project supports customization, using OpenAI or local LLaMA models to enable MacOS applications to seamlessly capture, process, and replace text.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/manjurulhoque/django-webflix&quot; target=&quot;_blank&quot;&gt;django-webflix: A Netflix-style streaming platform built with Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Netflix-style streaming platform developed with Python Django, providing subscription-based movie and TV show playback. Users can browse content, manage watchlists, track viewing history, and subscribe to access premium content through Stripe.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/HITsz-TMG/FilmAgent&quot; target=&quot;_blank&quot;&gt;FilmAgent: Resources of our paper &quot;FilmAgent: A Multi-Agent Framework for End-to-End Film Automation in Virtual 3D Spaces&quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A multi-agent collaboration system for end-to-end film automation in 3D spaces, including roles like director, screenwriter, actors, and cinematographer.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/kython28/leviathan&quot; target=&quot;_blank&quot;&gt;leviathan: A lightning-fast Zig-powered event loop for Python&apos;s asyncio&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A super-fast event loop library developed with Zig, fully compatible with asyncio, focused on maximizing performance and minimizing latency.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/US-Artificial-Intelligence/ScrapeServ&quot; target=&quot;_blank&quot;&gt;ScrapeServ: A self-hosted API that takes a URL and returns a file with browser screenshots.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Simple URL-to-screenshot service supporting self-hosting, runs in Docker, supports scrolling pages and regional screenshots, automatically handles 302 redirects, and properly handles download links and API requests.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/ricjuanflores/subauto&quot; target=&quot;_blank&quot;&gt;subauto: CLI tool for transcribing, translating, and embedding subtitles in videos using Gemini AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A CLI tool for automated video subtitle transcription, translation, and embedding, supporting concurrent processing of multiple videos, real-time progress tracking, with rich console interface.&lt;/p&gt;
&lt;h2&gt;🥂 Discussions &amp;amp; Issues&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://x.com/charliermarsh/status/1884651482009477368&quot; target=&quot;_blank&quot;&gt;Ruff is developing static type checking functionality&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally coming! The powerful Ruff is preparing to bring another performance surprise to Python with Rust!&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/88/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#87: Open Source Model Rivaling OpenAI-o1</title><link>https://weekly.pythoncat.top/en/issues/87/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/87/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 25 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #87: Open Source Model Rivaling OpenAI-o1&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles and 12 open source projects.&lt;/p&gt;
&lt;p&gt;Next week we&apos;ll take a break for the Spring Festival holiday. Wishing everyone a prosperous Year of the Snake in advance! 🐍 (PS. I&apos;ve prepared some red envelope covers on the Python Cat WeChat account for everyone - free to claim! 🧧)&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.alexmolas.com/2025/01/15/ipynb-for-llm.html&quot; target=&quot;_blank&quot;&gt;Optimizing Jupyter Notebooks for LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How can you optimize Jupyter Notebooks to reduce token consumption and usage costs for large language models? The author achieved a 94% cost reduction by excluding useless data from &lt;code&gt;.ipynb&lt;/code&gt; files, such as base64-encoded images and metadata.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://quentin.pradet.me/blog/urllib3-in-2024.html&quot; target=&quot;_blank&quot;&gt;urllib3 in 2024&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A 2024 summary of the urllib3 project. Key highlights include receiving financial support from multiple channels, progress on HTTP/2 and WASM support, and vulnerabilities fixed with LaunchDarkly sponsorship.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://dev.to/empiree/how-to-become-an-ai-developer-in-2025-full-guide-resources-a0p&quot; target=&quot;_blank&quot;&gt;How to Become an AI Developer in 2025 (Full Guide + Resources)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article shares programming learning resources, including articles, videos, and books covering mathematics/statistics, machine learning, AI frameworks, and data analysis.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://www.enterprisedb.com/blog/embedding-python-rust-tests&quot; target=&quot;_blank&quot;&gt;Embedding Python in Rust (for tests)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author embedded a Python interpreter into Rust&apos;s test executor using PyO3. The article covers the implementation process, including compiling Python from source, executing Python code with PyO3, and handling complex and dynamic types.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://peps.python.org/pep-0773/&quot; target=&quot;_blank&quot;&gt;PEP 773 – A Python Installation Manager for Windows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are three main ways to install Python distributions on Windows, each with limitations that don&apos;t meet modern use cases. This PEP proposes a unified Windows installation workflow that addresses the limitations of existing processes.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://blog.serghei.pl/posts/emacs-python-ide/&quot; target=&quot;_blank&quot;&gt;Advanced Python Development Workflow in Emacs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How can you turn Emacs into a powerful Python development environment? The author provides detailed coverage of useful plugins and configurations for code intelligence, code checking and static analysis, debugging, and environment management, demonstrating specific usage and sharing personal insights on tool selection.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://blog.devgenius.io/10-ways-to-work-with-large-files-in-python-effortlessly-handle-gigabytes-of-data-aeef19bc0429&quot; target=&quot;_blank&quot;&gt;10 Ways to Work with Large Files in Python: Effortlessly Handle Gigabytes of Data! &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What are the best practices and techniques for handling GB-sized large files in Python? How can you avoid memory errors, improve speed, and optimize resource usage? The article shares 10 file processing methods and some useful file processing libraries.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://venthur.de/2025-01-12-build-backends.html&quot; target=&quot;_blank&quot;&gt;Investigating the popularity of Python build backends over time (II) &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Last year, the author analyzed which build backends were used in open source projects&apos; pyproject.toml files. This year&apos;s analysis with optimized statistics shows the top contenders remain: setuptools, poetry, hatching, and flit.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://rednafi.com/python/log_context_propagation/&quot; target=&quot;_blank&quot;&gt;Log context propagation in Python ASGI apps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces how to implement log context propagation in Python ASGI applications, enabling logs to automatically carry relevant context information (such as user ID and platform type). Uses &lt;code&gt;contextvars&lt;/code&gt; custom log formatters and implements logging middleware to automatically tag log messages.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://peps.python.org/pep-0771/&quot; target=&quot;_blank&quot;&gt;PEP 771 – Default Extras for Python Software Packages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This PEP proposes a mechanism allowing Python packages to install certain optional dependencies by default when extras aren&apos;t explicitly specified, providing default installation solutions for recommended but non-essential dependencies and multi-backend/frontend support scenarios.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://jtanx.github.io/2018/12/28/turtle-flag-drawing/&quot; target=&quot;_blank&quot;&gt;Flag drawing with Turtle&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you draw national flags using the Turtle library? How do you solve problems with complex graphics, coordinate transformations, Bézier curves, and style parsing? The article shares techniques for Turtle graphics drawing and SVG parsing with impressive results.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://montasaurus.com/posts/how-i-build&quot; target=&quot;_blank&quot;&gt;My Development Tools and Workflow Sharing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares tools and processes used in software development, covering local development environments, server configuration, development tools, backend and frontend tech stacks, and software architecture approaches.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://huggingface.co/deepseek-ai/DeepSeek-R1&quot; target=&quot;_blank&quot;&gt;DeepSeek-R1: Open Source Model Rivaling OpenAI-o1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;DeepSeek&apos;s first-generation reasoning model that performs comparably to OpenAI-o1 on math, code, and reasoning tasks. Fully open source, also includes 6 models distilled from Llama and Qwen. (2.4K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/TeamWiseFlow/wiseflow&quot; target=&quot;_blank&quot;&gt;wiseflow: an agile information mining tool that extracts concise messages from various sources&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An agile information mining tool that leverages large models&apos; thinking and analysis capabilities to precisely extract specific information from various sources, automatically categorizing and uploading to databases. Currently supports 4 information sources: websites, RSS, search engines, and WeChat public accounts. (5.7K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/daya0576/beaverhabits&quot; target=&quot;_blank&quot;&gt;beaverhabits: A self-hosted habit tracking app without &quot;Goals&quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A self-hosted habit tracking app that doesn&apos;t set goals.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/OmenApps/django-templated-email-md&quot; target=&quot;_blank&quot;&gt;django-templated-email-md: An extension for creating emails with Markdown&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Write email templates using Markdown syntax, automatically convert to HTML and generate emails. Uses Premailer to inline CSS styles and seamlessly integrates with django-templated-email.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/isd-project/isd&quot; target=&quot;_blank&quot;&gt;isd：a better way to work with systemd units&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A TUI application that simplifies systemd management, providing fuzzy search, auto-refresh preview, intelligent sudo handling, and fully customizable panels for both advanced users and newcomers.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/sgriffin53/ccrl_challenger_flask_app&quot; target=&quot;_blank&quot;&gt;ccrl_challenger_flask_app: Website to play against CCRL engines in the browser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A gaming website developed with Python Flask that supports playing against 118 chess engines from CCRL (Computer Chess Rating Lists).&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/patx/micropie&quot; target=&quot;_blank&quot;&gt;micropie: an ultra-micro Python web framework that gets out of your way&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A minimalist Python web framework providing routing, session management, WSGI support, and Jinja2 template rendering.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/zasper-io/zasper&quot; target=&quot;_blank&quot;&gt;zasper: Fastest and Most Efficient IDE to run Jupyter Notebooks.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An IDE designed for large-scale concurrency with extremely low memory footprint, excellent performance, and efficient handling of massive concurrent connections. Supports MacOS and Linux, Windows support pending. (1.7K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/bytedance/UI-TARS&quot; target=&quot;_blank&quot;&gt;UI-TARS: ByteDance&apos;s Open Source GUI Agent Model&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A vision-large-model-driven GUI agent capable of seamlessly interacting with graphical user interfaces with human-like perception, reasoning, and action capabilities, achieving end-to-end task automation without predefined workflows or manual rules. (1.2K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/Alibaba-NLP/WebWalker&quot; target=&quot;_blank&quot;&gt;WebWalker: Benchmarking LLMs in Web Traversal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Alibaba&apos;s open source LLM benchmark testing task containing 680 queries across four real-world scenarios, covering over 1373 web pages.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/OpenCSGs/coagent&quot; target=&quot;_blank&quot;&gt;coagent: An open-source framework for building monolithic or distributed agentic systems&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open source framework supporting development from simple LLM calls to complex compositional workflows and autonomous agents, supporting single-agent and multi-agent collaboration, and Model Context Protocol (MCP).&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://pyviz.org/index.html&quot; target=&quot;_blank&quot;&gt;Python tools for data visualization&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A website dedicated to Python data visualization tools, featuring various open source visualization tools, tutorials on using these tools, and examples of using visualization tools to study domain-specific problems.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/87/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#86: Jupyter Notebook Intelligent Coding Assistant</title><link>https://weekly.pythoncat.top/en/issues/86/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/86/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 18 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #86: Jupyter Notebook Intelligent Coding Assistant&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles and 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://blog.jupyter.org/introducing-notebook-intelligence-3648c306b91a&quot; target=&quot;_blank&quot;&gt;Introducing Notebook Intelligence! &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Notebook Intelligence (NBI) is an AI coding assistant and extensible AI framework designed specifically for JupyterLab. It&apos;s built on GitHub Copilot and draws inspiration from its design philosophy. The article introduces related features and usage guidance.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://juejin.cn/post/7459679914929831974&quot; target=&quot;_blank&quot;&gt;Writing a &quot;Redis&quot; in Pure Python - Faster Than Native Redis?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author developed a NoSQL database using Python to simulate Redis, implementing 5 basic data structures and related operations, supporting expiration time settings and AOF persistence. The article introduces basic usage and compares it with Redis.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://juejin.cn/post/7458630988761612297?share_token=87b31cd7-34d2-4d37-9dc4-0be941df5640&quot; target=&quot;_blank&quot;&gt;30-Minute Python Desktop Development Tutorial + My Ready-to-Use Scaffold&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares their Python desktop project with very rich content, including environment setup, functional component installation (PyQt6, etc.), PyQT configuration file preparation, detailed code flow (basic components, project structure and code details), and result demonstration.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://dev.to/sagnew/working-with-files-asynchronously-in-python-using-aiofiles-and-asyncio-1a4k&quot; target=&quot;_blank&quot;&gt;Working with Files Asynchronously in Python using aiofiles and asyncio&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In asynchronous projects, file I/O can become a bottleneck. The article introduces how to use aiofiles for asynchronous file operations, including async file reading, async file writing, and async processing of multiple files.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.peterbe.com/plog/run-standalone-python-2025&quot; target=&quot;_blank&quot;&gt;How I run standalone Python in 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What if you just want to quickly write a script or start a REPL, but need to use a specific Python version and install some specific dependencies? The article introduces uv usage tips and creating standalone scripts. (Related: &lt;a href=&quot;https://valatka.dev/2025/01/12/on-killer-uv-feature.html&quot; target=&quot;_blank&quot;&gt;The Killer uv Feature You Should Know About&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://pybit.es/articles/fitness-tracker-app-with-python-reflex/&quot; target=&quot;_blank&quot;&gt;Creating A Fitness Tracker App With Python Reflex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Reflex can build responsive applications through functional and declarative approaches. This tutorial shows how to use it to develop a simple fitness tracking website, including project setup, basic code, database operations, and UI interface features.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://blog.pamelafox.org/2023/07/automated-accessibility-audits-for.html?m=1&quot; target=&quot;_blank&quot;&gt;Automated accessibility audits for Python web apps (Part 1)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article introduces how to use automated testing methods to check if web applications are healthy, using Playwright + Axe-core for end-to-end automated testing of web UI, including parameterized testing for multiple routes and handling scenarios where user interactions cause page changes.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://pythonspeed.com/articles/identifying-resource-leaks-with-pytest/&quot; target=&quot;_blank&quot;&gt;Catching memory leaks with your test suite&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you detect resource leak issues early? The article introduces specific methods for implementing resource leak detection using &lt;code&gt;tracemalloc&lt;/code&gt; and &lt;code&gt;pytest&lt;/code&gt;, and analyzes the causes of resource leaks.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://kracekumar.com/post/subtitle-generator-using-whisper/&quot; target=&quot;_blank&quot;&gt;Subtitle Generator Using Whisper&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article introduces how to use ffmpeg + Whisper for audio extraction, audio-to-text conversion, and batch subtitle processing. In the end, you can see that Whisper&apos;s performance with Chinese is not ideal.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.deeplearning.ai/the-batch/issue-283/&quot; target=&quot;_blank&quot;&gt;When Good Models Do Bad Things, What Users Really Want, and more...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Professor Andrew Ng shares some best practices for developing simple web application prototypes, including using Python and FastAPI for development, running backend applications with Uvicorn, cloud deployment choices, MongoDB database, and programming assistance with OpenAI&apos;s o1 and Claude 3.5 Sonnet.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://dev.to/marcopeix/the-complete-introduction-to-time-series-classification-in-python-108g&quot; target=&quot;_blank&quot;&gt;The Complete Introduction to Time Series Classification in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article systematically organizes time series classification methods, introducing various classification models based on distance, dictionary, ensemble, features, intervals, kernels, and shapes, and demonstrates model implementation and computation processes through actual datasets.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://log.schemescape.com/posts/programming-languages/python-as-a-modern-basic.html&quot; target=&quot;_blank&quot;&gt;Python is the new BASIC&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BASIC was once very popular and the preferred language for beginners; today&apos;s Python has become the new BASIC. The author reviews BASIC&apos;s development, introduces Python&apos;s many advantages, and explains why Python has become so widely popular.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/FujiwaraChoki/MoneyPrinterV2&quot; target=&quot;_blank&quot;&gt;MoneyPrinterV2: Automate the process of making money online.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;V2 version of a popular project, supporting Twitter bots, YouTube short video automation, and affiliate marketing (Amazon and Twitter). (5.6K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/XiaoYouChR/Ghost-Downloader-3&quot; target=&quot;_blank&quot;&gt;Ghost-Downloader-3: Cross-platform Multi-threaded Downloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AI-powered next-generation cross-platform multi-threaded downloader, supporting multi-threaded downloads, intelligent acceleration, resume capability, download history, and file verification.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/django/channels&quot; target=&quot;_blank&quot;&gt;channels: Developer-friendly asynchrony for Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Extends Django&apos;s functionality, providing asynchronous support for WebSockets, long-polling HTTP, task offloading, and more. (6.2K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/pyper-dev/pyper&quot; target=&quot;_blank&quot;&gt;pyper: Concurrent Python made simple&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A flexible framework based on functional programming patterns, suitable for concurrent and parallel data processing, usable for ETL systems, data microservices, and data collection.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/owenlamont/uv-secure&quot; target=&quot;_blank&quot;&gt;uv-secure: Scan your uv.lock file for dependencies with known vulnerabilities&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Scans dependencies in uv lock files to check if these packages and their versions have known vulnerabilities. Only supports packages from PyPI.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/blorm-network/ZerePy&quot; target=&quot;_blank&quot;&gt;ZerePy: an open-source launch-pad for AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Helps you deploy your own agents on the X platform, supporting technologies like OpenAI, Anthropic, and EternalAI LLMs.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/igorbenav/fastcrud&quot; target=&quot;_blank&quot;&gt;fastcrud: a Python package for FastAPI, offering robust async CRUD operations and flexible endpoint creation utilities.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A package designed for FastAPI, providing powerful CRUD operations that further simplify the development process through advanced features like automatic connection condition detection, dynamic sorting, offset and cursor pagination.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/Vizonex/Winloop&quot; target=&quot;_blank&quot;&gt;Winloop: An Alternative library for uvloop compatability with windows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Windows-compatible library modified from uvloop. uvloop is a high-performance Python async I/O library based on libuv, serving as an alternative to the asyncio event loop.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/taogeYT/fast-grpc&quot; target=&quot;_blank&quot;&gt;fast-grpc: Fast to Code gRPC in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Quickly create simple gRPC services with Python.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/glamp/bashplotlib&quot; target=&quot;_blank&quot;&gt;bashplotlib: plotting in the terminal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python package and command-line tool for drawing basic charts in the terminal, enabling quick data visualization. Supports custom chart colors, sizes, titles, and shapes, importing charts through standard input. (1.9K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/dloss/klp&quot; target=&quot;_blank&quot;&gt;klp: Lightweight CLI viewer for structured log files and streams&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lightweight command-line tool for analyzing and parsing structured logs in various formats, supporting logfmt, JSON Lines, CSV, TSV, SQLite, and other formats.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/AmberSahdev/Open-Interface&quot; target=&quot;_blank&quot;&gt;Open-Interface: Control Any Computer Using LLMs.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sends requests to large models like GPT-4 to determine required operations, then simulates keyboard and mouse automation to execute operations, sending progress screenshots to the large model for operation adjustments. (1K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/86/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#85: Let AI Help You Write Better Code</title><link>https://weekly.pythoncat.top/en/issues/85/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/85/</guid><description>Sharing 12 articles, 12 open-source projects, 1 audio/video item</description><pubDate>Sat, 11 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #85: Let AI Help You Write Better Code&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, and 1 podcast/video.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://minimaxir.com/2025/01/write-better-code/&quot; target=&quot;_blank&quot;&gt;Can LLMs write better code if you keep asking them to &quot;write better code&quot;? &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author wanted to experiment with improving AI programming quality by continuously asking large models to write better code. After multiple iterations, they managed to improve a simple programming task&apos;s performance by 100x! This shows us the importance of prompt engineering and the potential of LLMs in code optimization. I&apos;ll definitely try this next time...&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://newvick.com/python-concurrency/&quot; target=&quot;_blank&quot;&gt;Python Concurrency: Threads, Processes, and asyncio Explained&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article introduces the three main approaches to Python concurrent programming: threads, processes, and asyncio. Using practical code examples and performance tests, it analyzes their pros and cons, showcasing the characteristics and applicable scenarios of each method.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://omairmajid.com/posts/2021-07-16-why-is-hash-in-python/&quot; target=&quot;_blank&quot;&gt;Why is hash(-1) == hash(-2) in Python? &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What&apos;s going on? In Python, hash(-1) actually equals hash(-2), which is -2? The author dug through Python&apos;s official documentation and source code to track down the specific implementation of the &lt;code&gt;hash&lt;/code&gt; function and finally found the reason: C language uses -1 to indicate error return values, so the hash() function might return -1 on error. If it correctly returns -1 as well, it would be confusing, so they agreed to use -2 as a replacement...&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://kai.bi/post/run-python-programs-easily-in-the-browser&quot; target=&quot;_blank&quot;&gt;Run Python in Your Browser Effortlessly&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author used Cloudflare&apos;s Python Workers to turn Microsoft&apos;s recently open-sourced MarkItDown into a website. It leverages Pyodide, which uses WebAssembly to port CPython, enabling Python to run in browsers.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://peps.python.org/pep-0769/&quot; target=&quot;_blank&quot;&gt;PEP 769 – Add a &apos;default&apos; keyword argument to &apos;attrgetter&apos; and &apos;itemgetter&apos; &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A new proposal suggesting adding a &lt;code&gt;default&lt;/code&gt; keyword argument to the &lt;code&gt;attrgetter&lt;/code&gt; and &lt;code&gt;itemgetter&lt;/code&gt; functions in the &lt;code&gt;operator&lt;/code&gt; module, so they can return default values when target attributes or items are missing, avoiding exceptions and simplifying code.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://zahlman.github.io/posts/2025/01/07/python-packaging-2/&quot; target=&quot;_blank&quot;&gt;Python Packaging: Why we can&apos;t have nice things, Part 2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;pipx is a useful Python package management tool. The article introduces its uses and some limitations, but mainly shares three tips for improving pipx efficiency: managing environments through &quot;injecting&quot; dependencies, using pipx&apos;s built-in pip for installations, and installing pipx itself through pipx to get updates.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://www.david-dahan.com/blog/comparing-fastapi-and-django&quot; target=&quot;_blank&quot;&gt;Django vs. FastAPI, An Honest Comparison&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Compares these two Python frameworks across multiple dimensions, including batteries included, architecture, backend vs full-stack, ease of use/learning curve, modernity, performance, ORM and configuration. As for which to choose, it still depends on project requirements.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://bernsteinbear.com/blog/weakrefs/&quot; target=&quot;_blank&quot;&gt;Weak references and garbage collectors&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author once participated in developing a Python interpreter called Skybison, which used a moving garbage collector that organizes memory by moving objects and updating pointers. The article explains how to handle weak reference objects during garbage collection and how to implement this in custom garbage collectors.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/FareedKhan-dev/AI-text-to-video-model-from-scratch&quot; target=&quot;_blank&quot;&gt;AI-text-to-video-model-from-scratch: build a small scale text-to-video model from scratch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you implement a text-to-video model from scratch? The article provides detailed coverage of relevant theoretical concepts, GAN architecture, model training, implementing specific functions (text embedding layers, generator layers, discriminator layers, etc.), and using the trained model to generate AI videos.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.pulumi.com/blog/python-for-devops/&quot; target=&quot;_blank&quot;&gt;Python for DevOps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python can flexibly develop projects and also build long-term infrastructure. The article introduces 15 libraries used in DevOps work, including Django and Flask for developing web dashboards, Schedule and Airflow for task scheduling, Scapy for network analysis, and Docker SDK and Dagger for containerization and cloud interaction, among others.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://dev.to/yogesh10/building-an-anemia-detection-system-using-machine-learning-368i&quot; target=&quot;_blank&quot;&gt;Building an Anemia Detection System Using Machine Learning&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Anemia affects millions of people worldwide, and traditional detection methods are time-consuming, so the author developed a system that can quickly assess and accurately predict anemia. The project uses scikit-learn to implement a random forest classifier, develops a web interface based on Flask, and the code is open source.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://arthurchiao.art/blog/ai-agent-white-paper-zh/&quot; target=&quot;_blank&quot;&gt;Google Releases AI Agent Technology White Paper&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What&apos;s the difference between Agents and large models? The hallmark that distinguishes humans from animals is tool use, and Agents are large models that can use tools. Introduces how Agents work, what reasoning frameworks they use, different tool types, improving model performance through targeted learning, and rapidly developing Agents based on LangChain.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/echohive42/AI-reads-books-page-by-page&quot; target=&quot;_blank&quot;&gt;AI-reads-books-page-by-page: Page-by-Page PDF Knowledge Extractor &amp;amp; Summarizer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A concise script that performs intelligent page-by-page analysis of PDF books, systematically extracting knowledge points and generating progressive summaries at specified intervals, with persistent knowledge base storage. Intelligently skips table of contents and index pages.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/adamwlarson/ai-book-writer&quot; target=&quot;_blank&quot;&gt;ai-book-writer: Experimenting with AutoGen to see if an entire book can be written with AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses multiple specialized AI agents working collaboratively to create coherent, structured books based on initial prompts, with automated world-building and setting management, supporting complex, multi-chapter narratives.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/browser-use/web-ui&quot; target=&quot;_blank&quot;&gt;web-ui: Run AI Agent in your browser.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Web UI created based on the recently popular browser-use project, developed with Gradio, supporting multiple LLMs and allowing you to use your own browser without needing to log in again. (2K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/SWivid/F5-TTS&quot; target=&quot;_blank&quot;&gt;F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching&quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source TTS speech synthesis tool from Shanghai Jiao Tong University, using ConvNeXt V2&apos;s diffusion Transformer. Supports multilingual switching, speech rate adjustment, and emotional expression. (8.8K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/guoriyue/AutoMouser&quot; target=&quot;_blank&quot;&gt;AutoMouser: AutoMouser automatically generates browser automation code from your mouse movements,&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is a Chrome extension that can track mouse actions like clicks, drags, and hovers in real-time, using OpenAI&apos;s GPT model to automatically generate Selenium automation code.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/Azzedde/paper_to_podcast&quot; target=&quot;_blank&quot;&gt;paper_to_podcast: A very quick project that transforms research papers into engaging three-person discussions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lets AI help you transform papers into engaging three-person conversational podcast episodes, featuring a host, learner, and expert, providing valuable insights and critical thinking that makes complex information easier to understand and absorb.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/BetaStreetOmnis/xhs_ai_publisher&quot; target=&quot;_blank&quot;&gt;xhs_ai_publisher: Xiaohongshu AI Operations Assistant (Content Generation and Auto-Publishing)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An automated operations assistant providing graphical interface and automation scripts, enabling automatic login and article publishing, supporting content generation, image management, and article preview.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/vinayak-mehta/ipychat&quot; target=&quot;_blank&quot;&gt;ipychat: An AI extension for IPython that makes it work like Cursor&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Adds AI capabilities to IPython, helping you quickly understand, debug, and write Python code. Context-aware, Markdown responses with syntax highlighting, supports multiple large models, interactive configuration.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/MarioSieg/magnetron&quot; target=&quot;_blank&quot;&gt;magnetron: A small but powerful, homemade PyTorch from scratch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A minimalist PyTorch implementation developed using C99 and Python, aimed at understanding the internal mechanisms of PyTorch and other deep learning frameworks. Interestingly, PyTorch team members on X invited this project&apos;s author to join PyTorch.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/dendrite-systems/dendrite-python-sdk&quot; target=&quot;_blank&quot;&gt;dendrite-python-sdk: Tools to build web AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enables web AI agents to browse the internet as easily as humans, interact with elements, extract structured data, verify identity, upload/download files, and browse without being blocked.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://django.wtf/trending/?page=1&amp;amp;trending=365&quot; target=&quot;_blank&quot;&gt;Trending Django projects&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A navigation website that collects trending projects for the Django community, currently featuring over 800 projects.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/yikeke/zh-style-guide&quot; target=&quot;_blank&quot;&gt;zh-style-guide: An open-source style guide for writing Chinese technical documents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source e-book suitable for guiding technical document writing, providing reference standards for language style, structural format, content elements, punctuation, formatting and layout. (Shared by @Please Call Me Big Mengmeng)&lt;/p&gt;
&lt;h2&gt;🐢 Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.bilibili.com/video/BV1gCrNY5Ekm/?vd_source=caffadb5e764a7bc881bd9a7149c9109&quot; target=&quot;_blank&quot;&gt;AI-Generated English Podcast: Python Trending Weekly Season 1 Highlights Collection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I used Google&apos;s NotebookLM to turn this newsletter&apos;s Season 1 collection into a two-person conversational podcast! Listening to the two hosts earnestly sharing interesting articles and projects from the newsletter feels quite magical. (P.S.: How could we miss Season 2? &lt;a href=&quot;https://www.bilibili.com/video/BV1FHrNYbEXj/?vd_source=caffadb5e764a7bc881bd9a7149c9109&quot; target=&quot;_blank&quot;&gt;Python Trending Weekly Season 2 Highlights Collection--English Podcast&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/85/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#84: Python Best Practices in 2024</title><link>https://weekly.pythoncat.top/en/issues/84/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/84/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 04 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #84: Python Best Practices in 2024&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles and 12 open source projects.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.stuartellis.name/articles/python-modern-practices/&quot; target=&quot;_blank&quot;&gt;Modern Good Practices for Python Development&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive Python development practices guide covering Python selection and management, development tools (package management, formatting, and code checking), language syntax usage, testing tools, packaging tools, logging, virtual environments, and more. It&apos;s pretty much all-encompassing.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://4zm.org/2024/10/28/state-of-the-art-python-in-2024.html&quot; target=&quot;_blank&quot;&gt;State of the Art Python in 2024&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What are the best practices for creating Python projects in 2024? What tools are recommended? The author&apos;s list includes uv, ruff, pyproject.toml, pyright, pydantic, pytest, and click. The article received lots of upvotes and replies on Reddit.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.miguelgrinberg.com/post/a-year-in-review-flask-in-2024&quot; target=&quot;_blank&quot;&gt;A Year In Review: Flask in 2024&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What interesting things happened in the Flask community in 2024? The author reviews Flask&apos;s development from several perspectives, including version releases, framework development speed, new features, backward compatibility, competition, and popularity.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.blog/developer-skills/programming-languages-and-frameworks/introducing-annotated-logger-a-python-package-to-aid-in-adding-metadata-to-logs/&quot; target=&quot;_blank&quot;&gt;Introducing Annotated Logger: A Python package to aid in adding metadata to logs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;GitHub&apos;s vulnerability management team has open-sourced a new logging library called Annotated Logger. It uses decorators to log function and class execution, supports custom log objects, sends JSON-formatted logs, and supports adding fields like Git branch and vulnerability names to logs.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://rtpg.co/2025/01/01/cowboy-coding-memory&quot; target=&quot;_blank&quot;&gt;Cowboy Debugging Python Memory Leaks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you debug memory leak issues in Python? The author shares the &lt;code&gt;objgraph&lt;/code&gt; library, which can view memory object growth and trigger runtime checks through signals. The article shows how to use it to locate and visualize memory leaks, helping to quickly identify and resolve memory leak problems.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://www.bitecode.dev/p/all-your-python-project-in-one-file&quot; target=&quot;_blank&quot;&gt;All your Python project in one file with shiv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you use &lt;code&gt;shiv&lt;/code&gt; to package a Python project and its dependencies into an executable zip file (zipapp)? How does shiv improve runtime speed? What other features does shiv support, and what issues should you watch out for when using it?&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://blog.pypi.org/posts/2024-12-30-quarantine/&quot; target=&quot;_blank&quot;&gt;Project Quarantine&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The official PyPI blog introduces the project quarantine feature, which allows administrators to flag potentially harmful projects and prevent malicious software from being installed. The article covers implementation details of this feature. Since August 2024, about 140 projects have been flagged for quarantine, with only one being corrected.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://blog.sentry.io/debugging-python-with-vs-code-and-sentry/&quot; target=&quot;_blank&quot;&gt;Debugging Python with VS Code and Sentry&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you set up and use debugging features in VS Code? The article covers installing extensions, configuring debug environments, using breakpoints, adding variable monitoring, handling common exceptions like &lt;code&gt;FileNotFoundError&lt;/code&gt; and &lt;code&gt;JSONDecodeError&lt;/code&gt;, and shows how to use Sentry for continuous monitoring and debugging in production environments.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.jupyter.org/build-your-jupyter-dashboard-using-solara-569fa5b16e9c&quot; target=&quot;_blank&quot;&gt;Build your Jupyter dashboard using Solara&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Introduces using Solara&apos;s UI components to create an interactive dashboard in Jupyter, with the final product allowing users to filter, visualize, and explore datasets on a map. The second part of the series covers how to deploy the service, and the third part introduces adding more components to extend the dashboard.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://ericmjl.github.io/blog/2024/11/8/disposable-environments-for-ad-hoc-analyses/&quot; target=&quot;_blank&quot;&gt;Disposable environments for ad-hoc analyses&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;juv is a tool for simplifying Python environment management in Jupyter notebooks, allowing dependencies to be embedded directly in notebook files for easier setup and sharing. The article also covers integrating juv with pyds-cli for temporary data analysis, enhancing reusability and reducing environment conflicts.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://adamj.eu/tech/2024/12/30/python-spy-changes-sys-monitoring/&quot; target=&quot;_blank&quot;&gt;Python: spy for changes with sys.monitoring&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;sys.monitoring&lt;/code&gt; introduced in Python 3.12 can listen for specific events on particular code lines, providing fine-grained control. The article demonstrates through practical examples how to use it to monitor changes to sys.path, how to set up monitoring callback functions, and shows its powerful utility in debugging complex code.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://people.ece.cornell.edu/land/courses/ece4760/labs/s2021/Boids/Boids.html&quot; target=&quot;_blank&quot;&gt;Implementation and Extension: Applications of the Boids Algorithm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Boids algorithm is an artificial life program that simulates flocking behavior in birds, producing realistic natural bird dynamics. The article provides an in-depth explanation of Boids algorithm implementation, introduces how to implement Boids animation on TFT displays, and explores possibilities for adding complex behaviors like predators and roosting behavior.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/Rockhopper-Technologies/enlighten&quot; target=&quot;_blank&quot;&gt;enlighten: Enlighten Progress Bar for Python Console Apps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python console colored progress bar library with the advantage of writing directly to stdout and stderr, supporting Jupyter Notebooks.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/mkniewallner/migrate-to-uv&quot; target=&quot;_blank&quot;&gt;migrate-to-uv: Migrate a project from Poetry/Pipenv to uv package manager&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Helps you quickly migrate Poetry/Pipenv projects to the currently popular uv package manager.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/luchog01/minimalistic-fastapi-template&quot; target=&quot;_blank&quot;&gt;minimalistic-fastapi-template: This is a simple but robust FastAPI project ready for your startup!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modern, production-ready FastAPI project template supporting CRUD, async SQLAlchemy with PostgreSQL, custom exception handling, CI and testing pipelines, pre-commit code checking, and one-click Railway deployment.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/jingyaogong/minimind&quot; target=&quot;_blank&quot;&gt;minimind: Train a 26M parameter GPT from scratch in 3 hours&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Train a tiny language model under 30M parameters completely from scratch, with fast inference and even training possible on regular personal GPUs. Not just an open-source model implementation, but also a tutorial for getting started with Large Language Models (LLMs). (3.2K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/em1208/adrf&quot; target=&quot;_blank&quot;&gt;adrf: Async support for Django REST framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enables Django to support async class and function-based views, supporting Django 4.1+.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/hao-ai-lab/FastVideo&quot; target=&quot;_blank&quot;&gt;FastVideo: accelerating large video diffusion model&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight framework for consistency distillation of video diffusion models, achieving 8x inference acceleration. Supports distillation/fine-tuning/inference of state-of-the-art open video DiTs.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/stacklok/codegate&quot; target=&quot;_blank&quot;&gt;codegate: CodeGate: CodeGen Privacy and Security&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A local gateway that ensures AI-generated suggestions follow best practices while protecting code integrity and safeguarding personal privacy. Use AI with confidence without worrying about security and productivity.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/nizarhaider/shrlnk&quot; target=&quot;_blank&quot;&gt;shrlnk: get to customize your links all you want&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source URL shortening service implemented in Python, providing a free website. Supports creating and customizing short links, link management and tracking, and social media preview effects. Backend built with Flask + SQLite, frontend JavaScript supports mobile responsive design.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/ThReinecke/dutch_vocabulary/tree/main&quot; target=&quot;_blank&quot;&gt;dutch_vocabulary: send an automated email each day with three C1-level dutch words&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses AWS CloudWatch event rules to trigger Lambda functions, leveraging databases and ChatGPT to get Dutch words, English translations, and example sentences, automatically sending emails.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/scrtwpns/mixbox&quot; target=&quot;_blank&quot;&gt;mixbox: a library for natural color mixing based on real pigments&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A new mixing method for natural color blending that generates saturated gradients with hue variations and natural secondary colors during mixing, closer to real pigment colors. (2.7K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/facebookresearch/Kats&quot; target=&quot;_blank&quot;&gt;Kats: a kit to analyze time series data&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight, easy-to-use, extensible framework for time series analysis, from understanding key statistics and features, detecting change points and anomalies, to forecasting future trends. (5.4K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/ajenti/ajenti&quot; target=&quot;_blank&quot;&gt;ajenti: Ajenti Core and stock plugins&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modular server management panel for Linux and BSD, developed with Python3 and AngularJS. Low memory footprint and CPU usage. Can run on low-end machines, wall plugs, routers, and other devices. (7.6K stars)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/84/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#83: uv Usage Tips</title><link>https://weekly.pythoncat.top/en/issues/83/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/83/</guid><description>Sharing 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sat, 28 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #83: uv Usage Tips&lt;/h1&gt;
&lt;p&gt;Hey there! I&apos;m Python Cat. Here I share quality Python, AI, and general tech content weekly, mostly in English. The newsletter is open source on &lt;a href=&quot;https://github.com/chinesehuazhou/python-weekly&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; - if you like it, please give us a star! ⭐&lt;/p&gt;
&lt;p&gt;This week we&apos;re sharing 12 articles, 12 open source projects, and 2 trending discussions.&lt;/p&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.bitecode.dev/p/uv-tricks&quot; target=&quot;_blank&quot;&gt;UV tricks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article shares some practical tricks for the &lt;code&gt;uv&lt;/code&gt; tool, including temporarily adding dependencies without polluting virtual environments, creating nearly standalone scripts, quickly testing and running Python tools, running one-off Python tools, and cleaning uv cache.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.wezm.net/v2/posts/2024/tiny-cdn/&quot; target=&quot;_blank&quot;&gt;Building a Tiny CDN With pyinfra and Chimera Linux&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Content Delivery Networks (CDNs) can boost website access speed. The author built a self-hosted CDN that reduced their blog&apos;s average response time from 807ms to 189ms. The article details network architecture, server configuration, TLS certificate management, and how to use GeoDNS to minimize access latency.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://pydevtools.com/blog/effective-python-developer-tooling-in-december-2024/&quot; target=&quot;_blank&quot;&gt;Effective Python Developer Tooling in December 2024&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What are the latest trends and best practices for Python developer tools in 2024? The author shares anti-patterns, recommended practices, and tools including uv, ruff, Mypy, Pytest, Cookiecutter, and Cruft.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://ankush.dev/p/race-condition-strikes-back&quot; target=&quot;_blank&quot;&gt;Fake Debugging II: The Race Condition Strikes Back&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Two years ago, the author encountered a multithreading bug, analyzed the code to find a suspected cause, and solved the issue despite not being able to reproduce it. However, two years later the same problem appeared again. This time they dug deeper, finally found the root cause and could reliably reproduce it, truly solving this tricky bug.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://karpathy.github.io/2021/06/21/blockchain&quot; target=&quot;_blank&quot;&gt;A from-scratch tour of Bitcoin in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you implement Bitcoin transactions in Python? This article introduces cryptocurrency concepts, Bitcoin&apos;s transaction mechanisms, and how to use Python to implement cryptographically creating, signing, and broadcasting Bitcoin transactions.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://blogs.gentoo.org/mgorny/2024/12/20/poetry-core-or-the-ultimate-footgun/&quot; target=&quot;_blank&quot;&gt;Poetry(-core), or the ultimate footgun&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author believes Poetry is counterintuitive and error-prone when used as a build tool. The article points out common issues including nightmarish address operators, misleading include keys, and Schrödinger-like optional dependencies.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://zahlman.github.io/python-packaging/2024/12/24/python-packaging-1.html&quot; target=&quot;_blank&quot;&gt;Python packaging: Why we can&apos;t have nice things, Part 1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The first part of a series on Python packaging, discussing the current state of Python packaging, existing problems, and how to deal with these issues. It covers package name vs import name inconsistencies, dependency hell, installation failures, and emphasizes the importance of virtual environments.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://juejin.cn/post/7450419651002646528?share_token=0c6ddd55-f966-4b52-a9a1-cf2e0098ce66&quot; target=&quot;_blank&quot;&gt;Python Performance Optimization Behind the Scenes: &lt;strong&gt;pycache&lt;/strong&gt; and Bytecode Caching Mechanisms&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What&apos;s the purpose of &lt;code&gt;__pycache__&lt;/code&gt; folders and &lt;code&gt;.pyc&lt;/code&gt; files? How can you properly leverage Python&apos;s bytecode caching mechanism to improve application performance?&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://eieio.games/blog/writing-down-every-uuid/&quot; target=&quot;_blank&quot;&gt;Writing down (and searching through) every UUID&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author developed a website that can display and search all UUIDs. The article introduces several major challenges and solutions, including browser rendering limitations, UUID generation order, and full search functionality.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://jacobpadilla.com/articles/python-dataclass-internals&quot; target=&quot;_blank&quot;&gt;The Inner Workings of Python Dataclasses Explained&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python dataclasses are pretty cool, but what&apos;s their implementation mechanism? This article attempts to explain the inner workings, including &lt;code&gt;__annotations__&lt;/code&gt;, exec, custom dataclass decorators, and the frozen parameter, helping readers better understand how dataclasses work.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.philipzucker.com/overload_bool/&quot; target=&quot;_blank&quot;&gt;Symbolic Execution by Overloading &lt;strong&gt;bool&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Symbolic Execution is a software testing and analysis technique that executes programs by representing program inputs as symbols (rather than concrete values). The article introduces a method to make Python&apos;s non-overloadable syntax overloadable without modifying the compiler, using metaprogramming techniques to transform Python code into Z3 expressions.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://ricardoanderegg.com/posts/cron-jobs-inside-web-app-python/&quot; target=&quot;_blank&quot;&gt;Cron jobs inside your web app&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you implement cron-like scheduled tasks in a Python FastAPI application? The author leverages FastAPI&apos;s async features to create background tasks, avoiding the need to write separate scripts and CLI commands, and without needing to run tasks outside containers.&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/browser-use/browser-use&quot; target=&quot;_blank&quot;&gt;browser-use: Make websites accessible for AI agents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Makes it easy for AI agents to interact with browsers, supporting visual + HTML extraction, automatic multi-tab management, XPath extraction for precise LLM operations, custom actions, self-correction, LangChain support, and parallelizing as many agents as possible. (7.2K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/bytedance/monolith&quot; target=&quot;_blank&quot;&gt;monolith: A Lightweight Recommendation System&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source deep learning framework from ByteDance for large-scale recommendation models, built on TensorFlow, supporting batch/real-time training and deployment. (3.7K stars)&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/malmeloo/FindMy.py&quot; target=&quot;_blank&quot;&gt;FindMy.py: Everything you need to query Apple&apos;s FindMy network!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Integrates resources from different open-source projects, containing everything needed to query Apple FindMy devices, providing unified foundational components. Cross-platform, retrieves and decrypts locations, scans nearby FindMy devices. (1.5K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/TooFuW/ShortMoji&quot; target=&quot;_blank&quot;&gt;ShortMoji: insert emojis anywhere with simple keyboard shortcuts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python-developed utility that organizes 137 different emojis, letting you quickly insert emojis with keyboard shortcuts. Windows only.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/XiaoMi/ha_xiaomi_home&quot; target=&quot;_blank&quot;&gt;ha_xiaomi_home: Xiaomi Home Integration for Home Assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An official integration component from Xiaomi that lets you use Xiaomi IoT smart devices in Home Assistant. (15.4K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://dylanhuang.com/blog/closing-my-startup/&quot; target=&quot;_blank&quot;&gt;After 3 Years, I Failed. Here&apos;s All My Startup&apos;s Code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Konfig was a developer tools startup focused on making API integration simpler. They&apos;ve now open-sourced all their product code, documentation resources, and other byproducts. (1.2K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/piglei/ai-vocabulary-builder&quot; target=&quot;_blank&quot;&gt;ai-vocabulary-builder: An AI-powered smart vocabulary tool&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An intelligent English vocabulary tool powered by AI technology that helps you quickly build your own English vocabulary database. Features an innovative efficient vocabulary collection mode, helping you master new words through engaging story mode and test mode.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/Genesis-Embodied-AI/Genesis&quot; target=&quot;_blank&quot;&gt;Genesis: A generative world for general-purpose robotics &amp;amp; embodied AI learning&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A physics platform specifically designed for robotics/embodied AI/physical AI applications, serving as a novel general-purpose physics engine, robotics simulation platform, photorealistic rendering system, and generative data engine. (19.8K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/microsoft/PromptWizard&quot; target=&quot;_blank&quot;&gt;PromptWizard: Task-Aware Agent-driven Prompt Optimization Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s open-source discrete prompt optimization framework with self-optimization mechanisms. Key components: feedback-driven optimization, evaluating and synthesizing diverse examples, self-generating chain-of-thought steps. (1K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/Surfer-Org/Protocol&quot; target=&quot;_blank&quot;&gt;Protocol: Open-source framework for exporting your personal data&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Exports your personal data from applications like iMessages, Twitter bookmarks, ChatGPT, Gmail, and LinkedIn, providing both a Python SDK and a desktop application. (1.3K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/Shubhamsaboo/awesome-llm-apps&quot; target=&quot;_blank&quot;&gt;awesome-llm-apps: Collection of awesome LLM apps with RAG using OpenAI, Anthropic, Gemini and opensource models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A collection of applications built with OpenAI, Anthropic, Google&apos;s large models, and LLaMA open-source models. Learn AI applications across different domains from excellent projects. (9.8K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/DavidVujic/python-hiccup&quot; target=&quot;_blank&quot;&gt;python-hiccup: a Python implementation of the Hiccup syntax&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python implementation of Hiccup syntax, using Python lists or tuples to represent HTML elements and dicts to represent element attributes. Aims to make HTML rendering programmatic, simple, and easy to read.&lt;/p&gt;
&lt;h2&gt;🥂 Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1hbs4t8/the_handpicked_selection_of_the_best_python/&quot; target=&quot;_blank&quot;&gt;The hand-picked selection of the best Python libraries and tools of 2024 – 10th edition!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Annual curated recommendations for this year&apos;s Python libraries/tools, including general-purpose and AI/ML/data categories, totaling 20 items.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.v2ex.com/t/1100672#reply0&quot; target=&quot;_blank&quot;&gt;Seeking help with Python problem that neither GPT o1 nor Gemini 2.0 could solve&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python&apos;s chained assignment operation &quot;a=b=c&quot; might not work the way you think it does!&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/83/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#82: Python Weekly #82: How the CIA Uses Python?</title><link>https://weekly.pythoncat.top/en/issues/82/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/82/</guid><description>Sharing 12 articles, 12 open-source projects</description><pubDate>Sat, 21 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Weekly #82: How the CIA Uses Python?&lt;/h1&gt;
&lt;h2&gt;🦄 Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://compileralchemy.substack.com/p/how-the-cia-writes-python&quot; target=&quot;_blank&quot;&gt;How the CIA Writes Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The CIA uses Python for everything from hacking to building utility tools, with a surprising preference for versions 2.7 and 3.4. This article compiles the agency&apos;s Python practices, covering their adherence to Google&apos;s Python Style Guide, using &lt;code&gt;pip2tgz&lt;/code&gt; for package downloads, maintaining a local PyPI, their PyCharm + pyenv setup, running tests on remote servers, and their CLI script templates.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.cnblogs.com/wang_yb/p/18617458&quot; target=&quot;_blank&quot;&gt;From Chaos to Order: An Analysis of Python Dependency Management Tools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python&apos;s dependency management landscape is... diverse, to say the least. This post breaks down the pros and cons of 13 different tools. The author&apos;s TL;DR? If you just need Python packages, go with &lt;code&gt;uv&lt;/code&gt; and &lt;code&gt;pipx&lt;/code&gt;. If you&apos;re juggling multiple isolated environments, stick to the &lt;code&gt;pip&lt;/code&gt; + &lt;code&gt;venv&lt;/code&gt; + &lt;code&gt;pip-tools&lt;/code&gt; + &lt;code&gt;pyenv&lt;/code&gt; combo.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://kingname.info/2024/12/14/hate-langchain/&quot; target=&quot;_blank&quot;&gt;Tip of the Day: Why I Hate LangChain&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author has a serious bone to pick with LangChain and LlamaIndex, seeing them as poster children for over-abstraction. The article cites LlamaIndex&apos;s use of dependency injection as a nightmare for customization. It also draws a comparison with SimpleMind (from the creator of &lt;code&gt;requests&lt;/code&gt;) to show what a clean, non-over-engineered implementation looks like. (Bonus: Octomind&apos;s take on &lt;a href=&quot;https://www.octomind.dev/blog/why-we-no-longer-use-langchain-for-building-our-ai-agents&quot; target=&quot;_blank&quot;&gt;Why We No Longer Use LangChain for Building Our AI Agents&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://xer0x.in/dns-server-in-python/&quot; target=&quot;_blank&quot;&gt;Build a DNS Server in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into implementing most of the DNS protocol functionality using Python. The result? A trustworthy, home-brewed local DNS server.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://reflex.dev/blog/2024-12-20-python-comparison/&quot; target=&quot;_blank&quot;&gt;Top Python Web Frameworks for 2025&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comparative analysis of the heavy hitters in the Python web framework arena: Reflex, Django, Flask, Gradio, Streamlit, Dash, and FastAPI. What are their strengths and weaknesses? Let&apos;s find out.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://rahul.gopinath.org/post/2019/12/07/python-mci/&quot; target=&quot;_blank&quot;&gt;Python Meta-Circular Interpreter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A meta-circular interpreter is an interpreter for a language written in that language itself. Why bother? It gives you insane control over code execution and makes tracing a breeze. This long-form article details exactly what you can do with one and how to build it.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://milescole.dev/data-engineering/2024/12/12/Should-You-Ditch-Spark-DuckDB-Polars.html&quot; target=&quot;_blank&quot;&gt;Should You Ditch Spark for DuckDB or Polars?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With lightweight engines like DuckDB and Polars gaining traction, is it time to say goodbye to Spark? This article benchmarks them across performance, execution cost, dev cost, and maturity. Spoiler: Spark still holds the crown for scalability and cost-efficiency, so don&apos;t delete it just yet.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://blog.hartwork.org/posts/django-security-hardenings-that-are-not-happening/&quot; target=&quot;_blank&quot;&gt;Django Security: The Neglected Default Hardenings&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A case study on a Remote Code Execution (RCE) vulnerability caused by a Django misconfiguration. Some of Django&apos;s default behaviors can open up security holes. Despite the author&apos;s efforts being marked &quot;wontfix,&quot; this post is a call to action for developers to be aware of these potential risks and push for official fixes.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://mfasold.net/blog/displaying-website-content-on-an-e-ink-display/&quot; target=&quot;_blank&quot;&gt;Displaying Website Content on an E-Ink Display&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To avoid constantly checking his phone, the author built an e-ink display for his son&apos;s school timetable. The stack? Playwright + Pillow to capture and convert content, Werkzeug for a simple web service, and Arduino to handle auto-wake and image updates.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://frostming.com/2024/circular-ref-monkeypatch/&quot; target=&quot;_blank&quot;&gt;A Circular Reference Caused by Monkeypatching&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A seemingly innocent line like &lt;code&gt;foo.bar = foo.bar&lt;/code&gt; can create a circular reference and lead to memory leaks. This often happens with monkeypatching. The article shares a neat trick using &lt;code&gt;weakref&lt;/code&gt; to dodge this bullet.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://jaketae.github.io/study/prime-spirals/&quot; target=&quot;_blank&quot;&gt;Why Do Primes Form Spirals in Polar Coordinates?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here&apos;s a fun question: What happens when you plot prime numbers on a polar coordinate system? Using &lt;code&gt;sympy&lt;/code&gt; to generate primes and &lt;code&gt;matplotlib&lt;/code&gt; to visualize them, the author reveals a beautiful pattern. But what&apos;s the math behind it?&lt;/p&gt;
&lt;p&gt;The first 10,000 primes plotted.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://sspai.com/post/94360&quot; target=&quot;_blank&quot;&gt;What&apos;s the Deal with Claude&apos;s MCP (Model Context Protocol)?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MCP establishes a secure, two-way link between LLMs and data sources. But what does that actually mean, and what problems does it solve? The author walks through the official examples, explains the data interaction process, and tests it with real datasets. Verdict: It&apos;s actually pretty useful. (Bonus: &lt;a href=&quot;https://outlore.dev/blog/model-context-protocol/&quot; target=&quot;_blank&quot;&gt;Reflections on Building with MCP&lt;/a&gt;)&lt;/p&gt;
&lt;h2&gt;🐿️ Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/microsoft/markitdown&quot; target=&quot;_blank&quot;&gt;markitdown: Convert Anything to Markdown&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Microsoft&apos;s latest open-source hit. It converts almost any file type to Markdown—Office docs, PDFs, images, audio, HTML, CSV, JSON, XML, ZIPs, you name it. (24.3K stars) (Bonus: An online tool built with it: &lt;a href=&quot;https://www.html.zone/markitdown&quot; target=&quot;_blank&quot;&gt;Office to Markdown&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/mfat/systemd-pilot&quot; target=&quot;_blank&quot;&gt;systemd-pilot: A GUI for systemd&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A desktop app for managing systemd services on GNU/Linux. View, filter, start, stop, and restart services with ease. It supports quick deployment via templates, simple search, and full integration with the GNOME desktop.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/manjurulhoque/wowy&quot; target=&quot;_blank&quot;&gt;wowy: A Django 4.x E-commerce Platform&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A full-stack Python project. It&apos;s a fully functional e-commerce platform with a robust admin panel and modern UI. Features include multi-image uploads, shopping cart, wishlist, dashboard, PDF invoices, sales tracking, and more.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/linyqh/NarratoAI&quot; target=&quot;_blank&quot;&gt;NarratoAI: AI Video Commentary &amp;amp; Editing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A one-stop AI tool for video commentary and automated editing, built with Python. It uses LLMs to write scripts, then handles the editing, dubbing, and subtitles automatically. Content creation just got a whole lot faster. (2.6K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/Tencent/HunyuanVideo&quot; target=&quot;_blank&quot;&gt;HunyuanVideo: Tencent&apos;s Open Source Video Model&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tencent&apos;s video generation model. Text-to-video is open sourced and ready to go, with image-to-video coming soon. (6.4K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/seleniumbase/SeleniumBase&quot; target=&quot;_blank&quot;&gt;SeleniumBase: Web Automation, Testing &amp;amp; Bot Detection Bypass&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The all-in-one browser automation framework. Web scraping, automated testing, crawling, CAPTCHA bypassing—it does it all. (7.1K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/Neoteroi/BlackSheep&quot; target=&quot;_blank&quot;&gt;BlackSheep: Fast ASGI Web Framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An asynchronous Python web framework for building event-based applications. Inspired by Flask and ASP.NET Core. (2K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/Byaidu/PDFMathTranslate&quot; target=&quot;_blank&quot;&gt;PDFMathTranslate: AI-Powered Full-Text PDF Translation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python tool for translating PDFs while keeping the layout intact. Supports Google, DeepL, Ollama, and OpenAI. Available as CLI, GUI, or Docker. It preserves formulas, charts, TOCs, and annotations perfectly. (10K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/google-gemini/cookbook&quot; target=&quot;_blank&quot;&gt;Google Gemini API Cookbook&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The official collection of guides and examples for the Gemini API. Learn how to leverage Gemini&apos;s multimodal capabilities to reason seamlessly across text, images, code, and audio. (9K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/axorax/tkforge&quot; target=&quot;_blank&quot;&gt;tkforge: Create Python GUIs in Figma&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Think Tkinter Designer, but better. Drag and drop your GUI in Figma, then use this tool to convert it into executable Python code.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/QuivrHQ/MegaParse&quot; target=&quot;_blank&quot;&gt;MegaParse: Lossless Parsing for PDF, Docx, PPTx with LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful, flexible parser that handles various document types with ease. No information loss, just fast and efficient parsing. (4.6K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/Xafloc/NoteFlow&quot; target=&quot;_blank&quot;&gt;NoteFlow: Lightweight Python Note-Taking App&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Markdown-based note-taking app with built-in task management. Clean interface, multiple themes, and support for tasks, images, files, and code snippets.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/82/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#81: Running GPT-4 Level Models on Your Personal Computer</title><link>https://weekly.pythoncat.top/en/issues/81/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/81/</guid><description>Sharing 12 articles, 12 open-source projects, 2 audio/video items</description><pubDate>Sun, 15 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #81: Running GPT-4 Level Models on Your Personal Computer&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://simonwillison.net/2024/Dec/9/llama-33-70b/&quot; target=&quot;_blank&quot;&gt;I can now run a GPT-4 class model on my laptop&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author runs Llama 3.3 70B model on their 64GB MacBook Pro M2. The article walks through the setup process and demonstrates impressive results for writing and coding tasks. (PS: Looking at my brand new MBP M4, I can&apos;t wait to try running local LLMs myself!)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://peps.python.org/pep-0768/&quot; target=&quot;_blank&quot;&gt;PEP 768 – Safe external debugger interface for CPython&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A new PEP proposing a zero-overhead debugging interface for CPython that allows debuggers/profilers to safely connect to running Python processes without stopping or restarting them. This feature is already implemented in PyPy and hopes to be merged into Python 3.14.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.gitguardian.com/celery-tasks-retries-errors/&quot; target=&quot;_blank&quot;&gt;A Deep Dive into Celery Task Resilience, Beyond Basic Retries&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do you handle various failures in Celery tasks and improve workflow resilience? The article provides solutions for three failure scenarios (transient failures, resource constraints, and race conditions), discussing how to handle process interruptions, memory overflows, task timeouts, and graceful shutdowns.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://www.mostlypython.com/building-a-checklist-of-all-functions-in-a-file/&quot; target=&quot;_blank&quot;&gt;Building a checklist of all functions in a file&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to create a GitHub task list to check all functions in a file? The author wrote a script that parses all functions using regular expressions and creates a todo checklist.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.saaspegasus.com/guides/uv-deep-dive/&quot; target=&quot;_blank&quot;&gt;uv: An In-Depth Guide to Python&apos;s Fast and Ambitious New Package Manager&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A comprehensive guide on why and how to use uv. Covers installation methods, integrating it into existing workflows, managing virtual environments, package management, and uv-specific workflows and advanced usage.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://engineering.fb.com/2024/12/09/developer-tools/typed-python-2024-survey-meta/&quot; target=&quot;_blank&quot;&gt;Typed Python in 2024: Well adopted, yet usability challenges persist&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;10 years after PEP-484, what&apos;s the current state of Python&apos;s type system and what tools are developers using? JetBrains, Meta, and Microsoft collaborated on this comprehensive survey with over 1000 participants.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://blog.jetbrains.com/pycharm/2024/12/the-state-of-python/&quot; target=&quot;_blank&quot;&gt;The State of Python 2024&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python has recently become the most used language on GitHub, but what&apos;s the broader state of Python? Based on the latest community survey (the 2023 Python Developer Survey released in September), the article shares key trends such as 41% of developers having less than 2 years of experience, most web applications running on hyperscale clouds, and container technology surpassing virtual machines and hardware...&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://treyhunner.com/2024/12/lazy-self-installing-python-scripts-with-uv/&quot; target=&quot;_blank&quot;&gt;Lazy self-installing Python scripts with uv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to make Python scripts automatically create virtual environments and install dependencies on first run? The author shares how to use uv to simplify dependency management for Python scripts, avoid global package installations, and potentially replace pipx and pyenv for managing Python versions and CLI tools.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://lincolnloop.com/insights/building-a-chat-backend-for-wikipedia-articles-in-django/&quot; target=&quot;_blank&quot;&gt;Building a Chat Backend for Wikipedia Articles in Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to develop a simple chatbot using the Django framework and provide it with Wikipedia content for more meaningful Q&amp;amp;A interactions? The article covers Django project setup, loading encyclopedia data, generating and saving embeddings, and developing the chat interface.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.javonet.com/how-to-use-pyjokes-in-other-programming-languages/&quot; target=&quot;_blank&quot;&gt;How to use PyJokes in Other Programming Languages?! &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The PyJokes library generates programming-related jokes and can add humor to your Python projects. But can other languages use it too? The article explains how to integrate PyJokes in Java, Ruby, and Node.js without requiring APIs or network access.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://blog.changs.co.uk/customising-pattern-matching-behaviour.html&quot; target=&quot;_blank&quot;&gt;Customising Pattern Matching Behaviour&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Python&apos;s match-case can&apos;t match iterators, but the author extends pattern matching behavior to support iterator matching, making pattern matching more precise and flexible for handling complex data structures and generators.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://jamesg.blog/2024/11/30/advent-of-patterns/&quot; target=&quot;_blank&quot;&gt;Advent of Patterns&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From December 1st to 24th, the author shared a favorite blog daily in 2021, wrote about technical writing daily in 2023, and this year&apos;s theme is software and design patterns.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/qutebrowser/qutebrowser&quot; target=&quot;_blank&quot;&gt;qutebrowser: A keyboard-driven, vim-like browser based on Python and Qt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A keyboard-centric, vim-like browser built with Python and Qt. (9.9K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/kokasmark/Pype&quot; target=&quot;_blank&quot;&gt;Pype: Python + HTML desktop app framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A simple Python GUI framework that renders Python computation values through HTML in a webview.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/hypy13/django-daisy&quot; target=&quot;_blank&quot;&gt;django-daisy: A modern django dashboard built with daisyui&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A modern, stylish, and responsive admin dashboard built with DaisyUI and TailwindCSS. Features RTL support, multiple themes, and enhanced UX/UI.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/icloud-photos-downloader/icloud_photos_downloader&quot; target=&quot;_blank&quot;&gt;icloud_photos_downloader: A command-line tool to download photos from iCloud&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An iCloud photo downloader supporting Linux, Windows, and macOS. Available as both command-line tool and executable, plus downloadable from package managers (Docker, PyPI, AUR, npm). (7.2K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/google/vanir&quot; target=&quot;_blank&quot;&gt;vanir: Vanir is a source code-based static analysis tool that automatically identifies the list of missing security patches in the target system&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A Python-based static analysis tool that automatically identifies missing security patches in target systems by fetching the latest CVEs and their signatures from OSV. Currently supports C/C++ and Java source code.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/dmayboroda/minima&quot; target=&quot;_blank&quot;&gt;minima: On-premises conversational RAG with configurable containers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source RAG that integrates with ChatGPT and MCP, or runs completely locally. All neural networks (LLM, reranker, embedding) run on cloud or PC, ensuring data security.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/lancedb/lancedb&quot; target=&quot;_blank&quot;&gt;lancedb: Developer-friendly, serverless vector database for AI applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source database for vector search built with persistent storage, simplifying embedding retrieval, filtering, and management. Built with Rust + Lance, supports Python and JavaScript, featuring vector similarity search, full-text search, and SQL. (4.9K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/unionai-oss/pandera&quot; target=&quot;_blank&quot;&gt;pandera: A light-weight, flexible, and expressive statistical data testing library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Validates DataFrame-like data objects, making data processing pipelines more readable and robust. (3.5K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/modelcontextprotocol/python-sdk&quot; target=&quot;_blank&quot;&gt;python-sdk: The official Python SDK for Model Context Protocol servers and clients&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The official Python implementation of the Model Context Protocol (MCP), providing client and server functionality for LLM interactions.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/mrmn2/PdfDing&quot; target=&quot;_blank&quot;&gt;PdfDing: Selfhosted PDF manager and viewer offering a seamless user experience on multiple devices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A self-hosted PDF manager with Docker deployment support, offering seamless user experience across multiple devices. Features a clean, responsive UI with multiple themes, PDF sharing with password/view limits/expiration settings, and progress bars showing reading progress for each PDF.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/DeMoYao100/byrFileShare&quot; target=&quot;_blank&quot;&gt;BayerFileshare: A Secure and Convenient Cloud Storage App&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An advanced cloud storage application built with Python + Vue, integrating secure authentication, encrypted transmission, and encrypted storage. Features file management, advanced encryption, end-to-end secure transmission, shared cloud storage, and multiple authentication methods.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/ItzCrazyKns/Perplexica&quot; target=&quot;_blank&quot;&gt;Perplexica: Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An open-source AI search engine that not only searches the web but understands your questions, using advanced machine learning algorithms to optimize results. (17.4K stars)&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://djangotv.com/videos/djangocon-us/2024/&quot; target=&quot;_blank&quot;&gt;DjangoCon US 2024 Videos (59)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A dedicated website for Django events and videos: DjangoTV has released this year&apos;s DjangoCon US video series.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.youtube.com/watch?v=lV82LDKT16A&quot; target=&quot;_blank&quot;&gt;Let&apos;s build a AI Photo Generator with Python and FastAPI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This video tutorial uses Replicate&apos;s AI service to fine-tune the open-source Flux image generation model, creating a Midjourney-like AI image generation tool using your own photos.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/81/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#80: Django Performance Tuning</title><link>https://weekly.pythoncat.top/en/issues/80/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/80/</guid><description>Sharing 12 articles, 12 open-source projects, 3 audio/video items</description><pubDate>Sat, 07 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #80: Django Performance Tuning&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://loadforge.com/guides/the-ultimate-guide-to-django-performance-best-practices-for-scaling-and-optimization&quot; target=&quot;_blank&quot;&gt;The Ultimate Guide to Django Performance: Best Practices for Scaling and Optimization&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Want to boost your Django project&apos;s performance? This comprehensive guide covers database optimization, caching strategies, Django ORM query optimization, async programming, frontend performance techniques, load testing with LoadForge, multi-instance scaling, security considerations during performance optimization, and continuous monitoring and optimization.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://medium.com/django-unleashed/django-application-performance-optimization-a-checklist-63e2c6d69e4e&quot; target=&quot;_blank&quot;&gt;Django Application Performance Optimization — A Checklist&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article introduces common techniques and best practices for optimizing Django project performance, including using APM tools for monitoring, django-silk for profiling, understanding QuerySet internals, optimizing database queries, tuning database settings, implementing caching, and async programming.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://blog.serghei.pl/posts/emacs-python-ide/&quot; target=&quot;_blank&quot;&gt;Advanced Python Development Workflow in Emacs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Emacs is an incredibly powerful editor. This article shows how to build an effective Python development environment with it, configuring various tools and plugins for code intelligence, linting and static analysis, debugging, and environment management.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://wsvincent.com/year-in-review-2024&quot; target=&quot;_blank&quot;&gt;Year in Review (2024)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author&apos;s year-end review covers their work on LearnDjango website, video courses, book updates, tutorials/writing, Django Chat podcast, Django News weekly, and more.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://www.nullpt.rs/breaking-the-4chan-captcha&quot; target=&quot;_blank&quot;&gt;Breaking the 4Chan CAPTCHA&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4Chan&apos;s CAPTCHA verifies whether users are human or bots. The author trained a browser-based machine learning model that achieved 90% success rate in breaking it. The article covers data collection, model creation and training, plus real-world testing.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://blog.dagworks.io/p/the-graduation-problem-avoid-frameworks&quot; target=&quot;_blank&quot;&gt;The graduation problem: avoid frameworks getting in the way&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ready-made solutions and large model frameworks can help you quickly develop generative AI projects, but they may become obstacles as versions evolve. This article proposes a 2-layer approach for developing RAG applications, creating maintainable solutions without relying on off-the-shelf components.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://matduggan.com/making-fun-flask-apps-for-no-reason/&quot; target=&quot;_blank&quot;&gt;Making Fun Flask Apps for No Reason&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This tutorial shows how to build a small Flask app to find Pokemon TCG Pocket mobile game partners. It demonstrates how Flask can quickly turn simple ideas into web projects.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://medium.com/@prestonblckbrn/demystifying-odbc-with-python-b8473aaaeb19&quot; target=&quot;_blank&quot;&gt;Demystifying ODBC with Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open Database Connectivity (ODBC) has been the standard for database access since the 90s. How does this driver work, and what would implementing an ODBC driver in Python look like? The article implements a simple ODBC driver and PEP-249, plus mentions Python libraries that no longer depend on ODBC.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://astral.sh/blog/python-build-standalone&quot; target=&quot;_blank&quot;&gt;A new home for python-build-standalone&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;python-build-standalone provides working standalone Python distributions and has been downloaded over 70 million times by tools like uv, Rye, and Bazel. The project officially transfers to the Astral organization (developers of Ruff and uv) starting December 17th.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://www.blog.pythonlibrary.org/2024/11/19/how-to-debug-your-textual-application/&quot; target=&quot;_blank&quot;&gt;How to Debug Your Textual Application&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Textual creates lightweight, powerful text-based user interfaces. This article covers debugging TUI applications using textual-dev tools, including developer mode debugging and notification-based debugging.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://grayduck.mn/2024/11/21/handling-cookies-is-a-minefield/&quot; target=&quot;_blank&quot;&gt;Handling Cookies is a Minefield&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The article discusses the complexity of HTTP cookies in web development, particularly differences in cookie handling across browsers and programming languages like Golang, PHP, Python, Ruby, and Rust.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://adrianroselli.com/2024/12/development-advent-calendars-for-2024.html&quot; target=&quot;_blank&quot;&gt;Development Advent Calendars for 2024&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Advent Calendars hide a small gift each day from December 1st to Christmas. In developer circles, annual challenges appear, and the author compiles them yearly. This year features 25 daily coding challenges.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/magic-quill/MagicQuill&quot; target=&quot;_blank&quot;&gt;MagicQuill: An Intelligent Interactive Image Editing System&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An intelligent interactive system for precise image editing with user-friendly interface, AI-powered suggestions, and precise local editing. (2K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/Vashkatsi/deply&quot; target=&quot;_blank&quot;&gt;deply: Keep your python architecture clean&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enforces architectural rules in large Python projects, maintaining dependencies for cleaner, more maintainable, and modular project structure.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/CatchTheTornado/pdf-extract-api&quot; target=&quot;_blank&quot;&gt;pdf-extract-api: Document (PDF) extraction and parse API using state of the art modern OCRs + Ollama supported models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Convert any image or PDF to Markdown or JSON documents with ultra-high precision. Built with FastAPI API, uses Celery for async task processing, and Redis for caching OCR results. (1.4K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/salabim/peek&quot; target=&quot;_blank&quot;&gt;peek: Print debugging information and benchmarking&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Makes print debugging easier and provides basic benchmarking functionality. Originally forked from IceCream but almost completely rewritten with many new features.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/google/python-fire&quot; target=&quot;_blank&quot;&gt;python-fire: Python Fire is a library for automatically generating command line interfaces (CLIs)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google&apos;s open-source library for quickly creating CLIs, helping develop and debug Python code and making conversion between Bash and Python easier. (27.2K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/chanpreet3000/pretty-pie-log&quot; target=&quot;_blank&quot;&gt;pretty-pie-log: A powerful, thread-safe Python logging library featuring colorized output, structured logging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Features colorized output, structured logging, timezone-aware timestamps, file log rotation, and function execution tracing, supporting any data type in details.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/AmineDjeghri/generative-ai-project-template&quot; target=&quot;_blank&quot;&gt;generative-ai-project-template: Template for a new generative ai project using streamlit, fastapi, llms&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A generative AI template with features: LLMs, information extraction, chat, RAG, etc. Uses Python uv for package management, loguru for logging, Streamlit frontend and FastAPI backend.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/virattt/ai-hedge-fund&quot; target=&quot;_blank&quot;&gt;ai-hedge-fund: An AI Hedge Fund Team&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses multiple AI agents for trading decisions, supporting market data collection and preprocessing, quantitative trading, risk management, and portfolio management.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/levi2234/Progresspal&quot; target=&quot;_blank&quot;&gt;Progresspal: A decentralized python iterable, function and log tracker&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enables collaborative monitoring of various scripts running on different devices and processes in real-time through decentralized approach.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/IndiePython/nodezator&quot; target=&quot;_blank&quot;&gt;nodezator: A generalist Python node editor&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A desktop application that visually connects different Python functions/callables to generate flexible parameterized behaviors/data/applications/code snippets. (1.1K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/pydantic/pydantic-ai&quot; target=&quot;_blank&quot;&gt;pydantic-ai: Agent Framework / shim to use Pydantic with LLMs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pydantic team&apos;s open-source agent framework that eases the pain of building production-grade applications with generative AI. Uses Pydantic for validating structured and streaming responses, type-safe dependency injection system, integrated with Logfire. (2.7K stars)&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/Skyvern-AI/skyvern&quot; target=&quot;_blank&quot;&gt;skyvern: Automate browser-based workflows with LLMs and Computer Vision&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automate browser workflows using large models and computer vision to replace manual operations. Doesn&apos;t rely on DOM parsing and XPath, unaffected by website layout changes, supports operations on never-before-seen websites. (10.9K stars)&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://space.bilibili.com/474764697/channel/collectiondetail?sid=4284184&amp;amp;ctype=0&quot; target=&quot;_blank&quot;&gt;2024 PyCon China Video List (18 videos)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.youtube.com/playlist?list=PLs4CJRBY5F1Jn7fWZyMgogpPsu1vAZKB2&quot; target=&quot;_blank&quot;&gt;2024 PyCon Australia Video List (88 videos)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://www.youtube.com/playlist?list=PLGVZCDnMOq0ohEIZ-_wM2W_xqSVjyA3dC&quot; target=&quot;_blank&quot;&gt;2024 PyData NYC Video List (62 videos)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/80/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#79: Python&apos;s Metadata Dilemma</title><link>https://weekly.pythoncat.top/en/issues/79/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/79/</guid><description>Sharing 12 articles, 12 open-source projects, 2 hot discussions</description><pubDate>Sun, 01 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #79: Python&apos;s Metadata Dilemma&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://lucumr.pocoo.org/2024/11/26/python-packaging-metadata/&quot; target=&quot;_blank&quot;&gt;Constraints are Good: Python&apos;s Metadata Dilemma&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author argues that Python&apos;s metadata system is overly complex and suffers from a &quot;lack of constraints.&quot; Comparing it with JavaScript, the article highlights several issues with Python metadata: complicated metadata access, the need to regenerate metadata, unclear cache invalidation, and parser inefficiency caused by dynamic metadata.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://talkpython.fm/blog/posts/talk-python-rewritten-in-quart-async-flask/&quot; target=&quot;_blank&quot;&gt;Talk Python rewritten in Quart (async Flask)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Talk Python website was built in 2015 using the Pyramid framework, but that framework has stagnated. The article discusses various popular Python web frameworks, explains why they weren&apos;t chosen, why Quart (async Flask) was selected, and details the migration process.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://state.smerity.com/smerity/state/01JC39KW1TBEAZTKJJF0BR5ZXD&quot; target=&quot;_blank&quot;&gt;Python isn&apos;t just glue, it&apos;s an implicit JIT ecosystem&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In traditional JIT compilation, programs optimize their hot paths (frequently executed code sections) at runtime. The author discovered that Python&apos;s community ecosystem does something remarkably similar—when performance bottlenecks persist on certain paths, the ecosystem optimizes those paths.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://utcc.utoronto.ca/~cks/space/blog/python/TypeHintsMaybeNotForMe&quot; target=&quot;_blank&quot;&gt;Python type hints may not be for me in practice&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author experimented with Python type hints but found that the benefits don&apos;t outweigh the hassle. For occasional small, single-person Python projects, you can indeed get away without worrying much about type hints. (Note: The author also wrote &lt;a href=&quot;https://utcc.utoronto.ca/~cks/space/blog/python/TypeHintsAndMyPyNotes&quot; target=&quot;_blank&quot;&gt;Some of my experiences with Python type hints and mypy&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://reinforcedknowledge.com/a-comprehensive-guide-to-python-project-management-and-packaging-concepts-illustrated-with-uv-part-2/&quot; target=&quot;_blank&quot;&gt;A Comprehensive Guide to Python Project Management and Packaging: Concepts Illustrated with uv – Part II&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This popular series uses uv to introduce Python project management. This is part two, covering project building and release workflows, including build systems, source trees, build front-end/back-end interfaces, editable installations, custom build processes, and how to handle dependencies and metadata.&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://hez2010.github.io/async-runtimes-benchmarks-2024/&quot; target=&quot;_blank&quot;&gt;How Much Memory Do You Need in 2024 to Run 1 Million Concurrent Tasks?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author benchmarked memory usage for concurrent tasks using coroutines in Rust, C#, NodeJS, Python, Go, and Java, testing how these languages perform with 1, 10K, 100K, and 1M tasks. (Note: The author also did a similar comparison last year &lt;a href=&quot;https://mp.weixin.qq.com/s/s14ltHH_MZ4E6YZgP233Lw&quot; target=&quot;_blank&quot;&gt;How much memory is needed to run 1 million concurrent tasks in different languages?&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://twitchard.github.io/posts/2024-11-27-streamlit.html&quot; target=&quot;_blank&quot;&gt;Pushing the boundaries of Streamlit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares their experience developing web UIs with Streamlit, discussing challenges encountered when integrating voice interfaces and handling long-running tasks, and explaining how they overcame these obstacles through custom components and multithreading.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://mechanicalgirl.com/post/using-gitHub-actions-run-python-script/&quot; target=&quot;_blank&quot;&gt;Using GitHub Actions to run a Python script&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author shares their experience using GitHub Actions for automation, focusing on GitHub Actions workflow configuration, how to invoke Python scripts, and implementing their own automation tasks.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://mmaaz.ca/writings/pipip.html&quot; target=&quot;_blank&quot;&gt;Solving Boolean satisfiability and integer programming with Python packaging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Inspired by Python packaging solving Sudoku problems, the author developed a solver called pipip that uses Python package dependency resolvers to solve Boolean satisfiability (SAT) and 0/1 integer programming (IP) problems. The article explains the principles, implementation details, and usage examples in detail.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://jacklinke.com/squashing-django-migrations-the-easy-way&quot; target=&quot;_blank&quot;&gt;Squashing Django Migrations Easily&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author&apos;s Django project has been running for 6 years with nearly 300 modules, making migration risk reduction a challenge. The article introduces using django-model-info to generate migration graphs, identifying safe migration paths for squashing, and how the entire process reduced migration file count and optimized deployment time.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://jcarroll.com.au/2024/11/28/these-languages-are-accumulating/&quot; target=&quot;_blank&quot;&gt;These Languages are Accumulating&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The more programming languages you learn, the deeper your understanding becomes. The author compares how Python, R, Haskell, APL, and Julia implement cumulative operations (like &lt;code&gt;accumulate&lt;/code&gt; and &lt;code&gt;cumsum&lt;/code&gt;), showing the diversity in how they solve the same problems.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://benjdd.com/languages&quot; target=&quot;_blank&quot;&gt;Comparing 1 Billion Nested Loop Iterations Across Languages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;More than 10 programming languages executing 1 billion nested loops—the execution time was made into an animation. Watching Python crawling at the bottom is genuinely frustrating...&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/andrewyng/aisuite&quot; target=&quot;_blank&quot;&gt;aisuite: Simple, unified interface to multiple Generative AI providers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Provides a standardized interface that allows developers to easily use multiple LLMs. Uses an OpenAI-like interface focused on chat mode. (5.6K stars)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/basnijholt/opennb&quot; target=&quot;_blank&quot;&gt;opennb: Open Jupyter notebooks from GitHub repositories or URLs directly in Jupyter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports opening ipynb files from GitHub repository file paths, automatically detects default branches, and supports using specified branches. Also supports opening ipynb files directly via URL. Allows passing parameters to notebooks.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/tpvasconcelos/ridgeplot&quot; target=&quot;_blank&quot;&gt;ridgeplot: Beautiful ridgeline plots in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A simple tool based on Plotly that creates beautiful and interactive ridgeline plots.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/QwenLM/Qwen2.5-Coder&quot; target=&quot;_blank&quot;&gt;Qwen2.5-Coder: the large language model series developed by Qwen team, Alibaba Cloud&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A powerful domestic open-source large language model that supports 92 programming languages with a context length of 128K tokens. (3.1K stars)&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/pex-tool/pex&quot; target=&quot;_blank&quot;&gt;pex: A tool for generating .pex (Python EXecutable) files, lock files and venvs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;.pex is a Python executable format that extends the ideas in PEP-441, making Python program deployment as simple as &lt;code&gt;cp&lt;/code&gt;. A single pex file can contain multiple Python distributions, meaning it&apos;s portable between Linux and OS X. (2.9K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/Jordan-Kowal/pipe-operator&quot; target=&quot;_blank&quot;&gt;pipe-operator: Elixir&apos;s pipe operator in Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This library lets you use Elixir-style pipe syntax in Python.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/sngyai/Sequoia&quot; target=&quot;_blank&quot;&gt;Sequoia: Automated Stock-Picking Program for China&apos;s A-Share Market&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fetches data from East Money and implements several stock selection strategies, including Turtle Trading rules, Chan&apos;s bull market buy points, and other technical patterns. (2.2K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/PacktPublishing/LLM-Engineers-Handbook&quot; target=&quot;_blank&quot;&gt;LLM-Engineers-Handbook: The LLM&apos;s practical guide: From the fundamentals to deploying advanced LLM&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This e-book aims to teach you best practices for creating end-to-end LLM-based systems, including data collection and generation, training pipelines, simple RAG systems, production-ready AWS deployment, comprehensive monitoring, testing, and evaluation frameworks. (1.8K stars)&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://github.com/blacklanternsecurity/bbot&quot; target=&quot;_blank&quot;&gt;bbot: A recursive internet scanner for hackers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A versatile scanner inspired by Spiderfoot designed to automate your reconnaissance, bug bounty hunting, and ASM. (7.1K stars)&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/jaypyles/Scraperr&quot; target=&quot;_blank&quot;&gt;Scraperr: Self-hosted webscraper&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A self-hosted web scraper that extracts data by specifying elements via XPath. Supports scraping by URL, managing previous tasks, user management, log viewing, statistical analysis, and AI integration. (1.2K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/atellaluca/ImportSpy&quot; target=&quot;_blank&quot;&gt;ImportSpy: ImportSpy is a lightweight Python library that gives developers proactive control&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supports defining clear rules for modules and validates whether external modules comply with these rules before they import your module, reducing errors caused by improper imports or environment configuration issues.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/getomni-ai/zerox&quot; target=&quot;_blank&quot;&gt;zerox: PDF to Markdown with vision models&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uses AI vision models for precise document content extraction, overcoming challenges with unusual layouts, tables, and charts. (6.7K stars)&lt;/p&gt;
&lt;h2&gt;🥂Discussions &amp;amp; Questions&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.v2ex.com/t/1085332&quot; target=&quot;_blank&quot;&gt;Deploying Python Projects to Production&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The company has many Python projects—what deployment solutions should be used for production? How should package management be handled? Should inter-service communication use HTTP or RPC?&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1h1qun7/what_are_you_alltime_favorite_python_talks/&quot; target=&quot;_blank&quot;&gt;What are you all-time favorite Python talks? &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are 19,163 conference talks on pyvideo—do you have any favorite talks or speakers you&apos;d recommend?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/79/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>#78: Why async/await Might Be a Terrible Design Choice</title><link>https://weekly.pythoncat.top/en/issues/78/</link><guid isPermaLink="true">https://weekly.pythoncat.top/en/issues/78/</guid><description>Sharing 12 articles, 12 open-source projects, 1 audio/video item</description><pubDate>Sat, 23 Nov 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;Python Trending Weekly #78: Why async/await Might Be a Terrible Design Choice&lt;/h1&gt;
&lt;h2&gt;🦄Articles &amp;amp; Tutorials&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://lucumr.pocoo.org/2024/11/18/threads-beat-async-await/&quot; target=&quot;_blank&quot;&gt;Playground Wisdom: Threads Beat Async/Await&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author argues that async/await is a terrible abstraction for most programming languages, and threads are the superior approach. While it rescued us from callback hell, it introduced new headaches like &quot;colored functions&quot; and backpressure challenges that block us from achieving straightforward, intuitive concurrency. The piece suggests new language designs should adopt virtual thread models similar to Java&apos;s Loom project. (Bonus: The article repeatedly references this classic piece &lt;a href=&quot;https://pythoncat.top/posts/2020-01-11-flask&quot; target=&quot;_blank&quot;&gt;I&apos;m not feeling the async pressure&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://blog.miguelgrinberg.com/post/is-python-really-that-slow&quot; target=&quot;_blank&quot;&gt;Is Python Really That Slow?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This performance comparison pits Python against Node.js and Rust using Fibonacci calculations and bubble sort benchmarks. The results? Python 3.11 shows significant improvements over its predecessor, while PyPy nearly matches Node.js in speed. The author is genuinely impressed by Python&apos;s recent performance gains and surprised by PyPy&apos;s capabilities.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://jonathanadly.com/is-async-django-ready-for-prime-time&quot; target=&quot;_blank&quot;&gt;Django Async: Ready for Prime Time? &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What should you watch out for when going full async with Django? This comprehensive guide covers everything from ASGI web servers and async views to async ORM, API calls, and middleware. The verdict? Async Django is production-ready—here&apos;s what you need to know before making the switch.&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://www.dbos.dev/blog/what-is-lightweight-durable-execution&quot; target=&quot;_blank&quot;&gt;Why Durable Execution Should Be Lightweight&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Durable execution lets your workflows survive crashes, restarts, and interruptions by restoring to their exact previous state. DBOS&apos;s lightweight implementation uses Postgres to store workflow states and step outputs, enabling features like durable sleep, messaging, and queues while dramatically simplifying development, deployment, and maintenance.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://un4gt.github.io/python/python_some_tips/python_pipeline.html&quot; target=&quot;_blank&quot;&gt;Pipeline Pattern in Python — Implemented via Operator Overloading&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Last week we saw pipeline patterns implemented with reduce and lambda functions. This approach takes it further by overloading operators, making the syntax feel much closer to Linux&apos;s native pipe operators. (Shared by @un4gt)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://hwisnu.bearblog.dev/fireducks-pandas-but-100x-faster/&quot; target=&quot;_blank&quot;&gt;FireDucks : Pandas but 100x faster&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The benchmarks are jaw-dropping: FireDucks averages 50x faster than Pandas, outperforms Polars, and even beats DuckDB! With 100% Pandas compatibility and blazing speed, this looks like a game-changer for data processing.&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://purplesyringa.moe/blog/any-python-program-fits-in-24-characters/&quot; target=&quot;_blank&quot;&gt;Any Python program fits in 24 characters*&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can any Python program really be compressed to just 24 characters (excluding whitespace)? This mind-bending article maps Unicode whitespace code points to specific characters, achieving the ultimate in code compression wizardry.&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://peps.python.org/pep-0765/&quot; target=&quot;_blank&quot;&gt;PEP 765 – Disallow return/break/continue that exit a finally block&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A new PEP draft proposes banning return/break/continue statements that exit finally blocks. Why? They swallow exceptions and can override return values from try clauses, leading to subtle bugs that are hard to track down.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://blog.codingconfessions.com/p/connecting-cpythons-gc-internals&quot; target=&quot;_blank&quot;&gt;CPython&apos;s Garbage Collector and its Impact on Application Performance&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A deep dive into CPython&apos;s memory management, focusing on the cyclic garbage collector. Learn how it works, when it triggers, and most importantly—how it impacts your application&apos;s performance. Packed with optimization tips including GC threshold tuning, weak references, and data structure optimization strategies.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://slimsaas.com/blog/django-scaling-performance/&quot; target=&quot;_blank&quot;&gt;The Practical Guide to Scaling Django&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author advocates for eliminating bottlenecks incrementally as your system grows. This practical guide covers common optimization strategies including query optimization, database indexing, queryset optimization, view-level caching, template fragment caching, low-level cache APIs, async views with background tasks, and load balancing techniques.&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://www.philipzucker.com/sql_graph_csp/&quot; target=&quot;_blank&quot;&gt;SQL, Homomorphisms and Constraint Satisfaction Problems&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SQL isn&apos;t just for database queries—it can solve surprisingly complex problems like Sudoku puzzles and programming challenges. This article demonstrates SQL&apos;s power in tackling graph homomorphisms and constraint satisfaction problems, often outperforming pure Python solutions.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://begriffs.com/posts/2022-07-17-debugging-gdb-ddd.html&quot; target=&quot;_blank&quot;&gt;Pleasant debugging with GDB and DDD&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;GDB might be the venerable Linux/BSD debugger, but it&apos;s far from outdated. Learn how to customize GDB interfaces, configure DDD, master debugging techniques, and leverage GDB&apos;s Python API to create helper functions and beautiful pretty-printers that make debugging actually enjoyable.&lt;/p&gt;
&lt;h2&gt;🐿️Projects &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://github.com/ceccopierangiolieugenio/pyTermTk&quot; target=&quot;_blank&quot;&gt;pyTermTk: a Spiced Up Cross Compatible TUI Library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A feature-rich TUI library with essential widgets (buttons, labels, checkboxes), specialized components (Windows, Frames, Tables), true color support, and full/half/zero-width Unicode characters. Perfect for building modern terminal interfaces.&lt;/p&gt;
&lt;p&gt;2、&lt;a href=&quot;https://github.com/willmcgugan/terminal-tree&quot; target=&quot;_blank&quot;&gt;terminal-tree: A File System Navigator in the Terminal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Navigate your filesystem tree directly in the terminal using keyboard or mouse. Features file previews, path completion and validation, and path component navigation for a smooth file browsing experience.&lt;/p&gt;
&lt;p&gt;3、&lt;a href=&quot;https://github.com/chdb-io/chdb&quot; target=&quot;_blank&quot;&gt;chdb: an in-process OLAP SQL Engine&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Powered by ClickHouse, this in-process SQL OLAP engine supports 60+ formats including Parquet, CSV, JSON, Arrow, and ORC. Fully compatible with Python DB API 2.0. (2.2K stars)&lt;/p&gt;
&lt;p&gt;4、&lt;a href=&quot;https://github.com/lfnovo/open-notebook&quot; target=&quot;_blank&quot;&gt;open-notebook: An Open Source Implementation of Notebook LM&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Multi-notebook support, multiple AI models, note-to-podcast conversion, extensive content integration, AI-powered note-taking, built-in search engine, and sophisticated context management. Your open-source alternative to Google&apos;s Notebook LM.&lt;/p&gt;
&lt;p&gt;5、&lt;a href=&quot;https://github.com/NVIDIA/garak&quot; target=&quot;_blank&quot;&gt;garak: the LLM vulnerability scanner&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Comprehensive LLM security scanning that detects hallucinations, data leaks, prompt injection, misinformation, harmful content, and jailbreak attempts. Essential for securing your AI applications. (2.7K stars)&lt;/p&gt;
&lt;p&gt;6、&lt;a href=&quot;https://github.com/aigc-apps/EasyAnimate&quot; target=&quot;_blank&quot;&gt;EasyAnimate: An End-to-End Solution for High-Resolution and Long Video Generation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A complete Transformer-based pipeline for generating high-resolution images and videos, plus baseline models and LoRA models for training Diffusion Transformers. End-to-end AI content creation made easy. (1.5K stars)&lt;/p&gt;
&lt;p&gt;7、&lt;a href=&quot;https://github.com/vietnh1009/ASCII-generator&quot; target=&quot;_blank&quot;&gt;ASCII-generator: ASCII generator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Famous content creator He Tongxue famously modified this project and called it &quot;specially written software&quot;... Convert images to ASCII text, images to ASCII art, and videos to ASCII animations. The ultimate ASCII transformation toolkit. (6K stars)&lt;/p&gt;
&lt;p&gt;8、&lt;a href=&quot;https://github.com/mkalioby/leopards&quot; target=&quot;_blank&quot;&gt;leopards: Query Your Python Lists&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Query your lists of dictionaries or objects like you&apos;re using a proper database. Filter with OR, AND, and NOT operations. Surprisingly faster than Pandas for many use cases.&lt;/p&gt;
&lt;p&gt;9、&lt;a href=&quot;https://www.distributed-systems.net/index.php/books/ds4/&quot; target=&quot;_blank&quot;&gt;Distributed Systems 4th edition&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The 4th edition of the classic Distributed Systems textbook, featuring numerous corrections and all Python code updated to Python 3. Essential reading for understanding modern distributed systems.&lt;/p&gt;
&lt;p&gt;10、&lt;a href=&quot;https://github.com/DrewThomasson/ebook2audiobook&quot; target=&quot;_blank&quot;&gt;ebook2audiobook: Generates an audiobook with chapters and ebook metadata using Calibre and Xtts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Transform your ebooks into audiobooks with proper chapters and metadata using Calibre and Coqui XTTS. Optional voice cloning and multi-language support included! (1K stars)&lt;/p&gt;
&lt;p&gt;11、&lt;a href=&quot;https://github.com/arkohut/pensieve&quot; target=&quot;_blank&quot;&gt;pensieve: A passive recording project allows you to have complete control over your data&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A privacy-focused passive recording system that automatically captures your screen, builds intelligent indexes, and provides a convenient web interface for searching through your digital history. All data stays local—no cloud required.&lt;/p&gt;
&lt;p&gt;12、&lt;a href=&quot;https://github.com/DevER-M/yami&quot; target=&quot;_blank&quot;&gt;yami: An open-source music player with simple UI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A lightweight, cross-platform music player built with Python. Clean, minimalist UI with support for local files and online downloads via spotdl. Simple and elegant music playback done right.&lt;/p&gt;
&lt;h2&gt;🐢Podcasts &amp;amp; Videos&lt;/h2&gt;
&lt;p&gt;1、&lt;a href=&quot;https://www.youtube.com/playlist?list=PLGVZCDnMOq0pRsGPxDvLZfuufNgqREc0a&quot; target=&quot;_blank&quot;&gt;PyData Tel Aviv 2024 Video Playlist (24 videos)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PyData Tel Aviv is a vibrant conference and community focused on PyData projects, bringing together data analysis, data science, and machine learning enthusiasts. 24 fresh talks covering the latest in Python data tools and techniques.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://weekly.pythoncat.top/en/issues/78/&quot; target=&quot;_blank&quot;&gt;Read this issue on the website&lt;/a&gt;&lt;/p&gt;
</content:encoded></item></channel></rss>