Python Weekly - Python Weekly - Issue 583

View this email in your browser

Python Weekly

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

PEP 703 – Making the Global Interpreter Lock Optional in CPython
CPython’s global interpreter lock (“GIL”) prevents multiple threads from executing Python code at the same time. The GIL is an obstacle to using multi-core CPUs from Python efficiently. This PEP proposes adding a build configuration (--without-gil) to CPython to let it run Python code without the global interpreter lock and with the necessary changes needed to make the interpreter thread-safe.


Articles, Tutorials and Talks

Python Tutorial: Simulate the Powerball Lottery Using Python 
In this Python Programming video, we will be learning how to simulate the Powerball lottery using Python. I have seen several lottery simulations online, but not many of them go in-depth to calculate all of the possible combinations. Here, we will create a simulation that goes through every win condition and simulates the lottery in the way it is played in a real-life situation. Let's get started.

Compiled and Interpreted Languages: Two Ways of Saying Tomato
In this post I'm going to show, using a series of programming language implementations, why languages shouldn't be classified as compiled or interpreted. Before I do that, I need to start by clarifying the difference between a programming language specification and an implementation of that specification

Taking over a Dead IoT Company
5 years after NYCTrainSign collapsed, I investigated why the company failed and end up writing an exploit to take over their fleet. 

I scanned every package on PyPi and found 57 live AWS keys
This post outlines the way I scanned PyPi, showcases a project I’ve built that automatically scans all new PyPi releases to notify AWS of potentially leaked keys, presents some analysis of the keys I’ve found and draws a few conclusions at the end.

A Year of Writing about Web Scraping in Review
The author shares the favorite things he wrote in a year of professional web scraping blogging at ScrapFly and his key takeaways.

Take the tools out of 'Data', but don't take the data out of the tools
Using dataframes to write smaller, faster programs.

Illustrated Machine Learning
Whether you're just starting out in the field or you're a seasoned professional looking to refresh your knowledge, we hope our illustrations will be a valuable resource on your journey to understanding Machine Learning.

Exploring Tokenizers from Hugging Face
Hugging Face (HF) has made NLP (Natural Language Processing) a breeze. In this post, we are going to take a look at tokenization using a hands on approach with the help of the Tokenizers library. We are going to load a real world dataset containing 10-K filings of public firms and see how to train a tokenizer from scratch based on the BERT tokenization scheme. In the process we will understand tokenization in detail and some gotchas to keep an eye out for.

Prototype Pollution in Python
The main objective of this research is to prove the possibility of having a variation of Prototype Pollution in other programming languages, including those that are class-based by showing Class Pollution in Python.

DeepFace: State-of-the-Art Face Attribute Analysis in Python 
In this tutorial we go over how to use DeepFace. Deepface is a lightweight face recognition and facial attribute analysis (age, gender, emotion and race) framework for Python. 

Atlas: Few-shot learning with retrieval augmented language models
We released the code for our Atlas project on GitHub, as well as pretrained Atlas model checkpoints, an index, and Wikipedia corpora. We present how to build a Q&A system that is trained using 100 examples and that has a small memory footprint thanks to our codebase’s usability features.

Mapping Python to LLVM
This is the first in a series of blog posts that describe how Codon works internally, various design decisions, performance considerations, and so on.

CodeGPT: The VSCode Extension with ChatGPT-Like Functionalities
GPT-3 inside VSCode using the official OpenAI API.

Modern Polars
This is a side-by-side comparison of the Polars and Pandas dataframe libraries, based on Modern Pandas. 


Interesting Projects, Tools and Libraries

FastQL
Spin up a super fast Rust powered GraphQL API to prototype your ML model in one line of Python code.

AIJack
Security and Privacy Risk Simulator for Machine Learning.

PythonMemoryModule
pure-python implementation of MemoryModule technique to load a dll entirely from memory.

pizero_bikecomputer
An open source bike computer based on Raspberry Pi Zero (W, WH, 2W) with GPS and ANT+. Including offline map and navigation.

Yark
YouTube archiving made simple.

attercop
Micro command line LLM query generation tool.

kubernetes-chatgpt-bot
A ChatGPT bot for Kubernetes issues. Ask ChatGPT how to solve your Prometheus alerts, get pithy responses.

fortuna
A Library for Uncertainty Quantification.


New Releases

Python 3.12.0 alpha 4 released


Upcoming Events and Webinars

Virtual: PyLadies Dublin Meetup January 2023 
There will be following talks
  • Update Nested Serializers Fields with Django REST Framework
  • Mitigating Bias in AI

PyLadies London Meetup January 2023 
There will be a talk, From monolith to microservices: What you need to know when making the transfer/switch.

PyData Amsterdam Meetup January 2023 
There will be following talks
  • Supporting Customer Success with NLP
  • How small can I get that Docker container?

PyData Cambridge Meetup January 2023 
There will be following talks
  • What's wrong with my code? Questions to ask about data science code... and a few possible answers
  • Better data engineering with Dagster: Building maintainable, reliable and extensible pipelines
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 584

Friday, January 20, 2023

View this email in your browser Python Weekly Welcome to issue 584 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Skip the hassle of traditional test case methods,

Python Weekly - Issue 582

Thursday, January 5, 2023

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

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

You Might Also Like

Issue #575: Excalibird, bird’s eye metropolis, and Stimulation Clicker

Friday, January 10, 2025

View this email in your browser Issue #575 - January 10th 2025 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

22 CES products you can't miss

Friday, January 10, 2025

10 must-install Linux apps; Cybersecurity in 2025; Email encryption how-to -- ZDNET ZDNET Tech Today - US January 10, 2025 CES logo 2025 CES 2025: The 22 most impressive products you don't want to

⚙️ The wild, wild west

Friday, January 10, 2025

AI's uncertain legislative path ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

ASP.NET Core News - 01/10/2025

Friday, January 10, 2025

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! Discover the Exciting New Features in .NET Aspire 9 — by rijsat Building a Real-Time Santa's Workshop

ALERT: Ivanti Flaw CVE-2025-0282 Actively Exploited, Impacts Connect Secure and Policy Secure

Friday, January 10, 2025

THN Daily Updates Newsletter cover Deep Learning For Dummies ($21.00 Value) FREE for a Limited Time Take a deep dive into deep learning Download Now Sponsored LATEST NEWS Jan 10, 2025 Taking the Pain

The Sequence Research #466: Small but Migthy, Diving Into Microsoft Phi-4

Friday, January 10, 2025

Some architecture details about Microsoft's famous SLM. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Notes app can do what now?

Friday, January 10, 2025

Hey there, Do you ever use the Notes app on your iPhone? If you do, you'll want to keep reading! The Notes app might look simple, but it has lots of great features to make your life easier. For

The Commodification of Pleasure

Friday, January 10, 2025

…and the enclosure of creative talent ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Invitation to the Event Sourcing workshop

Friday, January 10, 2025

Hey! I'm usually not making New Year commitments. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

SWLW #633: AI and cognitive offloading, The story in your head, and more.

Friday, January 10, 2025

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found