Python Weekly - Python Weekly - Issue 672

View this email in your browser

Python Weekly

Welcome to issue 672 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks

Build your first Web App with Cursor AI, Python, Virtual Machines, and Neon Postgres 
Learn how to create a modern web application using Cursor AI, which allows developers to build robust applications by converting English instructions into code. The course covers a wide range of topics, including full-stack web development, integrating with GitHub, building a Python and Django web app, and deploying a production-ready server, all achievable in about 5 hours and at minimal cost.

Can You Get Root With Only a Cigarette Lighter?
The article describes how to gain root access on a Linux system using only a cigarette lighter through electromagnetic fault injection (EMFI) attacks on DRAM. The author demonstrates how precisely timed electromagnetic pulses can flip bits in memory, allowing an attacker to modify critical system data and escalate privileges without traditional software vulnerabilities.

What I Learned from Making the Python Backend for YouTube Transcript Optimizer
The post discusses the process of building the Python backend for YouTube Transcript Optimizer (YTO). It covers the challenges encountered during development, including API integration, performance optimization, and managing transcript data.

The New Python 3.13 Is FINALLY Here! 
Python 3.13 is here with exciting updates! Dive into the key new features, including the game-changing option to disable the Global Interpreter Lock (GIL). 

Custom Dictionary Types in Pydantic
A quick primer on leveraging custom root types for this task.

We’re All Just Looking for Connection
We’ve been working to bring components of Quip’s technology into Slack with the canvas feature, while also maintaining the stand-alone Quip product. Quip’s backend, which powers both Quip and canvas, is written in Python. This is the story of a tricky bug we encountered last July and the lessons we learned along the way about being careful with TCP state.

The Uncertain Art of Accelerating ML Models
This podcast episode features Sylvain Gugger, a machine learning engineer at Jane Street, discussing techniques for accelerating ML models. The conversation covers topics like learning rate schedules, performance optimization in PyTorch, GPU utilization, and the unique challenges of applying ML in trading environments.

Should you use uv’s managed Python in production?
The uv package manager can also install Python for you. Should you use this feature in production?

Writing a Home Assistant Core Integration: Part 1
The article details the development of pytouchlinesl, a Python library for interacting with Roth Touchline SL underfloor heating systems. It covers the design process, API implementation, testing strategies, CI/CD setup, and publishing to PyPI, highlighting the use of modern Python tools like uv, pydantic, and ruff.
  • Part 2 - This post describes the development setup, project structure and contribution process for building and landing a Home Assistant Core integration. 

Concurrency For Starlette Apps (e.g FastAPI / FastHTML)
We often want to call LLMs in Starlette based apps (FastHTML, FastAPI, etc.) apps, and we don’t want to block the server on network calls to APIs. This post documents my explorations of various approaches that can run tasks in the background without blocking the main process.

Deploying (Multiple) Django Apps to a Single Server with Kamal 2
Cory Zue describes migrating two Django apps to a shared Hetzner VPS using Kamal 2, detailing the process of setting up a production Dockerfile, creating a Kamal deploy configuration, and addressing challenges with health checks and Django's security settings. The article highlights the ease of deploying multiple apps on a single server with Kamal 2, resulting in cost savings and improved deployment speed.

A hand-holding guide to writing FUSE-based filesystems in Python 
This video tutorial provides a step-by-step guide to writing FUSE-based filesystems in Python. It starts with a simple example and gradually adds more features, making it suitable for beginners.


Interesting Projects, Tools and Libraries

Swarm
Educational framework exploring ergonomic, lightweight multi-agent orchestration. Managed by OpenAI Solution team.

Pyloid
Pyloid is the Python backend version of Electron and Tauri, providing an open-source project that allows you to easily utilize various Python integration features. With Pyloid, developing desktop applications becomes simple, enabling you to effortlessly build apps by integrating Python's powerful capabilities.

Agent S
An Open Agentic Framework that Uses Computers Like a Human.

Chunkr
Vision model based PDF chunking.

JameSQL
An in-memory NoSQL database implemented in Python.

Parsera
Lightweight library for scraping web-sites with LLMs.

TEN-Agent
TEN Agent is the world’s first real-time multimodal agent integrated with the OpenAI Realtime API, RTC, and features weather checks, web search, vision, and RAG capabilities.

Tabled
Detect and extract tables to markdown and csv. 

ditto
The simplest self-building coding agent.


Upcoming Events and Webinars

NYC PyLadies Meetup October 2024
There will be a talk on Exploring Vector Search.

Portland Python Meetup October 2024
There will be a talk, Using Protocol Buffers with Python.

PyData Amsterdam Meetup October 2024
There will be following talks
  • MPLX - Machine Learning Driven Risk Management
  • Optimize your marketing expenses: An overview of different methods
  • Lies, damned lies and large language models

PyData Copenhagen Meetup October 2024
There will be a talk, Building and Validating AI Applications in Regulated Industries.
 
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 670

Thursday, October 3, 2024

View this email in your browser Python Weekly Welcome to issue 670 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Last chance to be part of Snyk's DevSeccon 2024

Python Weekly - Issue 669

Thursday, September 26, 2024

View this email in your browser Python Weekly Welcome to issue 669 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Join Snyk at DevSecCon 2024: Developing AI Trust,

Python Weekly - Issue 668

Thursday, September 19, 2024

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

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

You Might Also Like

💻 Why I Still Buy Hard Drives for My PC — Avoid Filling Your iPhone Up With Screenshots

Thursday, November 7, 2024

Also: Perfecting Your PlayStation 5 Remote Play Setup, and More! How-To Geek Logo November 7, 2024 Did You Know It's not the coloration or flavor that gives grapefruit its name, but the way that

JSK Daily for Nov 7, 2024

Thursday, November 7, 2024

JSK Daily for Nov 7, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Unveiling the New Angular 3D Circular Charts Component The Angular 3D Circular Charts

Daily Coding Problem: Problem #1601 [Easy]

Thursday, November 7, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This question was asked by Apple. Given a binary tree, find a minimum path sum from root to a leaf. For example,

Mapped | Median Home Sale Price by U.S. State 🏘️

Thursday, November 7, 2024

As of August 2024, the median home sales price for a single-family home in the US is about $385000. Which states have the highest prices? View Online | Subscribe | Download Our App Presented by:

Spyglass Dispatch: Trump's PayPals • Threads Real-Time Fail • Streaming Clint Eastwood • The True Value of Xitter

Thursday, November 7, 2024

Trump's PayPals • Threads Real-Time Fail • Streaming Clint Eastwood • The True Value of Xitter The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel free to forward it on to

Issue 338 - Blind spot safety for parked vehicles

Thursday, November 7, 2024

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 338 -

We're revealing our biggest secrets... 🔓

Thursday, November 7, 2024

After 13 years of pioneering data storytelling, Visual Capitalist is revealing the secrets behind its success. View Online | Subscribe | Download Our App We're revealing our biggest secrets... The

Programmer Weekly - Issue 230

Thursday, November 7, 2024

View this email in your browser Programmer Weekly Welcome to issue 230 of Programmer Weekly. Let's get straight to the links this week. From Our Sponsor How Google handles authorization at scale

AI Does No-Coding Web App in Minutes, Non-Commercial JetBrains Rider IDE vs. VS 2022 Community Edition, More

Thursday, November 7, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight November 7, 2024 THIS ISSUE SPONSORED BY: ■ Build Great UI With Easily Customizable Page Templates and Building Blocks ■ VSLive!

Data Science Weekly - Issue 572

Thursday, November 7, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏