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

Issue 340 - Elon Musk hints at a new model for large families

Thursday, November 21, 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 340 -

Data Science Weekly - Issue 574

Thursday, November 21, 2024

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

Programmer Weekly - Issue 232

Thursday, November 21, 2024

View this email in your browser Programmer Weekly Welcome to issue 232 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Writing software is a very intense,

Better - An AI Powered Code Reviewer

Thursday, November 21, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 21, 2024? The HackerNoon

Python Weekly - Issue 677

Thursday, November 21, 2024

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

Web Tools #592 - JS Libraries, Git/CLI Tools, Media/SVG

Thursday, November 21, 2024

WEB VERSION Issue #592 • November 21, 2024 Advertisement Deploy AMD Instinct™ MI300X on Vultr AMD Instinct MI300X accelerators are now available on the Vultr cloud platform. With thousands of AMD

Stop Using the Wrong State Management in Jetpack Compose

Thursday, November 21, 2024

View in browser 🔖 Articles Benchmark Insights: Direct State Propagation vs. Lambda-based State in Jetpack Compose Here, we'll dive into some benchmark analysis on the state propagation approach in

wpmail.me issue#694

Thursday, November 21, 2024

wpMail.me wpmail.me issue#694 - The weekly WordPress newsletter. No spam, no nonsense. - November 21, 2024 Is this email not displaying correctly? View it in your browser. News & Articles State of

Turn off Google AI with two letters

Thursday, November 21, 2024

$250 off M4 MacBook; Linux Foundation marks 20 years; Bluesky tips -- ZDNET ZDNET Tech Today - US November 21, 2024 laptop This absurdly simple trick turns off AI in your Google Search results There

PHPWeekly November 21st 2024

Thursday, November 21, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 21st November 2024 Hi everyone, PHP 8.4 id due for a release today,