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

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