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

Your Phone’s Other Number 📱

Saturday, April 27, 2024

Let's talk about your phone's IMEI number. Here's a version for your browser. Hunting for the end of the long tail • April 27, 2024 Today in Tedium: As you may know, Tedium is a blog and/or

🕹️ How to Play Retro Games for Free on iPhone — Why I Can't Live Without an eReader

Saturday, April 27, 2024

Also: Anker MagGo (Qi2) Power Bank Review, and More! How-To Geek Logo April 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — The Bob Ross of programming

Saturday, April 27, 2024

This week we use coffee tasting as our design practice, get as close to and as far away from the metal as possible, find an easier way to write documentation, discover why Google Search is getting so

Issue #538: All the Jam entries, Panthera 2, and Tristram

Saturday, April 27, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #538 - April 26th 2024 If you have anything you want to share with the HTML5 game

Daily Coding Problem: Problem #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 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: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.