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.

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

Recording: 'Data Storytelling: What Organizations Need to Know Going Into 2025'

Friday, November 22, 2024

Thank you for your interest in our latest webinar. As promised here is your recording of the event. View email in browser Recording Now Available Thank you for your interest in receiving a recording of

💻 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,