PythonHub Logo Python Hub Weekly Digest for 2024-09-29

💖 Most Popular

13 Python Quirks That Will Surprise You
This video presents 13 peculiar aspects of Python programming, with the final example being particularly confusing for newcomers to the language. Each quirk is demonstrated through code examples, accompanied by explanations for their existence and behavior.

Hy 1.0.0, the Lisp dialect for Python, has been released

Let’s build and optimize a Rust extension for Python
Python code too slow? You can quickly create a Rust extension to speed it up.

FARM Stack Course – Full Stack Development with FastAPI, React MongoDB
Learn full stack stack development with the FARM stack. You will learn to quickly create an application using FastAPI, React, and MongoDB.

Formatron
Formatron empowers everyone to control the format of language models' output with minimal overhead.


📖 Articles

RAG Is More Than Just Vector Search
Go beyond vector search. Learn how to improve your RAG system with Text2SQL, filtered search, structured extraction, and eval-driven development.

Deep learning compilers and how the sausage is made
A series of discussions focused on deep learning compilers and machine learning. It covers how deep learning models are optimized and deployed for practical use cases. The content dives into topics relevant for developers and engineers working with AI frameworks and model performance optimization.

Ask HN: Kotlin SpringBoot vs. Python Django for Min Viable Product

Python Hub Weekly Digest for 2024-09-22

What's in an e-graph?
The article explains e-graphs by incrementally building from union-find to a full e-graph implementation, highlighting key features like equivalence class discovery, pattern matching, and extraction. It demonstrates how e-graphs can be used in compilers for optimizations, offering a more flexible alternative to traditional find-and-replace methods while discussing trade-offs and variatio...

Building an Advanced RAG System With Self-Querying Retrieval

Some tricks with UV
UV can be seen as an alternative to pip, but that might be a limiting way to think about the tool. Instead of looking at faster builds, which are still super nice, it might also make sense to rethink the stuff that we might be able to do from Python going forward.

Serializing package requirements in marimo notebooks
Marimo now allows notebooks to serialize their package requirements as top-level comments, enabling users to run notebooks in isolated virtual environments with a single command. This feature, powered by the uv package manager, enhances reproducibility and sharing of notebooks by eliminating the need for separate requirements files and preventing environment pollution.

Things I've learned serving on the board of the Python Software Foundation


⚙️ Projects

pyrtls
rustls-based modern TLS for Python.

ft_utils
A library of utilities to support efficient, scalable Python development leveraging Free Threaded Python.

Deploying a Django app with Kamal, AWS ECR, and Github Actions
The article provides a comprehensive guide on deploying a Django app using Kamal, AWS ECR, and GitHub Actions, offering a streamlined approach to containerized deployment. It covers setting up a VPS, creating a Dockerfile, configuring AWS ECR, setting up Kamal, and automating the deployment process with GitHub Actions, aiming to simplify the deployment workflow for developers.

WordLlama
Things you can do with the token embeddings of an LLM.

LLaMA-Omni
LLaMA-Omni is a low-latency and high-quality end-to-end speech interaction model built upon Llama-3.1-8B-Instruct, aiming to achieve speech capabilities at the GPT-4o level.

spann3r
3D Reconstruction with Spatial Memory.

MiniLang
A type-safe C successor that compiles directly to various platforms.

FastAgency
The fastest way to bring multi-agent workflows to production.


👾 Reddits

Totally blown away by python core libraries


← Previous Next →

Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.