- Python Weekly
- Posts
- Python Weekly (Issue 672 October 17 2024)
Python Weekly (Issue 672 October 17 2024)
Python Weekly - Issue 672
Python Weekly
Welcome to issue 672 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks
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.
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.
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.
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).
A quick primer on leveraging custom root types for this task.
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.
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.
The uv package manager can also install Python for you. Should you use this feature in production?
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.
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.
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.
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
Educational framework exploring ergonomic, lightweight multi-agent orchestration. Managed by OpenAI Solution team.
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.
An Open Agentic Framework that Uses Computers Like a Human.
Vision model based PDF chunking.
An in-memory NoSQL database implemented in Python.
Lightweight library for scraping web-sites with LLMs.
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.
Detect and extract tables to markdown and csv.
The simplest self-building coding agent.
Upcoming Events and Webinars
There will be a talk on Exploring Vector Search.
There will be a talk, Using Protocol Buffers with Python.
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
There will be a talk, Building and Validating AI Applications in Regulated Industries.
Our Other Newsletters
- A free weekly newsletter for programmers.
- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.