Python Weekly - Python Weekly - Issue 649

View this email in your browser

Python Weekly

Welcome to issue 649 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
  Learn how you can containerize and run your GenAI application using Docker.

Articles, Tutorials and Talks

ByteWax: Rust's Research Meets Python's Practicalities 
Bytewax is a curious stream processing tool that blends a Python surface with a Rust core to produce something that’s in a similar vein to Kafka Streams or Apache Flink, but with a fundamentally different implementation. This week we’re going to take a look at what it does, how it works in theory, and how the marriage of Python and Rust works in practice.

How Python Asyncio Works: Recreating it from Scratch
Learn how asyncio works by recreating it from scratch with Python generators and using the __await__ under method for the async/await keywords.

A 100x speedup with unsafe Python
We're going to speed up some numpy code by 100x using "unsafe Python." Which is not quite the same as unsafe Rust, but it's a bit similar, and I'm not sure what else to call it... you'll see. It's not something you'd use in most Python code, but it's handy on occasion, and I think it shows "the nature of Python” from an interesting angle.

AsyncIO and the Event Loop Explained 
Over the years, I’ve produced several videos about AsyncIO. Today, however, I’m adopting a new approach where I explain the event loop in depth. I’ll delve deeper into asynchronous programming, focusing specifically on how the event loop operates behind the scenes.

How LLMs Work, Explained Without Math
A basic question I think a lot of people have about the GenAI revolution is where does the apparent intelligence these models have come from. In this article, I'm going to attempt to explain in simple terms and without using advanced math how generative text models work, to help you think about them as computer algorithms and not as magic.

Simple Interactive Python Streamlit Maps That Will Make You Shout
Data storytelling forest fire statistics from a NASA GIS data set.

Master Python & Zoom API | Build a Server-to-Server App That Transcribes Recordings 
Learn how to use Zoom's API with Python in this step-by-step guide! In this tutorial, you'll learn how to create a robust server-to-server OAuth application that automatically transcribes your Zoom recordings, prints them directly to your terminal, and saves them as text files. Perfect for developers, this tutorial will take you from setup to execution, so you'll have a fully functional application by the end of the video.

A High-Level Technical Overview of Fully Homomorphic Encryption
The article provides a high-level technical overview of fully homomorphic encryption (FHE), a powerful cryptographic technique that allows computations to be performed on encrypted data without decrypting it first. It discusses some of the key FHE libraries and tools under active development.

"Attention, Please!": A Visual Guide To The Attention Mechanism
Develop an intuition behind Attention: why it took over machine learning + LLMs and what it actually does.


Interesting Projects, Tools and Libraries

gpt-home
ChatGPT at home! Basically a better Google Nest Hub or Amazon Alexa home assistant. Built on the Raspberry Pi using the OpenAI API.

Logfire 
Uncomplicated Observability for Python and beyond!

PgQueuer
PgQueuer is a Python library leveraging PostgreSQL for efficient job queuing.

relax-py
A Python web development framework for htmx and tailwindcss, with hot module replacement, URL locators, dependency injection, supported by static typing, built on top of Starlette.

VILA
A multi-image visual language model with training, inference and evaluation recipe, deployable from cloud to edge (Jetson Orin and laptops).

prometheus-eval
Evaluate your LLM's response with Prometheus.

LlamaParse
LlamaParse is an API created by LlamaIndex to efficiently parse and represent files for efficient retrieval and context augmentation using LlamaIndex frameworks.

fastapi-cli
Run and manage FastAPI apps from the command line with FastAPI CLI. 

Bytewax
Bytewax is a Python framework that simplifies event and stream processing.

django-harlequin
Launch Harlequin, the SQL IDE for your Terminal, with your Django database configuration.

LeRobot
State-of-the-art Machine Learning for real-world robotics.

Panza
A personal email assistant, trained and running on-device.

DrEureka
Language Model Guided Sim-to-Real Transfer.

SATO
Stable Text-to-Motion Framework.


New Releases

pip 24.1 beta

Django bugfix releases issued: 5.0.6 and 4.2.13


Upcoming Events and Webinars

Django London Meetup May 2024
There will be following talks
  • Layered Django project structure for large-scale collaboration
  • Crabs in Snakes!

PyLadies Berlin Meetup May 2024
There will be following talks
  • The Nesting Doll Effect: Scope in Python
  • Revenue based scoring in `GridSearchCV`: a case for the new metadata routing in scikit-learn

PuPPy Meetup May 2024
There will be a talk, The Best Language to Write Python in is Rust.

PyBerlin Meetup May 2024
There will be following talks
  • Deploy your Data Project on the Web using only Python
  • Introducing magic-di: elevating Python with dependency injector

PyData Südwest Meetup May 2024
There will be following talks
  • Kickstart Coding at Scale: How Project Template Automation Unlocks Developer Productivity
  • Dask DataFrame is fast now
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 648

Thursday, May 2, 2024

View this email in your browser Python Weekly Welcome to issue 648 of Python Weekly. Let's get straight to the links this week. News Fake job interviews target developers with new Python backdoor A

Python Weekly - Issue 647

Thursday, April 25, 2024

View this email in your browser Python Weekly Welcome to issue 647 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 646

Saturday, April 13, 2024

View this email in your browser Python Weekly Welcome to issue 646 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 645

Thursday, April 4, 2024

View this email in your browser Python Weekly Welcome to issue 645 of Python Weekly. Let's get straight to the links this week. News Typosquatting Campaign Targets Python Developers Phylum's

Python Weekly - Issue 644

Thursday, March 28, 2024

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

You Might Also Like

Retiring!

Monday, May 20, 2024

Moving to a different Newsletter ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

SRE Weekly Issue #425

Monday, May 20, 2024

View on sreweekly.com Welcome to a special re-send of SRE Weekly Issue #425! For those of you getting this for a second time, my apologies. I attempted to change to a new email vendor, but they

SRE Weekly Issue #425

Monday, May 20, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: FireHydrant is now AI-powered for faster, smarter incidents! Power up your incidents with auto-generated real-time summaries,

🤖 Will AI Gadgets Replace Our Smartphones? — 4 Ways to Use Excel in Daily Life

Sunday, May 19, 2024

Also: How to Declutter Your Google Search Results, and More! How-To Geek Logo May 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Daily Coding Problem: Problem #1446 [Medium]

Sunday, May 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a set of closed intervals, find the smallest set of numbers that covers

RD#456 Data Fetching Patterns in Single-Page Applications

Sunday, May 19, 2024

Five patterns to help Single Page Applications fetch data from remote sources ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

C#506 .NET 9 LINQ Performance Edition

Sunday, May 19, 2024

The team has been working on improving performance ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

PD#574 Programming like it’s 1977

Sunday, May 19, 2024

128 bytes of RAM, no operating system, and limited types of sprites ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Defeating Mouse Lint 🖱️

Sunday, May 19, 2024

How optical mice scrolled past rubber balls. Here's a version for your browser. Hunting for the end of the long tail • May 19, 2024 Hey all, sorry this is running a little late. Last week's odd

Android Weekly #623 🤖

Sunday, May 19, 2024

View in web browser 623 May 19th, 2024 Articles & Tutorials Sponsored Webinar: Compiler Technology vs Wrapper Solutions The right mobile app protection secures apps and SDKs against threats such as