Python Trending Weekly
ISSUE 89

Python 3.14's New Interpreter!

2025-02-16 Season 3

TL;DR

Python 3.14 gains a new interpreter with speedups of up to 30%, Django's official MongoDB backend enters preview, and PyO3 shows Rust-powered extension in action.

Articles 12 Projects 12 Discussions 2
🦄

Articles & Tutorials

× 12
01 What's new in Python 3.14 docs.python.org

Python 3.14.0 has released its alpha5 version, with the biggest highlight being the integration of a new tail-call-based interpreter that can boost code performance by up to 30%, with an average speed optimization of 9-15%! (Related: merge request gh-128563: New tail-call interpreter)

02 Efficiently Extending Python: PyO3 and Rust in Action blueshoe.io

How can you combine Rust's high performance with Python's flexibility to develop efficient and secure applications? This article introduces the PyO3 framework and Maturin tool, demonstrating through examples how to integrate Rust with Python.

03 Using uv to build and install Python CLI apps mathspp.com

A practical tutorial about Python uv, demonstrating how to develop a CLI application with uv and implement dependency installation management.

04 PEP 517 build system popularity labs.quansight.org

Before PEP-517 in 2017, setuptools held a monopoly position, but now other build tools are becoming popular. Based on the top 8000 most downloaded projects on PyPI, this article analyzes the popularity and development trends of different build tools.

05 Create Stunning Maps in Node.js by Integrating Python's folium with Javonet javonet.com

Python's folium is an interactive mapping library that can integrate with libraries like geopandas for geospatial analysis. This article shows how to integrate this library into Node.js projects, leveraging the advantages of both programming language ecosystems.

06 Official Django MongoDB Backend Now Available in Public Preview mongodb.com

Django officially released tools for MongoDB integration, supporting Django models, forms, validation and authentication, compatible with Django admin interface, and supporting migrations and database version management.

07 Django in government thib.me

Which countries widely use Django to develop government websites? The author extracted 1000 government websites from 20 million websites, covering 88 countries, listing the top 10 countries using Django for government website development, and sharing some representative national government websites. (Why is China's data 0?)

08 Subclassing in Python Redux hynek.me

The author categorizes inheritance into three types: code sharing (harmful), interface implementation (optional but useful), and specialization (necessary), analyzing the pros and cons of each type. Generally speaking, "composition over inheritance" is preferred, but sometimes reasonable use of inheritance can lead to better code.

09 Python: re-creating async in 10 lines using generators lucasoshiro.github.io

How can you achieve concurrent execution without using async/await? This article introduces using generator's yield mechanism to simulate asynchronous operations, achieving coroutine-like effects through manual task switching.

10 PEP 772 – Packaging governance process peps.python.org

This PEP proposes establishing a Python Packaging Council to manage and guide Python packaging standards, tools, and implementations. The document includes committee functions, member numbers and selection methods, conflict of interest handling, etc., aiming to provide a clear governance framework for the Python packaging ecosystem.

11 How to Use Regular Expressions in Python blog.appsignal.com

This article provides an in-depth introduction to regular expressions through Python's re module, covering practical code examples from basic to advanced levels, as well as some tips for optimizing regex performance.

12 The 7 Most Influential Papers in Computer Science History terriblesoftware.org

The author shares 7 papers that have had profound impact on modern computer science: Turing's "Computable Numbers", Shannon's "Mathematical Theory of Communication", Codd's "Relational Model", Cook's "Complexity of Theorem Proving", Cerf and Kahn's "Network Interconnection Protocol", Berners-Lee's "Information Management Proposal", and Brin and Page's "Large-Scale Hypertextual Web Search Engine".

🐿️

Projects & Resources

× 12
01 soupsieve: A modern CSS selector implementation for BeautifulSoup github.com

A CSS selector library for use with Beautiful Soup 4, designed to provide selection, matching, and filtering functionality using modern CSS selectors.

02 preswald: Preswald is a full-stack platform for building, deploying, and managing interactive data applications github.com

A one-stop data application development and management platform covering end-to-end processes of data ingestion, ETL, and visualization, quickly connecting CSV, JSON, Parquet, or SQL databases. (1.3K stars)

03 llm-sort: Sort input lines semantically with llm github.com

Tell the LLM how to sort using natural language, then let the large model complete the sorting.

04 fastapi-guard: A security library for FastAPI that provides middleware to control IPs, log requests, and detect penetration attempts github.com

A FastAPI network security middleware that protects against various security threats.

05 Neutron: Create cross-platform apps in Python using HTML and CSS github.com

Based on PyQt6 and QtWebEngine development, create GUI applications using Python + HTML/CSS.

06 OCRmyPDF: OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched github.com

Adds OCR text layers to scanned PDF files, making them searchable or copy-pasteable while preserving the exact resolution of original embedded images. Uses Tesseract OCR engine to recognize over 100 languages. (18K stars)

07 python-repo-template: A Python template repository, featuring Just and UV github.com

A Python project template with core components including uv, Ruff, Mypy, Pytest, Loguru, Docker, and Github Actions. Uses Just instead of Make for command execution.

08 jessesort: A new type of sorting algorithm github.com

A sorting algorithm implemented using a new data structure called Rainbow, with O(n log n) time complexity, faster than Python's default sorted().

09 docullim: auto-generate documentation for python code using llms github.com

Use simple decorators on functions and classes that need documentation generation, and let LLM automatically generate project documentation for you.

10 VideoCaptioner: LLM-based intelligent subtitle assistant github.com

A large model-based video subtitle processing assistant supporting full-process handling of speech recognition, subtitle segmentation, optimization, and translation. Supports network calls and local offline mode, with practical features like VAD, vocal separation, word-level timestamps, and batch subtitles. (4.4K stars)

11 pgassistant: understand and optimize their PostgreSQL database performance. github.com

Provides analysis of PG database behavior, identifies schema-related issues, and can correct them. Features user-friendly interface, SQL formatting with Sqlfluff, OpenAI assistant, and local LLM support. (1K stars)

12 content-types: A Python library to map file extensions to MIME types without accessing the file data. github.com

Looks up MIME types based on file extensions, more comprehensive and accurate than the mimetypes library, without accessing and parsing files.

🥂

Discussions & Issues

× 2
01 A new type of interpreter has been added to Python 3.14 with much better performance reddit.com

A Reddit post about Python's new interpreter, posted by the feature's author.

02 Python 3.14 adopts new interpreter, speed improved by -3%~30% v2ex.com

Discussion on V2EX about Python 3.14's new interpreter performance improvements.

ESC
↑↓ select · ↵ open175 issues