Python Weekly - Python Weekly - Issue 582

View this email in your browser

Python Weekly

Welcome to issue 582 of Python Weekly. Happy New Year! I hope everyone had a nice holiday break. 
News

Compromised PyTorch-nightly dependency chain between December 25th and December 30th, 2022.
PyTorch-nightly Linux packages installed via pip during that time installed a dependency, torchtriton, which was compromised on the Python Package Index (PyPI) code repository and ran a malicious binary. This is what is known as a supply chain attack and directly affects dependencies for packages that are hosted on public package indices.

Python 2 removed from Debian 

urllib3 raised $26,000 and shipped v2.0 in 2022


Articles, Tutorials and Talks

Polars: The Next Big Python Data Science Library... written in Rust? 
This video explains everything you need to get started coding with polars. Polars is a multi-threaded DataFrame library, meaning that it allows using all the cores of a computer at the same time to achieve its full processing potential. It's been shown to have huge performance gains over pandas.

Perf engineering with Python 3.12
3.12 brings perf profiling! In this article we take a look at how the new perf profiling support helps reduce our dummy Python script from 36 seconds to 0.8 seconds. We’ll introduce the Linux tool perf and also FlameGraph.pl, look at some disassembly and go bug hunting. 

Concurrent Programming in Python
Concurrent programming refers to a type of programming focused on executing independent tasks at the same time. Unlike traditional programming where instructions or tasks are executed one after the other, concurrent programming allows multiple tasks to make progress at the same time. It facilitates other types of programming, such as parallel programming where tasks are executed simultaneously on separate CPUs. In this tutorial, you will discover concurrent programming in Python.

Turning Google smart speakers into wiretaps for $100k
The author was recently awarded a total of $107,500 by Google for responsibly disclosing security issues in the Google Home smart speaker that allowed an attacker within wireless proximity to install a “backdoor” account on the device, enabling them to send commands to it remotely over the Internet, access its microphone feed, and make arbitrary HTTP requests within the victim’s LAN (which could potentially expose the Wi-Fi password or provide the attacker direct access to the victim’s other devices). This post goes in to the details of these security issues.

Lazy Evaluation Using Recursive Python Generators
We all are familiar with Python's generators and all their benefits. But, what if I told you that we can make them even better by combining them with recursion? So, let's see how we can use them to implement "lazy recursion" and supercharge what we already do with generators in Python!

JupySQL: Better SQL in Jupyter
We forked ipython-sql and are actively developing it to bring a modern SQL experience to Jupyter! We’ve already built some great features, such as SQL query composition and plotting for large-scale datasets!

Structured Logging with Structlog
An introduction to structured logging and its advantages using the structlog package for Python.

Monte Carlo Simulations
Check out this guide for using a Monte Carlo simulation to identify the size and confidence percentage of your sampled success metric.

Calculating the odds of Pai Gow Poker 
A post about calculating the odds of the casino game, Pai Gow Poker by running millions of simulations.

Classifying Python virtual environment workflows

Deploying Django apps with Github Actions and Django Up

Why I'm still using Python


Interesting Projects, Tools and Libraries

nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.

starfyre
A Python Framework for writing Reactive Front-End Applications.

quokka
Open source SQL engine in Python.

Cerberus
A Python tool to unstrip Rust binaries on Linux.

PaLM-rlhf-pytorch
Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM

python-sortedcontainers
An Apache2 licensed sorted collections library, written in pure-Python, and fast as C-extensions.

django-cbv-inspect
A tool to help inspect Django class-based views.

ManimML
ManimML is a project focused on providing animations and visualizations of common machine learning concepts with the Manim Community Library.

cramming
Cramming the training of a (BERT-type) language model into limited compute.


New Releases

Plone 6
The Python CMS Plone has a new version 6.0 after 3.5 years of work. It offers modern user experience built on a rock solid foundation.

Django bugfix release: 4.1.5

PyPy v7.3.11 release


Upcoming Events and Webinars

Virtual: PyMNtos Python Presentation Night #110
There will be following talks
  • Intro to Python in Google Cloud Functions
  • Intro to OpenTelemetry with Python and Flask

PyData Bristol Meetup January 2023
There will be following talks
  • Applying Unsupervised Learning in Plasma Physics
  • Using Numba Effectively Today
  • NBFire Jupyter notebooks

Virtual: Cleveland Python Meetup January 2023

PyData London Meetup January 2023
 
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 581

Thursday, December 22, 2022

View this email in your browser Python Weekly Welcome to issue 581 of Python Weekly. This is the final issue of 2022. We will be back on January 5th, 2023 after the holiday break. Wish you all a Happy

Python Weekly - Issue 580

Friday, December 16, 2022

View this email in your browser Python Weekly Welcome to issue 580 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Finding JIT Optimizer Bugs using SMT

Python Weekly - Issue 579

Thursday, December 8, 2022

View this email in your browser Python Weekly Welcome to issue 579 of Python Weekly. Let's get straight to the links this week. News PyCon US 2023 Registration Launch! The news you've been

Python Weekly - Issue 578

Thursday, December 1, 2022

View this email in your browser Python Weekly Welcome to issue 578 of Python Weekly. Let's get straight to the links this week. From Our Sponsor The past, present, and future of notebooks Data

Python Weekly - Issue 577

Thursday, November 24, 2022

View this email in your browser Python Weekly Welcome to issue 577 of Python Weekly. Let's get straight to the links this week. News Infosys leaked FullAdminAccess AWS keys on PyPi for over a year

You Might Also Like

Daily Coding Problem: Problem #1395 [Hard]

Thursday, March 28, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Implement an LRU (Least Recently Used) cache. It should be able to be

72 x $99 tickets left for virtual product conference (May 2)

Thursday, March 28, 2024

​ACT FAST!​ ONLY 72 TICKETS AVAILABLE AT THE DISCOUNTED RATE OF $99! MAY 2, 2024 | ONLINE ACROSS THE WORLD Join product people from around the world on Thursday, May 2, for INDUSTRY, the #1 Virtual

⚙️ "I'm a GPT builder" 😎

Thursday, March 28, 2024

Plus: Elon's Grok will be available to all ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🔒 The Vault Newsletter: March issue 🔑

Thursday, March 28, 2024

Get the latest business security news, updates, and advice from 1Password. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

📑 Discover The Power of AI With UPDF — 63% Off For a Limited Time

Thursday, March 28, 2024

Digitally Read/Sign/Edit/Summarize PDFs Seamlessly. Available Now at a Huge Discount! How-To Geek Logo March 28, 2024 Tired of Dealing With PDFs? Try AI-Powered UPDF With the Biggest Discount of the

Issue 310 - New Autopark looks awesome!

Thursday, March 28, 2024

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 310 - New

Programmer Weekly - Issue 199

Thursday, March 28, 2024

View this email in your browser Programmer Weekly Welcome to issue 199 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Optimization hinders evolution.

wpmail.me issue#660

Thursday, March 28, 2024

wpMail.me wpmail.me issue#660 - The weekly WordPress newsletter. No spam, no nonsense. - March 27, 2024 Is this email not displaying correctly? View it in your browser. News & Articles What's

New attack targets Apple devices

Thursday, March 28, 2024

Eufy's new Mach S1 Pro; Using VR in a car; April solar eclipse FAQ -- ZDNET ZDNET Tech Today - US March 28, 2024 placeholder New password reset attack targets Apple device users - what to do if it

Web Tools #558 - ImageKit Review, JS Libraries, Git/CLI Tools, Jamstack

Thursday, March 28, 2024

WEB VERSION Issue #558 • March 28, 2024 The following is a paid product review for ImageKit's Video API, a developer-friendly toolkit for real-time video optimizations and transformations, to help