Python Weekly - Python Weekly - Issue 603

View this email in your browser

Python Weekly

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

News

When byte code bites: Who checks the contents of compiled Python files?
The ReversingLabs research team has identified a novel attack on PyPI using compiled Python code to evade detection — possibly the first attack to take advantage of PYC file direct execution.

GitHub Packages no longer planning Python PyPI support


Articles, Tutorials and Talks

Image Dithering FAST In Python 
In this video, the concept of image dithering is explained, showcasing how dithering algorithms can effectively display images on black and white monitors while preserving reasonable contrast. The video provides coding examples utilizing packages like NumPy, Pillow, and Matplotlib to demonstrate the implementation of these algorithms.

Writing a KVM hypervisor VMM in Python
An experimental VMM for KVM written in Python. This is simply an experimental proof of concept which was hacked together enough to be able to boot OVMF, then install Linux on a disk and boot it.

Reversing Pickles with r2pickledec
R2pickledec is the first pickle decompiler to support all instructions up to protocol 5 (the current). In this post we will go over what Python pickles are, how they work and how to reverse them with Radare2 and r2pickledec. 

Refactoring a Command Line Shell | Code Roast Part 1 
Watch the video to witness the transformation from average to exceptional code in Part 1 of 2 videos.

The Right Way to Run Shell Commands From Python
Python is a popular choice for automating anything and everything, that includes automating system administration tasks or tasks that require running other programs or interacting with operating system. There are however, many ways to achieve this in Python, most of which are arguably bad, though. So, in this article we will look at all the options you have in Python for running other processes - the bad; the good; and most importantly, the right way to do it.

Don’t let yourself be fooled by data drift
The purpose of this post is to demonstrate that not all data drift impacts model performance. Making drift methods hard to trust since they tend to produce a large number of false alarms. To illustrate this point, we will train an ML model using a real-world dataset, monitor the distribution of the model's features in production, and report any data drift that might occur.

Understanding Cosine Similarity in Python with Scikit-Learn
Cosine similarity proved useful in many different areas, such as in machine learning applications, natural language processing, and information retrieval. After reading this article, you will know precisely what cosine similarity is, how to run it with Python using the scikit-learn library (also known as sklearn), and when to use it. You’ll also learn how cosine similarity is related to graph databases, exploring the quickest way to utilize it.

LangChain Crash Course - Build apps with language models 
In this LangChain Crash Course you will learn how to build applications powered by large language models. We go over all important features of this framework.

PyCon US 2023 Video 
Recordings from PyCon US 2023 in Salt Lake City, UT.

Python for Finance: Pandas Resample, Groupby, and Rolling
Learn how you can use resample, groupby, and rolling in pandas and supercharge your workflows with Ponder!


Interesting Projects, Tools and Libraries

PyStack
PyStack is a tool that uses forbidden magic to let you inspect the stack frames of a running Python process or a Python core dump, helping you quickly and easily learn what it's doing (or what it was doing when it crashed) without having to interpret nasty CPython internals.

aviary
Evaluate multiple LLMs easily.

Hiera
A Hierarchical Vision Transformer without the Bells-and-Whistles.

threestudio
A unified framework for 3D content generation.

Lanarky
Lanarky is an open-source framework to deploy LLM applications in production. It is built on top of FastAPI and comes with batteries included.

string2string
String-to-String Algorithms for Natural Language Processing.

roop
one-click deepfake (face swap)

chatdocs
Chat with your documents offline using AI.

nixpkgs-python
All Python versions, kept up-to-date on hourly basis using Nix.

survey
A simple library for creating beautiful interactive prompts.

DeepFilterNet
A Low Complexity Speech Enhancement Framework for Full-Band Audio (48kHz) using on Deep Filtering.

flood
flood is a load testing tool for benchmarking EVM nodes over RPC


New Releases

JupyterLab 4.0 is Here
The Jupyter contributor community is proud to announce JupyterLab 4.0, the next major release of our full-featured development environment. The package is now available on PyPI and conda-forge. You can upgrade by running pip install --upgrade jupyterlab or conda install -c conda-forge jupyterlab.

Django bugfix release: 4.2.2

Python 3.11.4, 3.10.12, 3.9.17, 3.8.17, 3.7.17, and 3.12.0 beta 2 are now available


Upcoming Events and Webinars

IOPCC
International Obfuscated Python Code Competition. 

Virtual: Cleveland Python Meetup June 2023
There will be a talk, Elasticsearch: Vector and Hybrid Search.

Virtual: PyLadies SoFlo Meetup June 2023
There will be a talk, Will PyScript replace Django? - What PyScript is and is not.

PyLadies Paris Meetup June 2023
There will be following talks
  • Application of machine learning algorithms to predict leaks in pipeline
  • Improving energy efficiency of data centers through machine learning

SF Python Presentation Night June 2023
There will be following talks
  • How open-source brings you high-quality financial market data
  • Async can be easy: scaling structured concurrency with static and dynamic analysis

PyData Amsterdam Meetup June 2023
There will be following talks
  • Data and AI for Good
  • Keeping it cool: Overcoming challenges when packaging ice cream with delta robots

PyData Pittsburgh Meetup June 2023
There will be a talk, A Tour of Large Language Models: An Accessible Journey into How They Work.

PyData Cambridge Meetup June 2023
There will be following talks
  • Adventures in AI
  • Operational Guidance for a Successful Data Science and AI Team
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 © 2023 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.

Key phrases

Older messages

Python Weekly - Issue 602

Thursday, June 1, 2023

View this email in your browser Python Weekly Welcome to issue 602 of Python Weekly. Let's get straight to the links this week. From Our Sponsor A Day in the Life of an Ethical Hacker Ethical

Python Weekly - Issue 601

Thursday, May 25, 2023

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

Thursday, May 18, 2023

View this email in your browser Python Weekly Welcome to issue 600 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Linting is a process where errors in the code can be

Python Weekly - Issue 599

Friday, May 12, 2023

View this email in your browser Python Weekly Welcome to issue 599 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Retool Database gives you all the power of Postgres

Python Weekly - Issue 598

Thursday, May 4, 2023

View this email in your browser Python Weekly Welcome to issue 598 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Build the web applications, data analysis, and

You Might Also Like

Tuesday Triage #200 and giveaway

Tuesday, May 14, 2024

Your weekly crème de la crème of the Internet is here! The 200th edition featuring annual subscriptions giveaway, thoughts on nearly four years of ... ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎮 How AI Tools Are Changing Game Development — Grab a Pixel 8a Instead of Waiting for Pixel 9

Tuesday, May 14, 2024

Also: Sharing Your Google Maps Trip Progress, and More! How-To Geek Logo May 14, 2024 Did You Know In a bid to keep the ingredients secret, WD-40 was never patented. 🤖 The New GPT It's Tuesday!

Meta shuts down Workplace

Tuesday, May 14, 2024

Plus: Everything that happened at Google I/O and AWS CEO steps down View this email online in your browser By Christine Hall Tuesday, May 14, 2024 Hello, and welcome back to TechCrunch PM. The team

Flattening Lists of Lists, Python 3.13, Sets, and More

Tuesday, May 14, 2024

Flattening a List of Lists in Python #629 – MAY 14, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Flattening a List of Lists in Python In this video course, you'll learn how to flatten a list

Daily Coding Problem: Problem #1441 [Easy]

Tuesday, May 14, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. UTF-8 is a character encoding that maps each symbol to one, two, three, or four

Noonification: 3 Quick Ways to Optimize RecyclerView

Tuesday, May 14, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 14, 2024? The HackerNoon Newsletter brings the HackerNoon

Using 97 fewer cores thanks to PGO

Tuesday, May 14, 2024

Plus an HNSW indexed vector store library, a new Go game hits the Steam store, and is 'ok' ok?. | #​507 — May 14, 2024 Unsub | Web Version Together with Stytch logo Go Weekly Reclaiming CPU for

Ranked | The Top 6 Economies by Share of Global GDP (1980-2024) 📈

Tuesday, May 14, 2024

Gain a unique perspective on the world's economic order from this graphic showing percentage share of global GDP over time. View Online | Subscribe Presented by: Data that drives the

Free online event this Thursday: Getting ahead with time series data

Tuesday, May 14, 2024

Free Online Event Do you know how your competitors use time series data to get ahead? Join us on Thursday, May 16 at 10am PT/1pm ET for a free, hour-long online fireside chat called “Unleash the Full

Here's the deal

Tuesday, May 14, 2024

We wanted you to be among the first to know about our plans to relaunch the Gigantic training courses that Product Collective now powers! Here's the deal: From May 20th - May 31st, anybody that