Python Weekly - Python Weekly - Issue 657

View this email in your browser

Python Weekly

Welcome to issue 657 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free

Articles, Tutorials and Talks

PyO3: From Python to Rust and Back Again 
David Hewitt, the principal committer to PyO3, discusses the project's role in improving Python's performance by integrating Rust code. The conversation explores the challenges and ongoing developments in making Python and Rust work seamlessly together, highlighting the complexities involved in bridging these two languages for enhanced performance.

How to Get Root Access to Your Sleep Number Bed
The article provides a detailed guide on how to gain root access to a Sleep Number bed's hub by modifying internal files, which voids the warranty. It also explores the hub's functionality and potential backdoors, warning about the security implications of an internet-connected appliance with direct access to the home network.

My Python code is a neural network
Many programs that we write can be embedded in recurrent neural networks (RNNs). For such programs, a trained RNN can perform better than if we write the algorithm by hand, refining it via trial and error. I walk through an example in detail.

How to use Vue with Django (including Auth) 
We'll set up a Vue.js frontend + a Django backend. Strong foundations for your production app. We'll also add auth Simple and robust. No tokens, no DRF, no JWT.

uv - pip killer or yet another package manager?
Pip has been the go to package manager for Python since time immemorial. But there’s a new kid on the block - uv. So is it worth the try or yet another tool?

Python grapples with Apple App Store rejections
An upgrade from Python 3.11 to 3.12 has led to the rejection of some Python apps by Apple's app stores. That led to Eric Froemling submitting a bug report against CPython. That, in turn, led to an interesting discussion among Python developers about how far the project was willing to go to accommodate app store review processes. Developers reached a quick consensus, and a solution that may arrive as soon as Python 3.13.

API integration Course – Modern Python with FastAPI 
This video provides a comprehensive overview of building event-driven applications using FastAPI, covering topics from basic setup to advanced features like real-time translation and sentiment analysis. It demonstrates the integration of various technologies and APIs, emphasizing practical implementation, troubleshooting, and optimization techniques for creating functional web applications with Python.

A practical introduction to Constraint Programming using CP-SAT and Python
This post discusses constraint programming, an approach to solve discrete optimization problems, and illustrate how it works with a scheduling code example implemented in Python with the CP-SAT solver.

An overview of the Sparse Array Ecosystem for Python
An overview of the different options available for working with sparse arrays in Python.

PDF Hell and Practical RAG Applications
Extracting text from PDFs often poses significant challenges, especially for applications in RAG, NLP, and large language models (LLMs). In this article, we delve into some challenges.

Keeping things in sync: derive vs test
In software development, keeping different parts of a program in sync is crucial. This article discusses two approaches: Deriving the behavior from a single source of truth (like a constant) or testing for synced behavior. 

Build a Django Rest API and Integrate with Next.js! Django Ninja, shadcn, Neon Postgres, Railway... 
The video guides developers through integrating Django for backend and Next.js for frontend development, showcasing rapid REST API setup with Django Ninja, including user authentication, JWT tokens, Neon serverless PostgreSQL setup, CORS management, and deployment optimizations for secure and efficient application performance. It emphasizes best practices and security measures for seamless integration and reliable deployment in production environments.

Interesting Projects, Tools and Libraries

llama-agents is an async-first framework for building, iterating, and productionizing multi-agent systems, including multi-agent communication, distributed tool execution, human-in-the-loop, and more!

Modern, open-source Jupyter alternative. 

Python+Webassembly Frontend Framework via PyScript.

Python package for mining stock and financial data, using data from open data sources like Yahoo Finance.

Async PostgreSQL driver for Python written in Rust.

Make your web services secure by default!

Composio equips agents with well-crafted tools empowering them to tackle complex tasks.

A Fully Open, Vision-Centric Exploration of Multimodal LLMs.

PyPI Scout
Find Python packages on PyPI with natural language queries.

Declarative API development platform. Build backend components with WASM, Typescript and Python, no matter where and how your (legacy) systems are.

Ingest, parse, and optimize any data format from documents to multimedia for enhanced compatibility with GenAI frameworks.

Python packaging scenarios.

A powerful command-line tool that generates comprehensive prompts from codebases, designed to streamline interactions between developers and Large Language Models (LLMs) for code analysis, documentation, and improvement tasks.

A modular graph-based Retrieval-Augmented Generation (RAG) system by Microsoft.

New Releases

Polars 1.0

Python 3.13.0 beta 3 released

Upcoming Events and Webinars

San Francisco Python Meetup July 2024
There will be following talks
  • Devin for Finance
  • Hot Hallway Topics at PyCon US: GIL, JIT, and more!
  • Extensibility Through Python

Hybrid: PyMunich Meetup July 2024
There will be following talks
  • My journey of Algo Trading within Crypto
  • From Dev to Prod: The Financial and Environmental Costs of Python Programming
  • Effective TDD and Python: Building Quality Software

PyHawaii Meetup July 2024
There will be following talks
  • AI Engineer World Fair recap
  • LLM Frameworks
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

Our mailing address is:
Python Weekly
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 656

Thursday, June 27, 2024

View this email in your browser Python Weekly Welcome to issue 656 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks pgvector for Python developers Learn

Python Weekly - Issue 655

Thursday, June 20, 2024

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

Thursday, June 13, 2024

View this email in your browser Python Weekly Welcome to issue 654 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Let's reproduce GPT-2 (124M) In

Python Weekly - Issue 653

Thursday, June 6, 2024

View this email in your browser Python Weekly Welcome to issue 653 of Python Weekly. Let's get straight to the links this week. News Trojan Embedded in crytic-compilers Python Package Targets

Python Weekly - Issue 652

Monday, June 3, 2024

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

C#515 How not to benchmark

Sunday, July 21, 2024

Always be careful when you see benchmarks ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1503 [Easy]

Sunday, July 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. The power set of a set is the set of all its subsets. Write a function that,

PD#584 Major Windows BSOD issue hits banks, airlines, and TV broadcasters

Sunday, July 21, 2024

Thousands of Windows machines were experiencing BSOD ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

RD#465 Understanding SSR with Hydration

Sunday, July 21, 2024

Hydration is a technique associated with server-side rendering ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The artist and the inner retreat & Maneken is live

Sunday, July 21, 2024

Create a blog only using Apple Notes, Private Browsing 2.0, blogstatic introduces DesignStudio, A wasted life, and a lot more in this week's issue of Creativerly. Creativerly The artist and the

Azure Weekly #476 - 21st July 2024

Sunday, July 21, 2024

Azure Weekly Newsletter Issue #476 powered by endjin Welcome to issue 476 of the Azure Weekly Newsletter. I've been scouring the web for new blogs and have added over 80 new RSS feeds. If you have

Sunday Digest | Featuring 'The World’s Top 100 Universities, by Country' 📊

Sunday, July 21, 2024

Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo Jul 21, 2024 | View Online | Subscribe | VC+ The Best of This Week's Visuals EXCLUSIVE OFFER ENDS SOON:

Kotlin Weekly #416

Sunday, July 21, 2024

ISSUE #416 21st of July 2024 Articles Xcode-Kotlin 2.0 Release There has been huge improvements to Kotlin Multiplatform debugging in Xcode. Check out this article from Touchlab with more info on the

Android Weekly #632 🤖

Sunday, July 21, 2024

View in web browser 632 July 21st, 2024 Articles & Tutorials Sponsored Solve Mobile Bugs Faster Crashes, jank, and unresponsiveness in your Android app? Join us on Wednesday, July 31st to learn how

This Week's Daily Tip Roundup

Sunday, July 21, 2024

Missed some of this week's tips? No problem. We've compiled all of them here in one convenient place for you to enjoy. Happy learning! iPhoneLife Logo View In Browser Your Tip of the Day is