<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Python Trending Weekly</title>
    <description>The latest articles on DEV Community by Python Trending Weekly (@pythoncat).</description>
    <link>https://dev.to/pythoncat</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1058825%2F5c9c8581-3a6a-4065-8cc2-44f9b6d72dd3.jpg</url>
      <title>DEV Community: Python Trending Weekly</title>
      <link>https://dev.to/pythoncat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pythoncat"/>
    <language>en</language>
    <item>
      <title>Python Trending Weekly #112: Welcoming the New Generation of AI-Era Programmers</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 26 Jul 2025 13:38:08 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-112-welcoming-the-new-generation-of-ai-era-programmers-1ig4</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-112-welcoming-the-new-generation-of-ai-era-programmers-1ig4</guid>
      <description>&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;&lt;strong&gt;Stay ahead of the curve:&lt;/strong&gt; &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Subscribe now&lt;/a&gt; for weekly insights that keep you at the forefront of Python innovation!&lt;/p&gt;

&lt;p&gt;full issue：&lt;a href="https://www.patreon.com/posts/python-trending-135001605" rel="noopener noreferrer"&gt;https://www.patreon.com/posts/python-trending-135001605&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here are the title summaries for this issue: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🦄Articles &amp;amp; Tutorials&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① Unpacking in Comprehensions&lt;/p&gt;

&lt;p&gt;② Using reduce() for Multithreaded Aggregation&lt;/p&gt;

&lt;p&gt;③ PEP 799 – A dedicated profilers package for organizing Python profiling tools&lt;/p&gt;

&lt;p&gt;④ metap: A Meta-Programming Layer for Python&lt;/p&gt;

&lt;p&gt;⑤ Checking Out CPython 3.14's remote debugging protocol&lt;/p&gt;

&lt;p&gt;⑥ How to Avoid N+1 Queries in Django Python&lt;/p&gt;

&lt;p&gt;⑦ Announcing Toad - a universal UI for agentic coding in the terminal&lt;/p&gt;

&lt;p&gt;⑧ The Step-by-Step Guide to Python Packaging Tools 2025&lt;/p&gt;

&lt;p&gt;⑨ Welcoming The Next Generation of Programmers&lt;/p&gt;

&lt;p&gt;⑩ What "Parse, don't validate" means in Python?&lt;/p&gt;

&lt;p&gt;⑪ Python: fix BrokenPipeError when piping output to other commands&lt;/p&gt;

&lt;p&gt;⑫ My favorite use-case for AI is writing logs&lt;/p&gt;

&lt;p&gt;⑬ How to Think About Time in Programming&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🐿️Projects &amp;amp; Resources&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① Qwen3-Coder: Qwen3-Coder is the code version of Qwen3, the large language model series developed by Qwen team, Alibaba Cloud.&lt;/p&gt;

&lt;p&gt;② awesome-claude-code: A curated list of awesome commands, files, and workflows for Claude Code&lt;/p&gt;

&lt;p&gt;③ open_deep_research: Open Deep Research&lt;/p&gt;

&lt;p&gt;④ PhotoshopAPI: A modern and performant C++20 read/write parser of Photoshop Files&lt;/p&gt;

&lt;p&gt;⑤ LanceDB: Developer-friendly, embedded retrieval engine for multimodal AI&lt;/p&gt;

&lt;p&gt;⑥ MediaManager: A modern selfhosted media management system for your media library&lt;/p&gt;

&lt;p&gt;⑦ fstrings.wtf: Python F-String Quiz&lt;/p&gt;

&lt;p&gt;⑧ complexipy: An extremely fast Python library to calculate the cognitive complexity of Python files, written in Rust.&lt;/p&gt;

&lt;p&gt;⑨ ART: Agent Reinforcement Trainer&lt;/p&gt;

&lt;p&gt;⑩ NeuralAgent: The AI Agent That Lives On Your Desktop And Uses It Like You Do!&lt;/p&gt;

&lt;p&gt;⑪ SkyReels-V2: Infinite-length Film Generative model&lt;/p&gt;

&lt;p&gt;⑫ gitingest: Turn any Git repository into a prompt-friendly text ingest for LLMs&lt;/p&gt;

&lt;p&gt;Cut through the noise with our premium subscription at $4.99/month. Get hand-picked, cutting-edge Python content delivered weekly. Join 350+ professionals who trust us to filter the best from 400+ sources for technical vision expansion and career development. Subscribe at: &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After subscribing, you can view the full text of Issue 112 for free: &lt;a href="https://www.patreon.com/posts/python-trending-135001605" rel="noopener noreferrer"&gt;https://www.patreon.com/posts/python-trending-135001605&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-sweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 3 Summary with E-book Download&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-iweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 2 Complete Collection (Issues 31-60)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 1 Highlights Collection (Issues 1-30)&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Python Trending Weekly #110: JIT Compiler Two-Year Retrospective, AI Agent Tools Explosion</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 12 Jul 2025 09:55:53 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-110-jit-compiler-two-year-retrospective-ai-agent-tools-explosion-5d7b</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-110-jit-compiler-two-year-retrospective-ai-agent-tools-explosion-5d7b</guid>
      <description>&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;&lt;strong&gt;Stay ahead of the curve:&lt;/strong&gt; &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Subscribe now&lt;/a&gt; for weekly insights that keep you at the forefront of Python innovation!&lt;/p&gt;

&lt;p&gt;Full article &lt;a href="https://www.patreon.com/posts/python-trending-133956776" rel="noopener noreferrer"&gt;https://www.patreon.com/posts/python-trending-133956776&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Here are the title summaries for this issue: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🦄Articles &amp;amp; Tutorials&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① Reflections on 2 years of CPython's JIT Compiler: The good, the bad, the ugly&lt;/p&gt;

&lt;p&gt;② Types are Transforming Python&lt;/p&gt;

&lt;p&gt;③ Solving Wordle with uv's dependency resolver&lt;/p&gt;

&lt;p&gt;④ Developing a Real-time Dashboard with FastAPI, MongoDB, and WebSockets&lt;/p&gt;

&lt;p&gt;⑤ Escaping Contravariance Hell&lt;/p&gt;

&lt;p&gt;⑥ LangFlow Tutorial: Building Production-Ready AI Applications With Visual Workflows&lt;/p&gt;

&lt;p&gt;⑦ Scaling recommendations service at OLX&lt;/p&gt;

&lt;p&gt;⑧ Getting extensions to work with free-threaded Python&lt;/p&gt;

&lt;p&gt;⑨ Augmented Coding: Beyond the Vibes&lt;/p&gt;

&lt;p&gt;⑩ Context Engineering for Agents&lt;/p&gt;

&lt;p&gt;⑪ PyTorch is dead. Long live JAX.&lt;/p&gt;

&lt;p&gt;⑫ operators, not users and programmers&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🐿️Projects &amp;amp; Resources&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① trae-agent: LLM-based agent for general purpose software engineering tasks&lt;/p&gt;

&lt;p&gt;② xai-sdk-python: The official Python SDK for the xAI API&lt;/p&gt;

&lt;p&gt;③ desto: web-interface and cli to manage python and shell scripts in tmux sessions&lt;/p&gt;

&lt;p&gt;④ devin.cursorrules: Magic to turn Cursor/Windsurf as 90% of Devin&lt;/p&gt;

&lt;p&gt;⑤ LingChat: GPT chat with emotional expressions&lt;/p&gt;

&lt;p&gt;⑥ rowboat: AI-powered multi-agent builder&lt;/p&gt;

&lt;p&gt;⑦ agent-factory: A tool for generating Python code for agentic workflows&lt;/p&gt;

&lt;p&gt;⑧ throttled-py: High-performance Python rate limiting library&lt;/p&gt;

&lt;p&gt;⑨ tubearchivist: Your self hosted YouTube media server&lt;/p&gt;

&lt;p&gt;⑩ mlx-audio: A text-to-speech (TTS), speech-to-text (STT) and speech-to-speech (STS) library built on Apple's MLX framework&lt;/p&gt;

&lt;p&gt;⑪ sloppy-xml-py: A Python library to parse malformed XML&lt;/p&gt;

&lt;p&gt;⑫ Python-Scripts: A curated list of python scripts for automating your tasks&lt;/p&gt;

&lt;p&gt;Cut through the noise with our premium subscription at $4.99/month. Get hand-picked, cutting-edge Python content delivered weekly. Join 350+ professionals who trust us to filter the best from 400+ sources for technical vision expansion and career development. Subscribe at: &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After subscribing, you can view the full text of Issue 110 for free: &lt;a href="https://www.patreon.com/posts/python-trending-133956776" rel="noopener noreferrer"&gt;https://www.patreon.com/posts/python-trending-133956776&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-sweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 3 Summary with E-book Download&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-iweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 2 Complete Collection (Issues 31-60)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 1 Highlights Collection (Issues 1-30)&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>Python Trending Weekly #108：Will AI Replace Junior Developers?</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 28 Jun 2025 13:46:35 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-108will-ai-replace-junior-developers-258e</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-108will-ai-replace-junior-developers-258e</guid>
      <description>&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;&lt;strong&gt;Stay ahead of the curve:&lt;/strong&gt; &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Subscribe now&lt;/a&gt; for weekly insights that keep you at the forefront of Python innovation!&lt;/p&gt;

&lt;p&gt;This week we're sharing 12 articles, 12 open source projects, 2 podcasts &amp;amp; videos&lt;/p&gt;

&lt;p&gt;Here are the title summaries for this issue: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🦄Articles &amp;amp; Tutorials&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① My First Open Source AI Generated Library&lt;/p&gt;

&lt;p&gt;② Fun with uv and PEP 723&lt;/p&gt;

&lt;p&gt;③ Will AI Replace Junior Developers? I Asked Experts at Pycon US&lt;/p&gt;

&lt;p&gt;④ Fixing Python Properties&lt;/p&gt;

&lt;p&gt;⑤ Python can run Mojo now&lt;/p&gt;

&lt;p&gt;⑥ Django: Introducing inline-snapshot-django&lt;/p&gt;

&lt;p&gt;⑦ Cut Django Database Latency by 50-70ms With Native Connection Pooling&lt;/p&gt;

&lt;p&gt;⑧ The Waiting Time Paradox, or, Why Is My Bus Always Late?&lt;/p&gt;

&lt;p&gt;⑨ Kalman and Bayesian Filters in Python&lt;/p&gt;

&lt;p&gt;⑩ Switching from virtualenvwrapper to direnv, Starship, and uv&lt;/p&gt;

&lt;p&gt;⑪ How to think about agent frameworks&lt;/p&gt;

&lt;p&gt;⑫ Lessons From 9 More Years of Tricky Bugs&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🐿️Projects &amp;amp; Resources&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal&lt;/p&gt;

&lt;p&gt;② nxtscape: Nxtscape is an open-source agentic browser&lt;/p&gt;

&lt;p&gt;③ augmentoolkit: Create Custom LLMs&lt;/p&gt;

&lt;p&gt;④ BitNet: Official inference framework for 1-bit LLMs&lt;/p&gt;

&lt;p&gt;⑤ local-deep-research: AI-powered assistant for deep, iterative research&lt;/p&gt;

&lt;p&gt;⑥ pyfuze: Package Python projects into executables&lt;/p&gt;

&lt;p&gt;⑦ nbdev: Create delightful software with Jupyter Notebooks&lt;/p&gt;

&lt;p&gt;⑧ fastapi_mcp: Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!&lt;/p&gt;

&lt;p&gt;⑨ Awesome-ML-SYS-Tutorial: My learning notes/codes for ML SYS&lt;/p&gt;

&lt;p&gt;⑩ machine-learning-visualized: ML algorithms implemented and derived from first-principles in Jupyter Notebooks and NumPy&lt;/p&gt;

&lt;p&gt;⑪ code-graph-rag: Search Monorepos and get relevant answers&lt;/p&gt;

&lt;p&gt;⑫ FeedMe: AI-powered RSS reader, deployable to GitHub Pages or with Docker&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🐢Podcasts &amp;amp; Videos&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① Watch the DjangoCon Europe 2025 talks&lt;/p&gt;

&lt;p&gt;② Add Features Without Touching Source Code!&lt;/p&gt;

&lt;p&gt;Cut through the noise with our premium subscription at $4.99/month. Get hand-picked, cutting-edge Python content delivered weekly. Join 350+ professionals who trust us to filter the best from 400+ sources for technical vision expansion and career development. Subscribe at: &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After subscribing, you can view the full text of Issue 108 for free: &lt;a href="https://www.patreon.com/posts/python-trending-132603667" rel="noopener noreferrer"&gt;https://www.patreon.com/posts/python-trending-132603667&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-sweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 3 Summary with E-book Download&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-iweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 2 Complete Collection (Issues 31-60)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 1 Highlights Collection (Issues 1-30)&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>productivity</category>
      <category>rust</category>
    </item>
    <item>
      <title>Python Trending Weekly #107: GIL-Free Python Gets Official Approval</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 21 Jun 2025 09:46:12 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-107-gil-free-python-gets-official-approval-3b9m</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-107-gil-free-python-gets-official-approval-3b9m</guid>
      <description>&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;&lt;strong&gt;Stay ahead of the curve:&lt;/strong&gt; &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Subscribe now&lt;/a&gt; for weekly insights that keep you at the forefront of Python innovation!&lt;/p&gt;

&lt;p&gt;This week we're sharing 12 articles, 12 open source projects, 2 podcasts &amp;amp; videos, and 2 hot topics.&lt;/p&gt;

&lt;p&gt;Here are the title summaries for this issue: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🦄Articles &amp;amp; Tutorials&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① Design Patterns You Should Unlearn in Python-Part1&lt;/p&gt;

&lt;p&gt;② The Python Language Summit 2025&lt;/p&gt;

&lt;p&gt;③ State of Free-Threaded Python&lt;/p&gt;

&lt;p&gt;④ An introduction to Python for R users&lt;/p&gt;

&lt;p&gt;⑤ How global variables work in Python bytecode&lt;/p&gt;

&lt;p&gt;⑥ Are Python Dictionaries Ordered Data Structures?&lt;/p&gt;

&lt;p&gt;⑦ Understanding and Coding the KV Cache in LLMs from Scratch&lt;/p&gt;

&lt;p&gt;⑧ 从 browser-use 出发，品 Agent 实现&lt;/p&gt;

&lt;p&gt;⑨ PEP 795 – Deep Immutability in Python&lt;/p&gt;

&lt;p&gt;⑩ The Missing Manual for Signals: State Management for Python Developers&lt;/p&gt;

&lt;p&gt;⑪ Create your customized running plan: A step-by-step guide using Python, Elasticsearch, and Agno&lt;/p&gt;

&lt;p&gt;⑫ The fastest way to detect a vowel in a string&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🐿️Projects &amp;amp; Resources&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① MiniMax-M1: the world's first open-weight, large-scale hybrid-attention reasoning model&lt;/p&gt;

&lt;p&gt;② A functional standard library for Python&lt;/p&gt;

&lt;p&gt;③ TurboDRF: The dead simple Django REST Framework API generator with role-based permissions&lt;/p&gt;

&lt;p&gt;④ WinUp: A ridiculously Pythonic and powerful framework for building beautiful desktop applications&lt;/p&gt;

&lt;p&gt;⑤ Framefox: Python web framework that makes development enjoyable&lt;/p&gt;

&lt;p&gt;⑥ miniDiffusion: A reimplementation of Stable Diffusion 3.5 in pure PyTorch&lt;/p&gt;

&lt;p&gt;⑦ pyleak: Detect leaked asyncio tasks, threads, and event loop blocking with stack trace in Python&lt;/p&gt;

&lt;p&gt;⑧ Shiny for Python&lt;/p&gt;

&lt;p&gt;⑨ AI design agent, local alternative for Lovart&lt;/p&gt;

&lt;p&gt;⑩ FlareSolverr: Proxy server to bypass Cloudflare protection&lt;/p&gt;

&lt;p&gt;⑪ ii-agent: a new open-source framework to build and deploy intelligent agents&lt;/p&gt;

&lt;p&gt;⑫ ChinaTextbook: Complete Collection of Chinese K-12 and University PDF Textbooks&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🐢Podcasts &amp;amp; Videos&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① My PyCon Talk This Year: Discussing My First Completed PEP&lt;/p&gt;

&lt;p&gt;② Program Your Own Computer in Python&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🥂Discussions &amp;amp; Questions&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① PEP 779: Criteria for supported status for free-threaded Python&lt;/p&gt;

&lt;p&gt;② Any convenient and user-friendly Python GUI frameworks?&lt;/p&gt;

&lt;p&gt;Cut through the noise with our premium subscription at $4.99/month. Get hand-picked, cutting-edge Python content delivered weekly. Join 350+ professionals who trust us to filter the best from 400+ sources for technical vision expansion and career development. Subscribe at: &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After subscribing, you can view the full text of Issue 107 for free: &lt;a href="https://www.patreon.com/posts/python-weekly-131958235" rel="noopener noreferrer"&gt;https://www.patreon.com/posts/python-weekly-131958235&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-sweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 3 Summary with E-book Download&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-iweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 2 Complete Collection (Issues 31-60)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 1 Highlights Collection (Issues 1-30)&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>ai</category>
      <category>tutorial</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Python Trending Weekly #106: PEP 734 officially accepted, the era of multiple interpreters is coming</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 14 Jun 2025 07:27:15 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-106-pep-734-officially-accepted-the-era-of-multiple-interpreters-is-coming-4k81</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-106-pep-734-officially-accepted-the-era-of-multiple-interpreters-is-coming-4k81</guid>
      <description>&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;&lt;strong&gt;Stay ahead of the curve:&lt;/strong&gt; &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Subscribe now&lt;/a&gt; for weekly insights that keep you at the forefront of Python innovation!&lt;/p&gt;

&lt;p&gt;This week we're featuring 12 articles and 15 open source projects.&lt;/p&gt;

&lt;p&gt;Here are the title summaries for this issue: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🦄Articles &amp;amp; Tutorials&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① PEP 734: Multiple Interpreters in the Stdlib&lt;/p&gt;

&lt;p&gt;② Why pandas feels clunky when coming from R&lt;/p&gt;

&lt;p&gt;③ Faster Python: Concurrency in async/await and threading&lt;/p&gt;

&lt;p&gt;④ A Deep Dive into CrewAI and Agentic Design&lt;/p&gt;

&lt;p&gt;⑤ MonsterUI: Bringing Beautiful UI to FastHTML&lt;/p&gt;

&lt;p&gt;⑥ Dewu's Community Data Generation Service Integrates with MCP&lt;/p&gt;

&lt;p&gt;⑦ Data Validation Libraries for Polars (2025 Edition)&lt;/p&gt;

&lt;p&gt;⑧ Exploring AI Integration with Adobe Photoshop, InDesign and Premiere Pro&lt;/p&gt;

&lt;p&gt;⑨ Beyond htmx: building modern Django apps with Alpine AJAX&lt;/p&gt;

&lt;p&gt;⑩ How I'm using Django, JavaScript modules and importmaps together&lt;/p&gt;

&lt;p&gt;⑪ Field Notes From Shipping Real Code With Claude&lt;/p&gt;

&lt;p&gt;⑫ Fixing FastAPI Throughput Without Going Fully Async&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🐿️Projects &amp;amp; Resources&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① Archon: AI Agent Builder&lt;/p&gt;

&lt;p&gt;② excel-mcp-server: A Model Context Protocol server for Excel file manipulation&lt;/p&gt;

&lt;p&gt;③ crudadmin: Modern admin interface for FastAPI with built-in authentication, event tracking, and security features&lt;/p&gt;

&lt;p&gt;④ py-pglite: PGlite wrapper in Python for testing&lt;/p&gt;

&lt;p&gt;⑤ openai-agents-python: A lightweight, powerful framework for multi-agent workflows&lt;/p&gt;

&lt;p&gt;⑥ ai-manus: AI Manus is a general-purpose AI Agent system&lt;/p&gt;

&lt;p&gt;⑦ WebAgent: WebWalker [ACL2025] &amp;amp; WebDancer [Preprint]&lt;/p&gt;

&lt;p&gt;⑧ poethepoet: A task runner that works well with poetry or uv&lt;/p&gt;

&lt;p&gt;⑨ ragbits: Building blocks for rapid development of GenAI applications&lt;/p&gt;

&lt;p&gt;⑩ WorldGen: Generate Any 3D Scene in Seconds&lt;/p&gt;

&lt;p&gt;⑪ docext: An on-premises, OCR-free unstructured data extraction, markdown conversion and benchmarking toolkit&lt;/p&gt;

&lt;p&gt;⑫ Orpheus-TTS: Towards Human-Sounding Speech&lt;/p&gt;

&lt;p&gt;⑬ VACE: All-in-One Video Creation and Editing&lt;/p&gt;

&lt;p&gt;⑭ langmem: LangMem helps agents learn and adapt from their interactions over time&lt;/p&gt;

&lt;p&gt;⑮ terminator: Automate desktop apps like a browser&lt;/p&gt;

&lt;p&gt;Cut through the noise with our premium subscription at $4.99/month. Get hand-picked, cutting-edge Python content delivered weekly. Join 350+ professionals who trust us to filter the best from 400+ sources for technical vision expansion and career development. Subscribe at: &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After subscribing, you can view the full text of Issue 106 for free: &lt;a href="https://www.patreon.com/posts/python-trending-131437980" rel="noopener noreferrer"&gt;https://www.patreon.com/posts/python-trending-131437980&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-sweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 3 Summary with E-book Download&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2025-04-20-iweekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 2 Complete Collection (Issues 31-60)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;Python Trending Weekly Season 1 Highlights Collection (Issues 1-30)&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>webdev</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>⚡ Supercharge Your Python Learning with These 9 Weekly Newsletters</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sun, 08 Jun 2025 05:22:12 +0000</pubDate>
      <link>https://dev.to/pythoncat/supercharge-your-python-learning-with-these-9-weekly-newsletters-217g</link>
      <guid>https://dev.to/pythoncat/supercharge-your-python-learning-with-these-9-weekly-newsletters-217g</guid>
      <description>&lt;p&gt;Hey Python enthusiasts! 🐍 Ready to discover some game-changing resources that'll supercharge your development journey?&lt;/p&gt;

&lt;p&gt;I've been reading Python newsletters for years, and I wanted to share the ones that have actually been worth my time. After testing 9 different newsletters, I've got some thoughts on which ones deliver real value and which ones... well, let's just say your inbox deserves better.&lt;/p&gt;

&lt;p&gt;Here's my honest take on each one, ranked from the newsletters I actually look forward to reading down to the ones I'd probably unsubscribe from. If you're tired of sifting through mediocre content, this might help you find something worthwhile.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Python Trending Weekly
&lt;/h2&gt;

&lt;p&gt;This newsletter started in May 2023 and combines AI filtering with human curation. Each issue includes 12 articles/tutorials and 12 projects, sourced from 400+ Python-related sites. They also cover podcasts, videos, and community discussions.&lt;/p&gt;

&lt;p&gt;What I like: Instead of just dropping links, they actually write descriptions and include screenshots. They highlight projects with 1000+ stars, which saves time when you're looking for mature tools. &lt;/p&gt;

&lt;p&gt;The standout feature? Every 30 issues gets compiled into comprehensive e-book collections with seasonal reviews and curated compilations. These aren't just archives - they're well-organized reference materials that you can actually use for learning and project discovery.&lt;/p&gt;

&lt;p&gt;It's a paid newsletter, but the current pricing seems reasonable for what you get.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐⭐⭐⭐⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://patreon.com/PythonCat666" rel="noopener noreferrer"&gt;https://patreon.com/PythonCat666&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Website：&lt;a href="https://weekly.pythoncat.top/en" rel="noopener noreferrer"&gt;https://weekly.pythoncat.top&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fknelsm8d4ify6iwdj8er.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fknelsm8d4ify6iwdj8er.png" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F84e48roepmhpnetrx4w7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F84e48roepmhpnetrx4w7.png" width="730" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Python Weekly
&lt;/h2&gt;

&lt;p&gt;The OG Python newsletter with 700+ issues since 2012. Each week brings 11-15 articles/tutorials/talks and 9-12 projects, plus Python event listings.&lt;/p&gt;

&lt;p&gt;The quality is inconsistent - some article descriptions are thoughtful, others are just copy-pasted excerpts. Project descriptions usually come straight from GitHub repos without much editorial input. But honestly? The consistency over 12+ years is impressive.&lt;/p&gt;

&lt;p&gt;Respect to the creator for building something sustainable. They also run newsletters for other programming topics and entrepreneurship.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐⭐⭐⭐⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://www.pythonweekly.com" rel="noopener noreferrer"&gt;https://www.pythonweekly.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fztm5kntb4f7bl4c04mbd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fztm5kntb4f7bl4c04mbd.png" width="800" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnenbnmpfe0hjxxsctmoz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnenbnmpfe0hjxxsctmoz.png" width="800" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Pycoder's Weekly
&lt;/h2&gt;

&lt;p&gt;Running since 2012 with 680+ issues, 171K subscribers, and 122K Twitter followers. Each issue has about 15 articles and 6 projects, plus Python events. There are usually 2-3 ads, but they're not too intrusive.&lt;/p&gt;

&lt;p&gt;What I appreciate: They actually put effort into descriptions, include source credits, and mention where content comes from. They also feature reader submissions that you won't see elsewhere.&lt;/p&gt;

&lt;p&gt;The Real Python connection means you'll sometimes get exclusive content from their educational platform.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐⭐⭐⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://pycoders.com" rel="noopener noreferrer"&gt;https://pycoders.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9rop0lgk2qoac9hoil2d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9rop0lgk2qoac9hoil2d.png" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnytnvp2hninz1ejo113f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnytnvp2hninz1ejo113f.png" width="800" height="539"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Python Hub Weekly Digest
&lt;/h2&gt;

&lt;p&gt;Been around since 2012, created by a developer from Ukraine. Each issue has about 11 articles and 8 projects.&lt;/p&gt;

&lt;p&gt;I like their curation approach - they mix recent popular content with older stuff that other newsletters missed. Most articles get descriptions (usually excerpts), though they don't separate videos from articles, which can be confusing.&lt;/p&gt;

&lt;p&gt;The design is clean and ad-free, which is refreshing. They've built a solid following with 145K Twitter followers.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐⭐⭐⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://pythonhub.dev/digest" rel="noopener noreferrer"&gt;https://pythonhub.dev/digest&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flmczq3172ha2tale7a9q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flmczq3172ha2tale7a9q.png" width="800" height="484"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk7ij1jcuygztbj3q8po3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk7ij1jcuygztbj3q8po3.png" width="800" height="521"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Django News
&lt;/h2&gt;

&lt;p&gt;Started in December 2019, focusing exclusively on Django: news, articles, projects, events, and jobs. With 4.2K subscribers, it's smaller than the general Python newsletters, but that's the point.&lt;/p&gt;

&lt;p&gt;Interesting business model - they're transparent about ad pricing ($250 per spot, two spots per issue) and let you book online. Smart way to monetize a niche audience.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐⭐⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://django-news.com" rel="noopener noreferrer"&gt;https://django-news.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgt0t0olwuxpxs2c7tzzk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgt0t0olwuxpxs2c7tzzk.png" width="800" height="516"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fony45p8fp8y791es62bw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fony45p8fp8y791es62bw.png" width="800" height="618"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Python on Microcontrollers Newsletter
&lt;/h2&gt;

&lt;p&gt;For Python + hardware folks, though the dark theme layout with lots of images can feel visually cluttered.&lt;/p&gt;

&lt;p&gt;Despite the name, it's mostly about single-board computers like Raspberry Pi rather than actual microcontrollers. If you're into IoT or hardware projects, this covers a growing niche that most Python newsletters ignore.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐⭐⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://www.adafruitdaily.com" rel="noopener noreferrer"&gt;https://www.adafruitdaily.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F35dv6ndtp6dhjkggers0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F35dv6ndtp6dhjkggers0.png" width="800" height="548"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4cy364v4mevovqpaioh2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4cy364v4mevovqpaioh2.png" width="800" height="736"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. This Week in Python
&lt;/h2&gt;

&lt;p&gt;Started in March 2022 with a simple format: exactly 5 articles and 5 projects per issue. Used to have descriptions, now it's just titles and links. Content is decent but overlaps with other newsletters. No ads.&lt;/p&gt;

&lt;p&gt;The creator seems genuinely enthusiastic and sometimes writes original content. Shows that you don't need fancy formatting to run a newsletter - just share what you're reading.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://bas.codes" rel="noopener noreferrer"&gt;https://bas.codes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ojrgtzoyzead46mcpk2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ojrgtzoyzead46mcpk2.png" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8g89g21rgfapdd38e9jg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8g89g21rgfapdd38e9jg.png" width="800" height="718"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Python weekly newsletter
&lt;/h2&gt;

&lt;p&gt;Quantity over quality here - just titles and links with comment counts, no descriptions. Warning: they sometimes include actual snake articles mixed with Python programming content. The author runs about 20 tech newsletters with automated aggregation.&lt;/p&gt;

&lt;p&gt;Content comes from scraping Hacker News, Reddit, Twitter, and Mastodon based on engagement metrics. Quality varies wildly.&lt;/p&gt;

&lt;p&gt;Upside: lots of content (25-30 items) with minimal ads.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://discu.eu/weekly/python" rel="noopener noreferrer"&gt;https://discu.eu/weekly/python&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fojogsb2vxdfv8j2sa9oa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fojogsb2vxdfv8j2sa9oa.png" width="800" height="604"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frnas3r1bjkgc0s6zdhck.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frnas3r1bjkgc0s6zdhck.png" width="800" height="524"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Awesome Python Weekly
&lt;/h2&gt;

&lt;p&gt;Running since 2016 with 10 articles and 5 projects per issue, reaching 19K subscribers. Just titles and links, no descriptions.&lt;/p&gt;

&lt;p&gt;Why I'd skip it: They mix actual snake articles with Python programming content, which is confusing. Project links redirect through their site before going to GitHub, which is annoying. Plus, 3 ads per issue makes it the most ad-heavy newsletter here.&lt;/p&gt;

&lt;p&gt;Credit where it's due - running 20 newsletters is quite the operation, even if the quality suffers.&lt;/p&gt;

&lt;p&gt;Recommendation: ⭐&lt;/p&gt;

&lt;p&gt;Subscribe: &lt;a href="https://python.libhunt.com/newsletter" rel="noopener noreferrer"&gt;https://python.libhunt.com/newsletter&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff2ye39i723hnho1hawtg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff2ye39i723hnho1hawtg.png" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwvo795ss4mfk7fxqptzu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwvo795ss4mfk7fxqptzu.png" width="800" height="619"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's my take on 9 Python newsletters, from excellent to questionable. 📊&lt;/p&gt;

&lt;p&gt;Newsletters can be a good way to stay updated without spending hours browsing. The variety of approaches is interesting - some focus on automation and volume, others prioritize quality and stay ad-free, and a few are experimenting with paid models.&lt;/p&gt;

&lt;p&gt;If you're looking to subscribe, I'd suggest picking 2-3 that match how you like to consume content. No need to overwhelm your inbox.&lt;/p&gt;

&lt;p&gt;I'll probably write about more Python resources in the future. If this was useful, feel free to share it with other developers who might be interested.&lt;/p&gt;

</description>
      <category>python</category>
      <category>webdev</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Python Trending Weekly #105: Dify Breaks 100K Stars, Full-Stack Development Best Practices for 2025</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 07 Jun 2025 14:56:18 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-105-dify-breaks-100k-stars-full-stack-development-best-practices-for-2025-1ikp</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-105-dify-breaks-100k-stars-full-stack-development-best-practices-for-2025-1ikp</guid>
      <description>&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;&lt;strong&gt;Stay ahead of the curve:&lt;/strong&gt; &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Subscribe now&lt;/a&gt; for weekly insights that keep you at the forefront of Python innovation!&lt;/p&gt;

&lt;p&gt;This week we're featuring 12 articles and 12 open source projects.&lt;/p&gt;

&lt;p&gt;Here are the title summaries for this issue: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🦄Articles &amp;amp; Tutorials&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① Create a React + Flask Project in 2025&lt;/p&gt;

&lt;p&gt;② How I'm bundling frontend assets using Django and rspack these days&lt;/p&gt;

&lt;p&gt;③ Python: sharing common tests in unittest&lt;/p&gt;

&lt;p&gt;④ Local Speed, Smooth Deploys: Heroku Adds Support for uv&lt;/p&gt;

&lt;p&gt;⑤ Ways to Optimize Your Code in Python&lt;/p&gt;

&lt;p&gt;⑥ Import Name Metadata&lt;/p&gt;

&lt;p&gt;⑦ How to split up a Django monolith without using microservices&lt;/p&gt;

&lt;p&gt;⑧ How local variables work in Python bytecode&lt;/p&gt;

&lt;p&gt;⑨ Globally Disabling Foreign Keys in Django&lt;/p&gt;

&lt;p&gt;⑩ I made a worse search engine than Elasticsearch&lt;/p&gt;

&lt;p&gt;⑪ Developing a PDF Chat App with Pinata, OpenAI and Streamlit&lt;/p&gt;

&lt;p&gt;⑫ A dinosaur learns poetry&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://weekly.pythoncat.top" rel="noopener noreferrer"&gt;🐿️Projects &amp;amp; Resources&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① dify: Dify is an open-source LLM app development platform&lt;/p&gt;

&lt;p&gt;② sequor: Sequor is a SQL-centric platform for building API integrations&lt;/p&gt;

&lt;p&gt;③ bilive: Extremely fast live recording, automatic slicing, rendering, uploading and Integrating MLLMs&lt;/p&gt;

&lt;p&gt;④ local-ai-packaged: Run all your local AI together in one package - Ollama, Supabase, n8n, Open WebUI, and more!&lt;/p&gt;

&lt;p&gt;⑤ NLWeb: Natural Language Web&lt;/p&gt;

&lt;p&gt;⑥ OpenThinkIMG: OpenThinkIMG is an end-to-end open-source framework that empowers LVLMs to think with images&lt;/p&gt;

&lt;p&gt;⑦ pageql: Embed SQL directly into HTML&lt;/p&gt;

&lt;p&gt;⑧ AutoAgent: Fully-Automated and Zero-Code LLM Agent Framework&lt;/p&gt;

&lt;p&gt;⑨ LMCache: Redis for LLMs&lt;/p&gt;

&lt;p&gt;⑩ davia: The easiest way to build apps from your Python code&lt;/p&gt;

&lt;p&gt;⑪ ovld: Advanced multiple dispatch for Python functions&lt;/p&gt;

&lt;p&gt;⑫ arc-export: Export pinned Arc Browser tabs for importing bookmarks into other browsers&lt;/p&gt;

&lt;p&gt;Cut through the noise with our premium subscription at $4.99/month. Get hand-picked, cutting-edge Python content delivered weekly. Join 350+ professionals who trust us to filter the best from 400+ sources for technical vision expansion and career development. Subscribe at: &lt;a href="https://www.patreon.com/pythonweekly" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After subscribing, you can view the full text of Issue 105 for free: &lt;a href="https://www.patreon.com/posts/python-trending-130927753" rel="noopener noreferrer"&gt;https://www.patreon.com/posts/python-trending-130927753&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>ai</category>
      <category>python</category>
    </item>
    <item>
      <title>Python 潮流周刊#85：让 AI 帮你写出更好的代码</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 11 Jan 2025 02:53:19 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-chao-liu-zhou-kan-85rang-ai-bang-ni-xie-chu-geng-hao-de-dai-ma-1i5j</link>
      <guid>https://dev.to/pythoncat/python-chao-liu-zhou-kan-85rang-ai-bang-ni-xie-chu-geng-hao-de-dai-ma-1i5j</guid>
      <description>&lt;p&gt;本周刊由 Python猫 出品，精心筛选国内外的 250+ 信息源，为你挑选最值得分享的文章、教程、开源项目、软件工具、播客和视频、热门话题等内容。愿景：帮助所有读者精进 Python 技术，并增长职业和副业的收入。&lt;/p&gt;

&lt;p&gt;分享了 12 篇文章，12 个开源项目，1 则音视频，全文 2300 字。&lt;/p&gt;

&lt;p&gt;以下是本期摘要： &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://xiaobot.net/p/python_weekly" rel="noopener noreferrer"&gt;🦄文章&amp;amp;教程&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① 如果一直要求 LLM “写出更好的代码”，它们能写出更好的代码吗？&lt;/p&gt;

&lt;p&gt;② Python 并发：线程、进程与 asyncio 详解&lt;/p&gt;

&lt;p&gt;③ 为什么在 Python 中 hash(-1) == hash(-2)？&lt;/p&gt;

&lt;p&gt;④ 在浏览器中轻松运行 Python&lt;/p&gt;

&lt;p&gt;⑤ PEP-769：给 'attrgetter' 和 'itemgetter' 添加 'default' 关键字参数&lt;/p&gt;

&lt;p&gt;⑥ Pipx 的三个使用技巧&lt;/p&gt;

&lt;p&gt;⑦ Django vs. FastAPI，真诚的比较&lt;/p&gt;

&lt;p&gt;⑧ Python 弱引用与垃圾回收器&lt;/p&gt;

&lt;p&gt;⑨ AI-text-to-video-model-from-scratch：从零开发一个微型的文本到视频模型&lt;/p&gt;

&lt;p&gt;⑩ Python 在 DevOps 领域的应用&lt;/p&gt;

&lt;p&gt;⑪ 用机器学习开发一个贫血检测系统&lt;/p&gt;

&lt;p&gt;⑫ Google 发布 AI Agent（智能体）技术白皮书&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://xiaobot.net/p/python_weekly" rel="noopener noreferrer"&gt;🐿️项目&amp;amp;资源&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① AI-reads-books-page-by-page: AI 逐页从 PDF 提取知识与生成摘要&lt;/p&gt;

&lt;p&gt;② ai-book-writer: 用 AI 代理编写整本书&lt;/p&gt;

&lt;p&gt;③ web-ui：在浏览器中运行 AI 代理&lt;/p&gt;

&lt;p&gt;④ F5-TTS：通过流匹配伪造流畅且忠实语音的童话讲述者&lt;/p&gt;

&lt;p&gt;⑤ AutoMouser：基于鼠标运动来生成浏览器自动化代码&lt;/p&gt;

&lt;p&gt;⑥ paper_to_podcast：将论文转化为三人对谈的播客&lt;/p&gt;

&lt;p&gt;⑦ xhs_ai_publisher：小红书 AI 运营助手（内容生成和自动发布）&lt;/p&gt;

&lt;p&gt;⑧ ipychat：IPython 的 AI 扩展，使其像 Cursor 一样&lt;/p&gt;

&lt;p&gt;⑨ magnetron：从零开始开发的 PyTorch&lt;/p&gt;

&lt;p&gt;⑩ dendrite-python-sdk：用于开发网络 AI 代理的工具&lt;/p&gt;

&lt;p&gt;⑪ 热门 Django 项目的导航网站&lt;/p&gt;

&lt;p&gt;⑫ zh-style-guide：中文技术文档的写作风格指南&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://xiaobot.net/p/python_weekly" rel="noopener noreferrer"&gt;🐢播客&amp;amp;视频&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;① AI 制作的英文播客：Python潮流周刊第一季精选合集&lt;/p&gt;

&lt;p&gt;周刊实行付费订阅制，年费 128 元，平均每天不到 4 毛钱，但绝对是一笔有眼光的投资。花钱学习知识，花钱提升自己，欢迎订阅这个你绝对不会后悔的专栏：&lt;a href="https://xiaobot.net/p/python_weekly" rel="noopener noreferrer"&gt;https://xiaobot.net/p/python_weekly&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;订阅后，可免费查看 第 85 期周刊的全文：&lt;a href="https://www.xiaobot.net/post/900bb219-7e37-47c6-b795-ef7061d18a51" rel="noopener noreferrer"&gt;https://www.xiaobot.net/post/900bb219-7e37-47c6-b795-ef7061d18a51&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Python 潮流周刊第 2 季完结了，分享几项总结：&lt;a href="https://pythoncat.top/posts/2024-07-14-iweekly" rel="noopener noreferrer"&gt;https://pythoncat.top/posts/2024-07-14-iweekly&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;周刊前30期的免费合集，含精美电子书（EPUB/PDF）：&lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;https://pythoncat.top/posts/2023-12-11-weekly&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;万字浓缩版，Python 潮流周刊第 1 季的 800 个链接！：&lt;a href="https://xiaobot.net/post/78c3d645-86fa-4bd8-8eac-46fb192a339e" rel="noopener noreferrer"&gt;https://xiaobot.net/post/78c3d645-86fa-4bd8-8eac-46fb192a339e&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;微信关注 Python猫&lt;/strong&gt;：&lt;a href="https://img.pythoncat.top/python_cat.jpg" rel="noopener noreferrer"&gt;https://img.pythoncat.top/python_cat.jpg&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
      <category>python</category>
    </item>
    <item>
      <title>Python 潮流周刊#58：最快运行原型的语言（摘要）</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 29 Jun 2024 14:30:26 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-chao-liu-zhou-kan-58zui-kuai-yun-xing-yuan-xing-de-yu-yan-zhai-yao--3doi</link>
      <guid>https://dev.to/pythoncat/python-chao-liu-zhou-kan-58zui-kuai-yun-xing-yuan-xing-de-yu-yan-zhai-yao--3doi</guid>
      <description>&lt;p&gt;本周刊由 Python猫 出品，精心筛选国内外的 250+ 信息源，为你挑选最值得分享的文章、教程、开源项目、软件工具、播客和视频、热门话题等内容。愿景：帮助所有读者精进 Python 技术，并增长职业和副业的收入。&lt;/p&gt;

&lt;p&gt;本期周刊分享了 12 篇文章，12 个开源项目，赠书 5 本，全文 2100 字。&lt;/p&gt;

&lt;p&gt;以下是本期摘要： &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://xiaobot.net/p/python_weekly" rel="noopener noreferrer"&gt;🦄文章&amp;amp;教程&lt;/a&gt;&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;① 最快运行原型的语言&lt;/p&gt;

&lt;p&gt;② PEP-2026 提议 Python 采用日历版本号&lt;/p&gt;

&lt;p&gt;③ 优化 Python 的路由和调度：一个新的开源求解器 Timefold&lt;/p&gt;

&lt;p&gt;④ 深入了解 Python 的集合数据结构&lt;/p&gt;

&lt;p&gt;⑤ 使用 weakref 介绍 Python 的弱引用&lt;/p&gt;

&lt;p&gt;⑥ 这就是软件开发现在的样子&lt;/p&gt;

&lt;p&gt;⑦ 在命令行终端使用大语言模型&lt;/p&gt;

&lt;p&gt;⑧ 如何将 Python 包发布到 PyPI？&lt;/p&gt;

&lt;p&gt;⑨ 基本 Python 项目设置&lt;/p&gt;

&lt;p&gt;⑩ 用 Make 提升 Python 开发者体验&lt;/p&gt;

&lt;p&gt;⑪ Notebooks 是代码中的麦当劳&lt;/p&gt;

&lt;p&gt;⑫ 花了 6 个月时间开发 LiveAPI 代理，我得到的 10 个经验教训&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://xiaobot.net/p/python_weekly" rel="noopener noreferrer"&gt;🐿️项目&amp;amp;资源&lt;/a&gt;&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;① Your-Journey-To-Fluent-Python：你的流畅的 Python 之旅&lt;/p&gt;

&lt;p&gt;② llm：从命令行访问大语言模型&lt;/p&gt;

&lt;p&gt;③ lmdocs：使用 LLM 生成 Python 项目的帮助文档&lt;/p&gt;

&lt;p&gt;④ make-python-devex：使用 Make、Homebrew、pyenv、poetry 等工具的示例&lt;/p&gt;

&lt;p&gt;⑤ vulture：查找无效的 Python 代码&lt;/p&gt;

&lt;p&gt;⑥ CleanMyWechat: 自动删除 PC 端微信缓存数据&lt;/p&gt;

&lt;p&gt;⑦ wxauto：Windows 版微信自动化，可发送/接收消息，简单微信机器人&lt;/p&gt;

&lt;p&gt;⑧ youdaonote-pull：一键导出/备份有道云笔记的所有笔记&lt;/p&gt;

&lt;p&gt;⑨ reladiff：跨数据库对大型数据集作高性能比对&lt;/p&gt;

&lt;p&gt;⑩ hrms：开源人力资源和薪资管理软件&lt;/p&gt;

&lt;p&gt;⑪ burr：构建能够做出决策的应用（聊天机器人、代理、仿真等）&lt;/p&gt;

&lt;p&gt;⑫ thread：AI 驱动的 Jupyter Notebook&lt;/p&gt;




&lt;p&gt;目前周刊实行付费订阅制，年费 128 元，平均每天不到 4 毛钱，但绝对是一笔有眼光的投资。花钱学习知识，花钱提升自己，欢迎订阅这个：&lt;a href="https://xiaobot.net/p/python_weekly" rel="noopener noreferrer"&gt;你绝对不会后悔的专栏&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;订阅后，可免费查看 &lt;a href="https://xiaobot.net/post/845615d4-fe5f-4b92-9036-a91e65214f0f" rel="noopener noreferrer"&gt;第 58 期周刊的全文&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;PS.本周刊&lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;前30期的合集&lt;/a&gt;永久免费，另外，付费期数将在其 50 期后免费开放，例如第 58 期将在第 108 期时免费，敬请留意。&lt;/p&gt;

</description>
      <category>python</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Python Trending Weekly #42 (2024-03-16)</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 16 Mar 2024 08:31:21 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-42-2024-03-16-4lim</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-42-2024-03-16-4lim</guid>
      <description>&lt;p&gt;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;p&gt;The &lt;a href="https://pythoncat.top/posts/2024-03-16-weekly" rel="noopener noreferrer"&gt;original version&lt;/a&gt; of the weekly was written in Chinese. What you are reading here is mostly translated by LLMs. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substack Channel&lt;/strong&gt; : &lt;a href="https://pythoncat.substack.com/s/python-trending-weekly" rel="noopener noreferrer"&gt;Click to subscribe&lt;/a&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  🦄Articles &amp;amp; Tutorials
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://mp.weixin.qq.com/s/OU38bK4q-KNymXAtx8gZJA" rel="noopener noreferrer"&gt;Why Our Company Still Uses Python for Project Development?&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This article gave me a sense of "industry secrets you don't know." Small companies are still sticking with Python 2.7 + Django 1.8, and they are supporting hundreds of millions of dollars in transactions each year. The author also shared several projects, and my feeling is: Maybe you don't need to consider "which language is better" too much. Just choose the one you are familiar with and focus on business implementation.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://mp.weixin.qq.com/s/9uIYtQEc-RuNhMY7Ck9IAA" rel="noopener noreferrer"&gt;Should Python Strings Use Single or Double Quotes?&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python strings allow both single and double quotes, and even triple quotes. This flexibility is great, but it's also a source of conflict for standards pedants. This article shares an interesting story about it, recommended reading!&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://bjoernricks.github.io/posts/python/context-manager" rel="noopener noreferrer"&gt;Understanding Context Manager and Its Syntactic Sugar&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Why do we need context managers? What problems do they solve? The article also introduces the context manager protocol, the &lt;code&gt;with&lt;/code&gt; syntax sugar, implementing context managers with &lt;code&gt;contextlib&lt;/code&gt;, and four practical use cases.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://mathspp.com/blog/python-deque-tutorial" rel="noopener noreferrer"&gt;Python deque tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A &lt;code&gt;deque&lt;/code&gt; is a double-ended queue data structure in the &lt;code&gt;collections&lt;/code&gt; module, similar to a &lt;code&gt;list&lt;/code&gt; but optimized for fast addition and removal from either end. This tutorial covers its basic usage and some advanced use cases.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://guicommits.com/python-generic-type-function-class/" rel="noopener noreferrer"&gt;Python Generic function and class types&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python performs type checking at runtime and emphasizes the behavior of objects rather than their types, so it doesn't put much emphasis on "generics" that focus on type safety. However, Python does support generics, and this article introduces how to implement generic functions and generic classes using the &lt;code&gt;typing&lt;/code&gt; module.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://upsun.com/blog/python-gevent-best-practices/" rel="noopener noreferrer"&gt;Gevent in practice: Common pitfalls to keep in mind&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Gevent is a high-performance networking library built on top of greenlet, a lightweight coroutine implementation. This article introduces common pitfalls of Gevent and provides solutions.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://lwn.net/SubscriberLink/964392/498a12fe44f51139/" rel="noopener noreferrer"&gt;Insecurity and Python pickles&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;pickle&lt;/code&gt; is Python's standard library for serialization, but it has a major security risk when deserializing! The article introduces how it works, the root of the security risk, and how the machine learning community collaborated to design a safer alternative format called &lt;code&gt;safetensors&lt;/code&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/j2qk3b/ebook-demo/blob/main/tutorial.md" rel="noopener noreferrer"&gt;Building An Open Source Decentralized E-Book Search Engine&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This tutorial uses JavaScript and Python to develop an e-book search engine that relies on Glitter (a decentralized database service built with Tendermint) and uses React to develop the page that displays the search results.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://juejin.cn/post/7345423755948572726" rel="noopener noreferrer"&gt;What's the Difference Between Python import and Java import?&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Many programming languages have the &lt;code&gt;import&lt;/code&gt; keyword, and their functions are similar, but what are the differences in their underlying mechanisms? This article analyzes the similarities and differences between import in Java and Python, which can deepen your understanding of this topic.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://frostming.com/2024/pdm-lockfile/" rel="noopener noreferrer"&gt;PDM's Internal Implementation (1)&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;pdm&lt;/code&gt; is an excellent dependency management tool in Python, created by the Chinese developer &lt;a class="mentioned-user" href="https://dev.to/frostming"&gt;@frostming&lt;/a&gt;. The author plans to write a series of articles about its internal implementation. This is the first article, which introduces what Lockfile is and how Lockfile is generated.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://nedbatchelder.com/blog/202403/does_python_have_pointers.html" rel="noopener noreferrer"&gt;Does Python have pointers?&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Does Python have pointers? The answer depends on how you understand "pointers". The author gives a brief but insightful answer. Python does not have the classic pointer operations of the C language, but every variable in Python is a pointer, i.e., everything is an implicit pointer. (In addition: &lt;a href="https://github.com/ZeroIntensity/pointers.py" rel="noopener noreferrer"&gt;A project&lt;/a&gt; "brings the pointer hell to Python", which is as superfluous as the Python version with curly braces below.)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://pythonspeed.com/articles/python-gil/" rel="noopener noreferrer"&gt;When Python can’t thread: a deep-dive into the GIL’s impact&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The GIL-less feature was finally &lt;a href="https://github.com/python/cpython/pull/116338" rel="noopener noreferrer"&gt;merged into Python's main branch&lt;/a&gt; this week! Here is a long article that provides an in-depth introduction to the GIL, helping to understand how the GIL works and predict where concurrency bottlenecks are located. The article uses many thread timing analysis graphs for easy understanding.&lt;/p&gt;

&lt;p&gt;🎁 Python Trending Weekly 🎁 organizes its content into seasons, with every 30 issues forming a season. The highlights from the first season have been compiled for your convenience. You can access them online &lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;here&lt;/a&gt; (Chinese).&lt;/p&gt;

&lt;h2&gt;
  
  
  🐿️Projects &amp;amp; Resources
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/flet-dev/flet" rel="noopener noreferrer"&gt;Flet enables developers to easily build realtime web, mobile and desktop apps in Python&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No front-end experience required, quickly build cross-platform, multi-user, real-time single-page applications (SPAs); no SDK needed, development can be done with an IDE or text editor, front-end uses Flutter UI, back-end currently supports Python, with plans to support Go and C#. (8.7K stars) (Contributed by &lt;a class="mentioned-user" href="https://dev.to/bear"&gt;@bear&lt;/a&gt;)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/serious-scaffold/ss-python" rel="noopener noreferrer"&gt;ss-python: A Python project template covering the entire development lifecycle&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A Python project template with various integrations, configurations, and modules, featuring: project setup and template updates with &lt;code&gt;copier&lt;/code&gt;, dependency and virtual environment management with &lt;code&gt;pdm&lt;/code&gt;, containerization with dev container, mypy, ruff, and other commonly used tech stacks. (Contributed by @huxuan_org)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/amol-/dukpy" rel="noopener noreferrer"&gt;dukpy: Simple JavaScript interpreter for Python&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A JS interpreter built on the &lt;code&gt;duktape&lt;/code&gt; engine, used to execute JS code in Python. It has no other external dependencies, and has built-in common transpilers (TypeScript, JSX, LESS, CoffeeScript). It also supports passing parameters, running multiple scripts, global interpreters, loading modules using &lt;code&gt;require&lt;/code&gt;, and installing packages from npmjs.org.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;dukpy&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;dukpy&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;evaljs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;var o = {&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;value&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;: 5}; o[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;value&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;] += 3; o&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;value&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;a href="https://pykidos.github.io/" rel="noopener noreferrer"&gt;PyKidos: A Python Programming Practice Website&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;An online Python programming website that makes it easy to teach kids how to code through games.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnkoxpucud86621ut0d3o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnkoxpucud86621ut0d3o.png" width="800" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/hatchet-dev/hatchet" rel="noopener noreferrer"&gt;hatchet: A distributed, fault-tolerant task queue&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Replaces hard-to-manage traditional queues and pub/sub systems, supports fault recovery, and solves concurrency, fairness, and rate limiting issues. Features low latency and high throughput, supports strategies like FIFO, LIFO, round-robin, and priority queues, allows for customizable retry policies, and supports integrated error handling. (2.4K stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/tiangolo/full-stack-fastapi-template" rel="noopener noreferrer"&gt;full-stack-fastapi-template: Full stack, modern web application template&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Supports JWT authentication, email-based password recovery, and uses Traefik as a reverse proxy/load balancer, with FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS, etc. (17.5K stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/mathialo/bython" rel="noopener noreferrer"&gt;bython: Python with braces&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I think Python's use of whitespace for indentation is its most beautiful design feature! But some people prefer curly braces. This project adds curly braces to Python, with a basic example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;print_message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;num_of_times&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;num_of_times&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Bython is awesome!&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;__main__&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;print_message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/twisted/treq" rel="noopener noreferrer"&gt;treq: Python requests-like API built on top of Twisted's HTTP client&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A simple, requests-like HTTP client built on top of Twisted.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/Yuukiy/JavSP" rel="noopener noreferrer"&gt;JavSP: Video Metadata Scraper Aggregating Data from Multiple Sites&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Automatically fetches, aggregates, and categorizes video files based on specified rules, creating metadata files for use with software like Emby, Jellyfin, Kodi, etc. (1.6K stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/omkarcloud/botasaurus" rel="noopener noreferrer"&gt;botasaurus: The All in One Framework to build Awesome Scrapers&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Access Cloudflare protected pages with simple HTTP requests, the only scraper framework with SSL support for authenticated proxies, integrate any Chrome extension with just one line of code, sitemap support, data cleaning support, caching support, provides Selenium shortcuts, and more.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/r0x0r/pywebview" rel="noopener noreferrer"&gt;pywebview: Build GUI for your Python program with JavaScript, HTML, and CSS&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A lightweight cross-platform wrapper around the WebView component, displaying HTML content in a GUI window. Can be used with web frameworks or standalone to bridge Python with the DOM. The latest 5.0 release introduces Android support. (4.2K stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/Mayuresh1611/Paper-Piano" rel="noopener noreferrer"&gt;Paper-Piano: Piano like no other, Piano on Paper&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Allows you to practice playing the piano directly on a sheet of paper! Currently supports up to two fingers, primarily intended for those who cannot afford a piano.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsfqb7zr9yahews9gmdyo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsfqb7zr9yahews9gmdyo.png" alt="Image of Paper-Piano" width="800" height="584"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🐼Subscribe Welcome
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://pythoncat.top" rel="noopener noreferrer"&gt;Blog&lt;/a&gt;: Explore my independent blog where you can find a collection of original/translated technical articles over the years, along with some reflections since 2009.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://pythoncat.substack.com/s/python-trending-weekly" rel="noopener noreferrer"&gt;Newsletter&lt;/a&gt;: Subscribe to my channel on Substack for a curated newsletter delivered straight to your inbox, keeping you updated on current affairs.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/chinesehuazhou/python-weekly" rel="noopener noreferrer"&gt;Github&lt;/a&gt;: Access the Markdown source files of this weekly digest on Github and feel free to use them for anything you have in mind!&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://t.me/pythontrendingweekly" rel="noopener noreferrer"&gt;Telegram&lt;/a&gt;: Beyond notifications for the weekly digest, I consider it an "extra edition," providing additional, more diverse information.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://twitter.com/chinesehuazhou" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;: Follow me on Twitter where my feed is filled with numerous accounts of developers and organizations in the Python community.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>ai</category>
    </item>
    <item>
      <title>Python Trending Weekly #39 (2024-02-24)</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 24 Feb 2024 12:53:48 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-39-2024-02-24-87j</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-39-2024-02-24-87j</guid>
      <description>&lt;p&gt;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;p&gt;The &lt;a href="https://pythoncat.top/posts/2024-02-24-weekly" rel="noopener noreferrer"&gt;original version&lt;/a&gt; of the weekly was written in Chinese. What you are reading here is mostly translated by LLMs. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substack Channel&lt;/strong&gt; : &lt;a href="https://pythoncat.substack.com/s/python-trending-weekly" rel="noopener noreferrer"&gt;Click to subscribe&lt;/a&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  🦄Articles &amp;amp; Tutorials
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://astral.sh/blog/uv" rel="noopener noreferrer"&gt;uv: Python packaging in Rust&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;Ruff&lt;/code&gt; team developed a powerful tool in Rust: &lt;code&gt;uv&lt;/code&gt;, a package resolver and installer for Python! It's designed as a drop-in replacement for &lt;code&gt;pip&lt;/code&gt; and &lt;code&gt;pip-tools&lt;/code&gt;, and it's 8-10x faster than them when not using a cache. It can also be used as a virtual environment manager via &lt;code&gt;uv venv&lt;/code&gt;, which is 80x faster than &lt;code&gt;python -m venv&lt;/code&gt; and 7x faster than &lt;code&gt;virtualenv&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnmh4idpno1jegvzv9l8z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnmh4idpno1jegvzv9l8z.png" alt="Performance comparison for resolving and installing the Trio library" width="800" height="160"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://lucumr.pocoo.org/2024/2/4/rye-a-vision/" rel="noopener noreferrer"&gt;Rye: A Vision Continued&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rye is a Python packaging and project management tool released by the author of Flask in April last year. In the article, the author summarized its implemented functions (downloading Python, managing virtual environments, building and releasing packages, linting and formatting, dependency management, etc.), and introduced his design ideas. (Appendix 1: The author's 16-minute tutorial video &lt;a href="https://www.youtube.com/watch?v=q99TYA7LnuA" rel="noopener noreferrer"&gt;Rye: a Hassle-Free Python Experience&lt;/a&gt;) (Appendix 2: The uv team that shared last time has taken over Rye, and it will be integrated into one in the future. &lt;a href="https://lucumr.pocoo.org/2024/2/15/rye-grows-with-uv/" rel="noopener noreferrer"&gt;Rye Grows With UV&lt;/a&gt;)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://baincapitalventures.com/insight/why-more-python-developers-are-using-rust-for-building-libraries/" rel="noopener noreferrer"&gt;The Python Rust-aissance&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rust is progressively replacing C as the high-performance backend for Python. The article introduces the advantages of Rust over C and presents some well-known Python libraries developed with Rust.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.alexmolas.com/2024/02/05/a-search-engine-in-80-lines.html" rel="noopener noreferrer"&gt;A search engine in 80 lines of Python&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This article is a bit clickbaity, but the content it introduces is very comprehensive: asynchronous crawlers based on RSS, inverted indexes, search rankings, and web pages based on FastAPI. You can learn how search engines work and learn the project development process from data acquisition, data parsing, open interfaces, to web page presentation.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://blog.mattstuchlik.com/2024/02/08/counting-cpu-instructions-in-python.html" rel="noopener noreferrer"&gt;Counting CPU Instructions in Python&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Do you know how many CPU instructions it takes to execute &lt;code&gt;print("Hello")&lt;/code&gt; in Python? The answer is 17,000. Importing &lt;code&gt;seaborn&lt;/code&gt; takes about 2 billion. The author developed the &lt;a href="https://github.com/s7nfo/Cirron" rel="noopener noreferrer"&gt;Cirron&lt;/a&gt; library to count CPU instructions, branch misses, and time spent in code.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.kawabangga.com/posts/5757" rel="noopener noreferrer"&gt;Python Reusable Decorator Code&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You have multiple decorators to add to different functions, and the same decorator may have different parameters. How do you reuse these decorators? The problem may be difficult to understand at first glance, but the article contains intuitive examples and solutions that can deepen your understanding of decorators and help you master advanced applications.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://jacobpadilla.com/articles/handling-asyncio-tasks" rel="noopener noreferrer"&gt;Handling Tasks in Asyncio Like a Pro&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What is a Task object in Asyncio? How do Asyncio coroutines work? How do you await a task, and how do you await multiple or a group of tasks? This article explains how Asyncio works and the functions you can use to work with tasks.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://martinheinz.dev/blog/108" rel="noopener noreferrer"&gt;Everything You Can Do with Python's textwrap Module&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This article introduces several major functions of the &lt;code&gt;textwrap&lt;/code&gt; library, such as &lt;code&gt;shorten()&lt;/code&gt; for truncating string length, &lt;code&gt;wrap()&lt;/code&gt; for wrapping a string to a fixed width, and &lt;code&gt;dedent()&lt;/code&gt; for handling string indentation.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.nicholashairs.com/posts/major-changes-between-python-versions/" rel="noopener noreferrer"&gt;Summary of Major Changes Between Python Versions&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When were some of Python's new features introduced? The author has conveniently compiled a record of some important changes to the syntax and standard library, as well as indicating when each version will reach its end of life (for example, Python 3.8 will reach EOL in October of this year). (Note: This &lt;a href="https://endoflife.date/python" rel="noopener noreferrer"&gt;website&lt;/a&gt; provides EOL dates for Python and many other projects.)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://leontrolski.github.io/postgres-as-queue.html" rel="noopener noreferrer"&gt;Postgres as a Queue&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you use a database directly as a queue, will performance be significantly affected? The author's tests show that the impact is minimal. How exactly can you implement Postgres as a queue? How do you handle locks and transactions, task retries, and task timeouts?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://learndjango.com/tutorials/20-django-packages-i-use-every-project" rel="noopener noreferrer"&gt;20 Django Packages That I Use in Every Project&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Django framework is suitable for building complex web projects, and the author introduces 20 commonly used packages that provide richer functionality beyond Django's core features.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://dev.to/anbagu/real-case-of-python-metaclass-application-2pj8"&gt;Real Case of Python Metaclass Application&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What is a metaclass in Python? Why should you learn about metaclasses? This advanced feature is not commonly used, but it's worth learning and understanding. The article explains how metaclasses work and demonstrates their powerful uses with real-world examples.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://blog.coiled.io/blog/1trc.html" rel="noopener noreferrer"&gt;One Trillion Row Challenge&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A programming challenge: given 100,000 files, each with 10 million rows, calculate the minimum, average, and maximum temperatures for each weather station. The data is stored on S3 and has a total size of 2.5 TB. The author provides their own implementation (which runs in 8.5 minutes), as well as a cost-optimized solution.&lt;/p&gt;

&lt;p&gt;🎁 Python Trending Weekly 🎁 organizes its content into seasons, with every 30 issues forming a season. The highlights from the first season have been compiled for your convenience. You can access them online &lt;a href="https://pythoncat.top/posts/2023-12-11-weekly" rel="noopener noreferrer"&gt;here&lt;/a&gt; (Chinese).&lt;/p&gt;

&lt;h2&gt;
  
  
  🐿️Projects &amp;amp; Resources
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/astral-sh/uv" rel="noopener noreferrer"&gt;uv: An extremely fast Python package installer and resolver, written in Rust&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;uv is an extremely fast Python package installer and resolver written in Rust. It is a product of the Ruff team and can directly replace commonly used commands such as &lt;code&gt;pip&lt;/code&gt;, &lt;code&gt;pip-tools&lt;/code&gt;, and &lt;code&gt;virtualenv&lt;/code&gt;. (6.6K stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/coleifer/sqlite-web" rel="noopener noreferrer"&gt;sqlite-web: Web-based SQLite database browser written in Python&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A web-based SQLite database browser built with Flask, which allows you to visually manage your databases, tables, records, and indexes, and import and export data in JSON and CSV formats. (2.6k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/danihodovic/celery-exporter" rel="noopener noreferrer"&gt;celery-exporter: A Prometheus exporter for Celery metrics&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Real-time monitoring metrics for Celery task state, worker threads, active tasks, etc. It follows Prometheus exporter best practices and provides Grafana dashboards and Prometheus alerts using Celery-mixin.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/asottile/pyupgrade" rel="noopener noreferrer"&gt;pyupgrade: A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A powerful tool and pre-commit hook to automatically remove redundant constructs, rewrite legacy code with modern syntax, refactor code to a more idiomatic style, and more. The project documentation provides many examples, which are worth checking out. (3.2k stars)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Two examples rewritten as dict comprehensions
&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nf"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nf"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;([(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/ollama/ollama-python" rel="noopener noreferrer"&gt;ollama-python: Ollama Python library&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Supports Python 3.8+, easy and fast integration with large language models such as Llama 2, Code Llama, mistral, gemma, etc. It allows for custom clients and also enables the creation of asynchronous clients.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/dvcoolarun/web2pdf" rel="noopener noreferrer"&gt;web2pdf: CLI to convert Webpages to PDFs&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A command-line tool to convert webpages to beautifully formatted PDFs. It supports batch conversion, custom styling, appending CSS, complex layouts, page numbers, table of contents, and pagination, among other features.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/cfahlgren1/natural-sql" rel="noopener noreferrer"&gt;natural-sql: A series of top performing Text to SQL LLMs&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;NaturalSQL-7B is a highly accurate text-to-SQL large language model that outperforms GPT-3.5-turbo and claude-2 on the SQL-Eval benchmark, as well as sqlcoder-7b with the same data size.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/AbanteAI/rawdog" rel="noopener noreferrer"&gt;rawdog: Generate and auto-execute Python scripts in the cli&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rawdog (Recursive Augmentation with Deterministic Output Generation) is a novel alternative to RAG (Retrieval Augmented Generation) that can run scripts itself and take the output as context, then call itself again. The example in the demo video is mind-blowing. (star 1.6K)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/microsoft/UFO" rel="noopener noreferrer"&gt;UFO: A UI-Focused Agent for Windows OS Interaction&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Microsoft's new AI agent framework seamlessly operates across multiple applications to complete complex user tasks. It leverages GPT-Vision's multimodal capabilities to understand application UIs and interacts using Windows UI Automation controls. (1.9k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/Textualize/toolong" rel="noopener noreferrer"&gt;toolong: A terminal application to view, tail, merge, and search log files (plus JSONL)&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Quickly view log files in a command-line terminal with features like live tailing, syntax highlighting, fast searching, automatic timestamp detection for merging logs, JSONL support, and automatic opening of .bz and .bz2 files. (2k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/OwlAIProject/Owl" rel="noopener noreferrer"&gt;A personal wearable AI that runs locally&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Bring AI to your wearable device to listen and observe your life. It supports hardware like ESP platforms, Sony Spresense, or Apple Watch, local and online models, multimodal capture, speaker verification, and more.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/hyperdiv/hyperdiv" rel="noopener noreferrer"&gt;hyperdiv: Build reactive web UIs in Python&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A framework for rapidly developing reactive UI applications in Python, featuring built-in components, a concise declarative syntax, and minimal tooling boilerplate. It supports Shoelace components, Markdown support, Chart.js integration, browser cache read/write, form validation, and more.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/danielmiessler/fabric" rel="noopener noreferrer"&gt;fabric: an open-source framework for augmenting humans using AI&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This project aims to make AI accessible to everyone for solving everyday problems. Its approach is to break down problems into independent components and use structured, clear prompts to have AI complete tasks. (5.6k stars)&lt;/p&gt;

&lt;h2&gt;
  
  
  🐢Podcasts &amp;amp; Videos
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://engineering.fb.com/2024/02/12/developer-tools/meta-loves-python/" rel="noopener noreferrer"&gt;Meta loves Python&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A podcast episode from Meta, discussing the contributions of their developer teams to recent versions of Python, including new hooks that allow for custom JITs (like Cinder), immortal objects, improvements to the type system, faster comprehensions, and more. Meta really is a big contributor to the Python community! (See also: &lt;a href="https://pythoncat.top/posts/2022-11-21-sponsors" rel="noopener noreferrer"&gt;Google, Microsoft, Meta? Who's the biggest sponsor of Python?&lt;/a&gt;)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://talkpython.fm/episodes/show/449/building-uis-in-python-with-fastui" rel="noopener noreferrer"&gt;Episode #449 Building UIs in Python with FastUI&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;FastUI is a web frontend framework that lets you build responsive web applications using React without writing any JavaScript or dealing with npm. The creator of the framework joins the show to talk about it.&lt;/p&gt;

&lt;h2&gt;
  
  
  🐼Subscribe Welcome
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://pythoncat.top" rel="noopener noreferrer"&gt;Blog&lt;/a&gt;: Explore my independent blog where you can find a collection of original/translated technical articles over the years, along with some reflections since 2009.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://pythoncat.substack.com/s/python-trending-weekly" rel="noopener noreferrer"&gt;Newsletter&lt;/a&gt;: Subscribe to my channel on Substack for a curated newsletter delivered straight to your inbox, keeping you updated on current affairs.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/chinesehuazhou/python-weekly" rel="noopener noreferrer"&gt;Github&lt;/a&gt;: Access the Markdown source files of this weekly digest on Github and feel free to use them for anything you have in mind!&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://t.me/pythontrendingweekly" rel="noopener noreferrer"&gt;Telegram&lt;/a&gt;: Beyond notifications for the weekly digest, I consider it an "extra edition," providing additional, more diverse information.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://twitter.com/chinesehuazhou" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;: Follow me on Twitter where my feed is filled with numerous accounts of developers and organizations in the Python community.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>ai</category>
    </item>
    <item>
      <title>Python Trending Weekly #35 (2024-01-13)</title>
      <dc:creator>Python Trending Weekly</dc:creator>
      <pubDate>Sat, 13 Jan 2024 11:26:38 +0000</pubDate>
      <link>https://dev.to/pythoncat/python-trending-weekly-35-2024-01-13-gc7</link>
      <guid>https://dev.to/pythoncat/python-trending-weekly-35-2024-01-13-gc7</guid>
      <description>&lt;p&gt;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;p&gt;The original version of the weekly  was written in Chinese. What you are reading here is mostly translated by LLMs. &lt;/p&gt;

&lt;p&gt;Substack Channel : Click to subscribe &lt;/p&gt;

&lt;p&gt;🦄Articles &amp;amp; Tutorials&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Python 3.13 gets a JIT&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What is JIT (Just in Time)? How does it work? What are the benefits of Python + JIT? Copy-and-patch JIT is a design proposed in 2021, which is a high-speed algorithm specially designed for dynamic language runtime. Python 3.13 is expected to implement it! The first sharing of the last issue of the weekly was about it, and we will continue in this issue~&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;NumPy 2 is coming: preventing breakage, updating your code&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;NumPy 2 is a major release scheduled for March/April 2024. It is a backwards incompatible release, so it is important to prepare in advance to ensure that our applications do not break. This article discusses the incompatible changes in the new version, how to make sure that you install the new version at the right time, and how to upgrade your code painlessly.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The counter-intuitive rise of Python in scientific computing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The article raises a question: in the field of scientific computing that focuses on performance, Fortran used to be very popular, why is Python, which is slower, increasingly used now? The reason may be that people overestimate the importance of execution speed, and the agility and maintainability of programming are more important, and the performance of alternative solutions is not bad. (See also: Fortran community discussion.)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Fast and Efficient Inequality Joins in Pandas&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pandas supports equi-joins using the merge and join functions, but what about inequality joins? This article presents two alternatives to the usual Cartesian product: using the pyjanitor library's conditional_join function, which is both memory-efficient and performant; and using DuckDB's SQL to query a DataFrame, which is extremely performant.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Pandas Profiling: A Detailed Explanation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pandas profiling is a popular library (renamed to ydata-profiling) that generates a profiling report of a dataset in just one line of code. This tutorial covers how it works, how to import and generate a report, how to analyze and handle sensitive data, how to profile big data, its alternatives, and its drawbacks.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A Deep Dive Into Python's functools.wraps Decorator&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python decorators are one of my favorite features. When we define our own decorators, we need to consider the loss of metadata, and functools.wraps is the key. The article introduces its usage, how to use it, and how to pass custom arguments.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SIMD in Pure Python&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The author shares how to implement Game of Life in pure Python (with pysdl2 for graphics), running at 4K resolution at 180fps, which is ~3800x faster than the naive implementation.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Best practices to protect your Flask applications&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What are the best practices to secure your Flask project and protect it from security vulnerabilities? Based on the OWASP Top 10 most common vulnerabilities, this article introduces methods for loading JSON with yaml.safe_load, parsing XML with defusedxml, securing forms with flask_wtf, handling file paths with secure_filename, preventing XSS and CSRF, and nine recommendations for building secure APIs, among other things. It covers libraries such as Flask-SSLify, Flask-RESTful, Flask-HTTPAuth, Flask-JWT-Extended, and Flask-Limiter.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Pushing real-time updates to clients with Server-Sent Events (SSEs)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Server-Sent Events (SSEs) is a way for a web server to send real-time information to a web page without the page having to repeatedly poll the server. This article provides a complete example of how to implement it in Python, and also points out its two limitations at the end.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Building AI-powered TODO app&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What would a TODO app look like in the era of AI? The author implemented a TODO project with Django + simple HTML + Whisper + mixtral-8x7b-instruct + SQLite, which is worth learning and referencing!&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; PEP 736 – Shorthand syntax for keyword arguments at invocation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This PEP proposes to introduce a syntactic sugar f(x=) as a shorthand for f(x=x) when the name of the keyword argument and the value are the same. It is similar to f'{x=}' in f-string, and similar shorthands can be found in Ruby, JavaScript, and Rust. Statistically, this pattern accounts for 10-20% of keyword argument usage.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How To Remove Background From Image In Python&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This tutorial introduces how to remove the background of an image using Tkinter and rembg, and the effect is quite good.&lt;/p&gt;

&lt;p&gt;🎁 Python Trending Weekly 🎁 organizes its content into seasons, with every 30 issues forming a season. The highlights from the first season have been compiled for your convenience. You can access them online here (Chinese).&lt;/p&gt;

&lt;p&gt;🐿️Projects &amp;amp; Resources&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;ydata-profiling: 1 Line of code data quality profiling &amp;amp; exploratory data analysis for Pandas and Spark DataFrames&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Similar to Pandas' df.describe() function, ydata-profiling is very easy to use, providing extended analysis of a DataFrame with just one line of code, supporting output of the analysis report in formats such as html and json. (star 11.7K)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;pdfsyntax: A Python library to inspect and modify the internal structure of a PDF file&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is a lightweight library implemented in pure Python to inspect and modify the internal structure of a PDF file, supporting both CLI and API usage.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;harlequin: The SQL IDE for Your Terminal&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Visualize your SQL in your terminal. (1.6k stars)&lt;/p&gt;

&lt;p&gt;Call all LLM APIs using a unified OpenAI format. Works with Bedrock, Azure, OpenAI, Cohere, Anthropic, Ollama, Sagemaker, HuggingFace, Replicate, and 100+ other LLMs. (4.4k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Unstructured: Open source libraries and APIs to build custom preprocessing pipelines for labeling, training, or production machine learning pipelines &lt;a href="https://github.com/Unstructured-IO/unstructured" rel="noopener noreferrer"&gt;https://github.com/Unstructured-IO/unstructured&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Preprocess unstructured data such as documents (PDF, HTML, WORD, etc.) and images, providing methods for partitioning, cleaning, staging, extracting, chunking, and embedding. (4.2k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;chatgpt-on-wechat: A chatbot built on large models, supporting WeChat, WeChat Work, public accounts, and Feishu&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can choose GPT3.5/GPT4.0/Claude/Wenxin Yanyi/Xunfei Xinghuo/Tongyi Qianwen/Gemini/LinkAI, which can process text, voice, and images, access the operating system and the Internet, and support customization based on your own knowledge base Enterprise intelligent customer service. (star 19.9K)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;whisperX: Automatic Speech Recognition with Word-level Timestamps (&amp;amp; Diarization)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;An augmentation of the speech recognition model Whisper, with more accurate timestamps, multi-speaker diarization, and reduced hallucination via improved voice activity detection, all while being faster and having a smaller memory footprint. (7.4k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Python Programming Exercises, Gently Explained&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A programming practice website that provides 42 small Python project exercises with solution analysis and reference answers.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;mealie: a self hosted recipe manager and meal planner&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A recipe management project with a REST API backend and a reactive frontend built with Vue. Works on desktop, tablet, and mobile. Easily add recipes using a URL, user and group management. (4.3k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;guardrails: Adding guardrails to large language models&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What if large language models don't respond as expected? This library allows you to specify the output structure and type, verify and correct the output of large models, and improve the quality of the content. (2.7k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;chainlit: Build Python LLM apps in minutes&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rapidly build web applications like ChatGPT, integrated with Langchain, Autogen, OpenAI Assistant, Llama, and Haystack. Customize the frontend to implement the full range of features, including monitoring and observability, authentication mechanisms, multi-tenancy, and seamless integration with various tools. (4.3k stars)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;functime: Time-series machine learning at scale. Built with Polars for embarrassingly parallel feature extraction and forecasts on panel data&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Production-ready global forecasting and time-series feature extraction on large datasets. Supports time-series preprocessing, cross-validation splitters, and forecast metrics (MASE, SMAPE, etc.).&lt;/p&gt;

&lt;p&gt;🥂Discussion &amp;amp; Questions&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why does Python have the concept of a .venv virtual environment?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Why does Python need to use a virtual environment? Why does Python use this package management mechanism? What problems does package management software need to solve?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How to call a Python project with third-party dependencies in Java?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When the API cannot be called, how can a Java project call a Python project? What are the problems with the JNI-CPython-Python solution? How to package it as EXE and so?&lt;/p&gt;

&lt;p&gt;🐼Subscribe Welcome&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Blog: Explore my independent blog where you can find a collection of original/translated technical articles over the years, along with some reflections since 2009.&lt;/li&gt;
&lt;li&gt;Newsletter: Subscribe to my channel on Substack for a curated newsletter delivered straight to your inbox, keeping you updated on current affairs.&lt;/li&gt;
&lt;li&gt;Github: Access the Markdown source files of this weekly digest on Github and feel free to use them for anything you have in mind!&lt;/li&gt;
&lt;li&gt;Telegram: Beyond notifications for the weekly digest, I consider it an "extra edition," providing additional, more diverse information.&lt;/li&gt;
&lt;li&gt;Twitter: Follow me on Twitter where my feed is filled with numerous accounts of developers and organizations in the Python community.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>python</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
