Python Trending Weekly
ISSUE 90

A Year of uv!

2025-02-23 Season 3

TL;DR

uv turns one with a frank look at pros, cons, and whether to migrate, PyPI adds iOS and Android wheels, a tail-calling interpreter stirs the performance pot, and LLaMA3 fits in 100 lines of Jax.

Articles 12 Projects 12
🦄

Articles & Tutorials

× 12
01 A Tail Calling Interpreter For Python (And Other Updates) blog.reverberate.org

The most exciting news lately is Python 3.14's new interpreter, which uses technology from this article's author. The article reviews the application of tail call optimization technology in multiple projects over the four years since it was proposed, including Python 3.14, LuaJIT Remake, GCC and Clang support, and the ongoing push to include it in C standard proposals.

02 A year of uv: pros, cons, and should you migrate bitecode.dev

uv has been out for a year now, and its popularity momentum is as strong as Ruff! This long article thoroughly analyzes uv's pros and cons, when you should use it, and when you shouldn't. Overall, the advantages far outweigh the disadvantages, and the conclusion is clear - it's time to migrate to uv!

03 Creating the MongoDB Database Backend for Django medium.com

From MongoDB's official blog, this introduces their journey of developing a NoSQL database backend for the Django framework, including discovering needs from survey data, developing the database backend based on open source projects, and implementing support for MongoDB features.

04 PyPI Now Supports iOS and Android Wheels for Mobile Python Development socket.dev

Great news! Through PEP-730 and PEP-738, Python now supports distributing binary packages (wheels) for iOS and Android platforms. This PyPI move will lower the barrier for Python mobile development.

05 Building a Python compiler and interpreter – 10 elif and else mathspp.com

The tenth article in the "Building a Python compiler and interpreter" series, implementing support for conditional statements elif and else, showing how to add complex control flow statements in a compiler.

06 Building a playing card deck daniel.feldroy.com

Introduces how to develop a complete deck of playing cards using Python and SVG images, supporting dynamic card generation, sorting, displaying card faces, shuffling and dealing, demonstrating the application of data processing, file operations, and visualization.

07 Implementing LLaMA3 in 100 Lines of Pure Jax saurabhalone.com

How do you implement a simplified version of the LLaMA3 model? The article utilizes JAX's pure functions and features like JIT and vmap to implement all core components of the LLaMA3 model, suitable for learning Transformer architecture and JAX usage.

08 Measuring the performance of Python's any() function mostlypython.com

When Python's any() function takes generator expressions versus lists as parameters, which performs better? After testing, the author found that when the first True value appears early in the sequence, generator expressions perform better; when the entire sequence needs to be checked, lists might perform better.

09 Push notifications without a mobile app: an experiment (with Django) david.guillot.me

Explores how to implement asynchronous push notifications through the Django framework using Web Push Notifications and Progressive Web Apps (PWA) technology without relying on mobile applications.

10 Change Python's syntax with the "# coding:" trick bitecode.dev

Introduces how to customize code decoding methods through Python's # coding: directive and codecs module, thereby changing Python's syntax. The article implements a decoder that can convert brace syntax to Python's indentation syntax.

11 On inheritance and subtyping blog.frankel.ch

The article compares the implementation of inheritance and subtyping in Java, Go, and Python, exploring how language design affects inheritance mechanisms: Java has explicit inheritance and subtyping, Go implements implicit inheritance through duck typing, while Python combines explicit inheritance with static duck typing through protocols.

12 Generating visual art every day in January lukasz.langa.pl

The author participated in the Genuary activity, generating a visual art piece every day in January. In this challenge, he deeply explored the application of PyScript and WebGL in creative programming, discussing the performance and limitations of Pyodide and MicroPython in browsers. The article also shares some stunning 3D creative works.

🐿️

Projects & Resources

× 12
01 pyquery: A jquery-like library for python github.com

It allows you to perform jQuery queries on XML documents, using lxml for fast XML and HTML manipulation. (2.3K stars)

02 Youtube-playlist-to-formatted-text: A desktop application that extracts YouTube playlist transcripts github.com

Automatically extracts subtitles from YouTube playlists, uses Gemini for text refinement, and outputs to formatted Markdown files.

03 podcastfy: An Open Source Python alternative to NotebookLM's podcast feature github.com

Uses generative AI to transform multimodal content into engaging multilingual voice conversations, serving as an alternative to Google's NotebookLM. (3.2K stars)

04 harbor: Effortlessly run LLM backends, APIs, frontends, and services with one command github.com

A containerized LLM toolkit that allows you to run LLMs and other services. Includes a CLI and companion app for easy management and running of AI services. (1.3K stars)

05 gixy: NGINX configuration static analyzer github.com

A tool for analyzing NGINX configurations that prevents security misconfigurations and automates defect detection.

06 bagofwords: An AI-powered data tool github.com

A dashboard project developed with Python + Vue.js that seamlessly integrates with various data sources, including databases, APIs, and business systems, enabling effective data analysis.

07 OmniParser: A simple screen parsing tool towards pure vision based GUI agent github.com

Open sourced by Microsoft, it can parse user interface screenshots into structured and easily understandable elements, enhancing GPT-4V's ability to accurately locate and generate actions. (15.8K stars)

08 Tamga: Modern, logging utility for Python with multiple output formats and colorful console output. github.com

A modern Python logging tool supporting multiple output formats and colorful console output. Uses Tailwind CSS color palette, integrates MongoDB, supports file rotation and email notifications.

09 frames_of_mind: Animating R1's thoughts. github.com

Saves chain of thought as text, then converts it to embeddings using OpenAI API, and finally plots the embeddings using t-SNE.

10 vlmrun-hub: A hub for various industry-specific schemas to be used with VLMs. github.com

A comprehensive repository containing predefined Pydantic schemas for extracting structured data from unstructured visual content such as images, videos, and documents. Leverages Pydantic for automatic data validation and type safety.

11 ExtractThinker: ExtractThinker is a Document Intelligence library for LLMs github.com

Utilizes large language models to extract and classify structured data from documents, functioning like an ORM to enable seamless document processing workflows. (1.1K stars)

12 cartography: consolidates infrastructure assets and the relationships between them github.com

Through an intuitive graph view powered by Neo4j database, it visualizes relationships between infrastructure assets, reveals hidden dependencies, and reduces security risks. (3.2K stars)

cartography: consolidates infrastructure assets and the relationships between them
ESC
↑↓ select · ↵ open175 issues