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

Issue 347 - Tesla opens electronic parts catalog to the public

Thursday, January 9, 2025

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 347 -

Programmer Weekly - Issue 237

Thursday, January 9, 2025

View this email in your browser Programmer Weekly Welcome to issue 237 of Programmer Weekly. Happy New Year! I hope you had a great holiday and took some time off to recharge. Quote of the Week "

GOAT, Memes, and the Millionaire AI Agent

Thursday, January 9, 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? 🪐 What's happening in tech today, January 9, 2025? The

The Python skills gap no one talks about

Thursday, January 9, 2025

"I thought I was doing fine until they asked me to review someone else's code..." That's what Jake, a Python developer of 3 years, told me in November. He'd just spent an entire

Compare New Free/Paid Copilot Plans, ASP.NET Core Layouts, Dive into .NET MAUI, More

Thursday, January 9, 2025

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight January 9, 2025 THIS ISSUE SPONSORED BY: ■ Yes, you finally test like a champion. ■ Visual Studio Live! Las Vegas: .NET Developer

Simplify Async Programming

Thursday, January 9, 2025

View in browser 🔖 Articles Coroutines: From Basics to Advanced Patterns Master Kotlin Coroutine Channels to improve communication between coroutines in Android development. Learn the basics, explore

Spyglass Dispatch: One Prediction Down...

Thursday, January 9, 2025

9 More to Go for 2025 • Netflix Wrestles the WWE Audience • EU Swipes Back at Meta • Howard Marks' Bubble Watch • TikTok Case Eve The Spyglass Dispatch is a newsletter sent on weekdays featuring

The 7 smart glasses we loved at CES

Thursday, January 9, 2025

AI tops LinkedIn jobs report; Best laptops of CES; Revive an old MacBook with Linux -- ZDNET ZDNET Tech Today - US January 9, 2025 Prakhar Khanna wearing Inair Glasses CES 2025: The 7 most advanced

wpmail.me issue#701

Thursday, January 9, 2025

wpMail.me wpmail.me issue#701 - The weekly WordPress newsletter. No spam, no nonsense. - January 9, 2025 Is this email not displaying correctly? View it in your browser. News & Articles Wix Vs.

Streamline Your Note-Taking - Why Daily Notes Should Be Your Capture System

Thursday, January 9, 2025

Transform your note-taking workflow by using daily notes as your primary capture system. Learn how to maintain focus, save time, and create better connections between your ideas Sébastien Dubois