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.

Key phrases

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

Tesla Autopilot investigation closed

Friday, April 26, 2024

Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.

Microsoft's and Google's bet on AI is paying off - Weekly News Roundup - Issue #464

Friday, April 26, 2024

Plus: AI-controlled F-16 has been dogfighting with humans; Grok-1.5 Vision; BionicBee; Microsoft's AI generates realistic deepfakes from a single photo; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🤓 The Meta Quest Might Be the VR Steam Deck Soon — Games to Play After Finishing Wordle

Friday, April 26, 2024

Also: Why a Cheap Soundbar Is Better Than Nothing, and More! How-To Geek Logo April 26, 2024 Did You Know TMI: Rhinotillexomania is the medical term for obsessive nose picking. 🖥️ Get Those Updates

JSK Daily for Apr 26, 2024

Friday, April 26, 2024

JSK Daily for Apr 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news A Solid primer on Signals with Ryan Carniato (JS Party #320) Ryan Carniato joins Amal

So are we banning TikTok or what?

Friday, April 26, 2024

Also: Can an influencer really tank an $800M company? View this email online in your browser By Haje Jan Kamps Friday, April 26, 2024 Image Credits: Jonathan Raa/NurPhoto / Getty Images Welcome to

[AI Incubator] 300+ people are already in. Enrollment closes tonight at 11:59pm PT.

Friday, April 26, 2024

How to decide if you're ready. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1423 [Medium]

Friday, April 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given an array of nonnegative integers. Let's say you start at the

Data science for Product Managers

Friday, April 26, 2024

Crucial resources to empower you with data that matters. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Inner Thoughts

Friday, April 26, 2024

'The Inner Circle' Comes Around... Inner Thoughts By MG Siegler • 26 Apr 2024 View in browser View in browser If you'll allow me a brief meta blurb this week (not a Meta blurb, plenty of

Digest #135: Kubernetes Hacks, Terraform CI/CD, HashiCorp Acquisition, AWS Data Transfer Monitoring

Friday, April 26, 2024

Explore Advanced Kubernetes Techniques, Dive Into Terraform CI/CD Frameworks, Monitor AWS Data Transfer, and Explore Cloud Security with Gitleaks! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏