Python Weekly - Python Weekly - Issue 668

View this email in your browser

Python Weekly

Welcome to issue 668 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.
Join For Free

Articles, Tutorials and Talks

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.

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 variations like aegraphs used in Cranelift.

Building an Advanced RAG System With Self-Querying Retrieval 
The article explains how to implement an advanced Retrieval-Augmented Generation (RAG) system using MongoDB Atlas Vector Search and LangChain, focusing on self-querying retrieval. It demonstrates how to create a system that can dynamically generate and execute queries based on user input, improving the relevance and accuracy of retrieved information for large language models.

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.

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.

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.

7 Ways To Use Jupyter Notebooks inside PyCharm
Discover seven ways you can use Jupyter notebooks in PyCharm to explore and work with your data more quickly and effectively.

35% Discount on Keyword Arguments in Python
The article explores optimizing argument parsing in Python, demonstrating techniques to reduce execution time for functions with multiple arguments. Through various methods like manual unpacking and using faster calling conventions, the author achieves a 35.2% overall speedup in argument parsing, highlighting the potential performance gains in high-demand applications.

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.

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.


Interesting Projects, Tools and Libraries

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

pyrtls
rustls-based modern TLS for Python.

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

fish-speech
Brand new TTS solution.

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.

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

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

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


Upcoming Events and Webinars

Python Barcelona Meetup September 2024
There will be following talks
  • From text to actions: LLMs as the new software consumers
  • Ragtime: An Approach to Retrieval-Augmented Generation

PuPPy Meetup September 2024
There will be following talks
  • How to calculate sample size in your head
  • Helping people get 3D prints of their own brain with Python
  • When Driving Is Not an Option: Steering Away from Car Dependency

PyData Warsaw #23 
There will be following talks
  • How to allocate marketing budget - Bayesian approach to the rescue
  • Questioning the fundamentals - intro to Kalmogorov-Arnold Networks

PyData Exeter Meetup September 2024
There will be following talks
  • Big Data in Medicine: The Mysterious Links Between Blood Sugar and Arm Problems
  • Sewer Inspection with Computer Vision
  • The Grand Challenge of Emotion-Based Music Recommendation: How well can you predict someone's emotional response to music with AI?

PyData Stockholm Meetup September 2024
There will be following talks
  • Empowering Data Teams: Self-Serve Infrastructure, Reusable Components & Automation
  • Struggling to scale GenAI. You are not alone!
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 667

Thursday, September 12, 2024

View this email in your browser Python Weekly Welcome to issue 667 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 666

Thursday, September 5, 2024

View this email in your browser Python Weekly Welcome to issue 666 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 665

Thursday, August 29, 2024

View this email in your browser Python Weekly Welcome to issue 665 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Quick and Easy Rate Limiting for

Python Weekly - Issue 664

Thursday, August 22, 2024

View this email in your browser Python Weekly Welcome to issue 664 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 663

Tuesday, August 20, 2024

View this email in your browser Python Weekly Welcome to issue 663 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks From Boring Object-Oriented to INSANE

You Might Also Like

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power