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
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!

Pretzel
Modern, open-source Jupyter alternative. 

PuePy
Python+Webassembly Frontend Framework via PyScript.

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

PSQLPy
Async PostgreSQL driver for Python written in Rust.

BunkerWeb
Make your web services secure by default!

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

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

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

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

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

packse
Python packaging scenarios.

Code2Prompt
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.

GraphRAG
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 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 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

Weekend Reading — Gesturing wildly and in every direction

Saturday, July 6, 2024

This week we kick start the Slow Software Movement, CTRL+F the Spice Rack, walk over the kitchen table, slop the book, hide behind a tree, skip leg day, and hide under the weighted blanket. 😎 Labnotes

📳 Why Your Older iPhone Won't Get Apple Intelligence — The Perfect Gaming Controller

Saturday, July 6, 2024

Also: Apple TV+ Is Missing These Essential Features, and More! How-To Geek Logo July 6, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Mind The Pregap 💿

Saturday, July 6, 2024

The tale of the pregap, a weird quirk of the compact disc era. Here's a version for your browser. Hunting for the end of the long tail • July 06, 2024 Today in Tedium: Having gotten through a

Daily Coding Problem: Problem #1488 [Hard]

Saturday, July 6, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. We're given a hashmap associating each courseId key with a list of courseIds

Ranked | The World's Most Endangered Animals 🦍

Saturday, July 6, 2024

We look at the 10 most endangered animals on the planet, showing estimated numbers left of each species. View Online | Subscribe Voronoi: The App Where Data Tells the Story FEATURED STORY Ranked: The

The Role of AI in Hazmat Response

Saturday, July 6, 2024

Top Tech Content sent at Noon! Tackle your credit card debt with 0% interest until nearly 2026 Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, July 6

Figma pauses its new AI feature after Apple controversy 

Saturday, July 6, 2024

Plus: YouTube quietly makes a stance on AI deepfakes and voice clones View this email online in your browser By Cody Corrall Saturday, July 6, 2024 Image Credits: David Paul Morris/Bloomberg / Getty

🐍 New Python tutorials on Real Python

Saturday, July 6, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Python's Built-in Functions: A Complete

OVHcloud Hit with Record 840 Million PPS DDoS Attack Using MikroTik Routers

Saturday, July 6, 2024

THN Daily Updates Newsletter cover Cloud Identity Patterns and Strategies ($28.99 Value) FREE for a Limited Time Identity is paramount for every architecture design, making it crucial for enterprise

Tackle your credit card debt with 0% interest into 2026

Saturday, July 6, 2024

iPhoneLife Logo Sponsored email sent by iPhone Life Tackle your credit card debt with 0% interest into 2026 If you have outstanding credit card debt, getting a new 0% intro APR credit card could help