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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your