Python Weekly - Python Weekly - Issue 644

View this email in your browser

Python Weekly

Welcome to issue 644 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

Designing a Pure Python Web Framework
This post explains how Reflex, a pure Python web framework, enables users to build web apps without the need to learn new languages. It details how Reflex works under the hood, highlighting its unique approach of compiling UI to JavaScript while keeping app logic and state management in Python on the server

Fixing a Bug in PyPy's Incremental GC
This post discusses how the author fixed a bug in PyPy's incremental garbage collector that was causing crashes in the AST rewriting phase of pytest on CI environments. It details the technical background on PyPy's incremental GC and the specific issues that were uncovered and resolved in the write barrier implementation.

A better Python cache for slow function calls
The article introduces a Python file cache that stores function values in files instead of memory, offering a more persistent caching solution. By using the file_cache decorator, developers can enhance performance by saving time running functions like LLM benchmarks and sharing the cache as a Python module.

Django: Write-up on optimizing the system check framework
The post discusses optimizations made to Django's system check framework, which had gained a reputation for being slow. The optimizations reduced the runtime of running checks on an example client project from 37ms to 18ms, a 50% reduction.

Python Poetry in 8 Minutes 
This video guides you through the ins and outs of managing Python virtual environments, while also introducing you to Poetry. You'll learn a host of tips and strategies to manage your projects with greater effectiveness and efficiency.

Fake-SMS: How Deep Does the Rabbit Hole Really Go?
Tracking a Bad Actor Through the Maze of Obfuscated Malware Code.

The wrong way to speed up your code with Numba
Numba can make your numeric code faster, but only if you use it right.

Unnecessary else statements
Let's talk about unnecessary else statements in Python.

Data Visualization in PostgreSQL With Apache Superset
Looking for data visualization tools for PostgreSQL? We discuss a few options and provide a step-by-step guide on PostgreSQL and Apache Superset.

Building a Django API for Mobile Developers 
A dive into the backend side of app development, focusing on building robust APIs with Django and Django Rest Framework.

Secure LLM Architecture - Testing LLM Guard 
The video explores LLM architectures, addressing security concerns and critiquing ineffective security tools. It introduces LLM Guard, an open-source tool aiming to enhance LLM security by checking inputs for malicious intent and outputs for sensitive data, demonstrated through practical examples and emphasizing the importance of output monitoring and permissions in safeguarding data.

The power of predicate pushdown
Predicate pushdown is one of the most important optimizations for a query engine. Read more about it in this article.

Distributed coroutines with a native Python extension and Dispatch
The article discusses how Distributed Coroutines, when paired with a distributed scheduler like Dispatch, can simplify the creation of scalable and reliable software by allowing functions to be suspended, serialized, and resumed in another process. It highlights how Distributed Coroutines leverage Python's native support for coroutines and async functions to encode dynamic workflows using regular programming language constructs and control flow.

AWS Lambda + Bedrock Tutorial 
Learn how to use AWS Lambda to invoke APIs from AWS Bedrock. This video is step by step using Python and boto3's Bedrock client to call the InvokeModel API. It also shows you how to set up your IAM Permissions and modify your Lambda Timeout values to deal with slow responses from Bedrock. 


Interesting Projects, Tools and Libraries

open-interpreter
A natural language interface for computers.

Devika
Agentic AI Software Engineer. Devika aims to be a competitive open-source alternative to Devin by Cognition AI.

T-Rex
Towards Generic Object Detection via Text-Visual Prompt Synergy.

OpenDevin
An open-source project aiming to replicate Devin, an autonomous AI software engineer who is capable of executing complex engineering tasks and collaborating actively with users on software development projects.

VoiceCraft
Zero-Shot Speech Editing and Text-to-Speech in the Wild.

lightning-thunder
Make PyTorch models Lightning fast! Thunder is a source to source compiler for PyTorch. It enables using different hardware executors at once.

reverser_ai
Provides automated reverse engineering assistance through the use of local large language models (LLMs) on consumer hardware.

Leaping
Leaping's pytest debugger is a simple, fast and lightweight debugger for Python tests. Leaping traces the execution of your code and allows you to retroactively inspect the state of your program at any time, using an LLM-based debugger with natural language.

Tracecat
The AI-native, open source alternative to Tines / Splunk SOAR. 

rag-search
RAG Search API.

FeatUp
A Model-Agnostic Framework for Features at Any Resolution.


Upcoming Events and Webinars

PyData London Meetup April 2024
There will be following talks
  • Building Retrieval Augmented Generation (RAG) powered applications
  • Getting python out of the way when taking ML models from research to production. A deep dive into the Open Neural Network Exchange (ONNX)

Michigan Python Meetup April 2024
There will be a talk, Spatial Data Visualization with GeoPandas.

PyData Amsterdam Meetup April 2024
There will be following talks
  • Fraud or no Fraud: sounds simple, right?
  • Building GenAI and ML systems with OSS Metaflow
 
PyData Tel Aviv Meetup April 2024
There will be following talks
  • To Bid, or not to Bid – Reinforcement Learning for Real Time Bidding
  • Securing LangChain Applications Against Prompt Injection Using Rebuff
  • Polars is the Pandas killer
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 643

Thursday, March 21, 2024

View this email in your browser Python Weekly Welcome to issue 643 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks How to use PostgreSQL for (military)

Python Weekly - Issue 643

Thursday, March 21, 2024

View this email in your browser Python Weekly Welcome to issue 643 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks How to use PostgreSQL for (military)

Python Weekly - Issue 642

Friday, March 15, 2024

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

Thursday, March 7, 2024

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

Thursday, February 29, 2024

View this email in your browser Python Weekly Welcome to issue 640 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Take control of your software supply chain with

You Might Also Like

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 444 - Why did people rub snow on frozen feet? (2017)

Thursday, November 21, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 444 - JavaScript Dos and Donts

Thursday, November 21, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 438 - Reverse Engineering iOS 18 Inactivity Reboot

Thursday, November 21, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 438 Release Date Nov 21, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 362 Release Date Nov 21, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Node.js news, articles and

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 441 Release Date Nov 21, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 439 Release Date Nov 21, 2024 Your weekly report of the most popular Rust news, articles and projects

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,

Ranked | The World's 30 Largest Exporters 🌎

Thursday, November 21, 2024

We show the largest exporters in the world amid a surge in trade restrictions, rising populism, and shipping route disruptions. View Online | Subscribe | Download Our App 5 DAYS LEFT! Learn Visual