Python Weekly - Python Weekly - Issue 567

View this email in your browser

Python Weekly

Welcome to issue 567 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
  Ever wonder how your information stays secure? Dig into the protocols Websocket uses — TLS, CORS, rate limiting, and more! Learn how to secure your communications and avoid security incidents firsthand by building a Websocket server of your own in Python.


News

Meta Moves PyTorch to Linux Foundation
The PyTorch Foundation will help maintain open collaboration and standardize resources for AI research. Meta will continue to invest in PyTorch and use it as our primary framework for AI research and production applications at the company.


Articles, Tutorials and Talks

Python Type Hints are Turing Complete
Grigore showed that Java generics are Turing complete by describing a reduction from Turing machines to Java subtyping. We apply Grigore’s algorithm to Python type hints and deduce that they are Turing complete. In addition, we present an alternative reduction in which the Turing machines are simulated in real time, resulting in significantly lower compilation times. Our work is accompanied by a Python implementation of both reductions that compiles Turing machines into Python subtyping machines.

A Theoretically Devastating Cyber Attack on America’s Gas Stations
Could an attacker with few lines of Python code shutting down over 7,000 fueling stations in the United States leave the nation crippled? 

What does "if __name__ == '__main__' " do in Python? 
One of the most common, and most misunderstood, lines in Python involves a variable _name_ and a string '__main__', and typically appears at the end of a module file. What does this line do? Is it required? How does it work?

Memory Management in Python
Understanding memory management is a superpower that will help you design memory-efficient applications and make it easier to debug memory issues. This post is a deep dive into the internals of CPython.

Building open source downscaling pipelines for the cloud
We describe our experiences building cloud-based data analysis pipelines for climate model downscaling, including specific challenges we faced and lessons we learned.

F-strings In Python: Everything You Need To Know 
Python's F-strings are incredibly powerful. Knowing how to use them and taking advantage of their formatting options can significantly improve your ability to write logging messages and display information in an understandable manner. In this video, I'll take a deep dive into F-strings and demonstrate some of their uses. 

Python Data Viz Cookbook
An interactive cookbook to create graphs with Python.

Create an auto-updating dataset on Kaggle with Deepnote
In this tutorial, we will set up our Deepnote environment to work with Kaggle, pull and clean some data from the internet, and then schedule the data to auto-update using Deepnote and the Kaggle library.

Finding a picture in an image without marking it up?
We often see pictures in images: comics, for example, combine several pictures into one. And if you have an entertainment app where people post memes, like in our iFunny, you’re going to run into that all the time. Neural networks are already capable of finding animals, people, or other objects, but what if we need to find but another image in the image? Let’s take a closer look at our algorithm so that you can test it with a notebook in Google Colaboratory and even implement it in your project.

Machine Learning From Scratch Full course 
To master machine learning models, one of the best things you can do is to implement them yourself. Although it might seem like a difficult task, for most algorithms, it is actually easier than you think. So throughout the next 10 days, we will implement one machine learning algorithm each day using Python and sometimes the help of Numpy for certain calculations.

Evolution of Access Control Explained Using Python
This article presents three access control methods beginning with Access Control List (ACL) - the mechanism implemented by Multics - then explore Role Based Access (RBAC) followed by Attribute Based Access (ABAC).

Scaling Robinhood Crypto Systems
In this post, we dive into how we scaled our crypto systems, starting from the need to support hypergrowth in traffic, followed by an extended effort to align on our long-term crypto strategy.

Cheating at chess with a computer for my shoes

A Complete Guide to Python String Manipulation

Recipes from Python SQLite docs

Fine-tune GPT-3 Using Python to Create a Virtual Mental Health Assistant


Interesting Projects, Tools and Libraries

HiFiScan
Optimize the audio quality of loudspeakers.

deptry
A command line utility to check for obsolete, missing and transitive dependencies in a Python project.

ancv
Renders your (JSON) resume/CV for online & pretty terminal display.

Chard
A simple async/await task queue for Django. One process, no threads, no other dependencies.

Revup
Revolutionary commit-based code review and workflow tools for git/github.

s3sqlite
Query SQLite files in S3 using s3fs.

Odyssey
A piece of software that shows a traceroute of a URL redirect path.


New Releases

Python 3.11.0rc2


Upcoming Events and Webinars

Python Barcelona Meetup September 2022 
There will be following talks
  • Crunching data to catch fraud
  • QR Codes: let us make some GIFs

Virtual: Tucson Python Meetup September 2022
There will be a talk, Intro to Pima County GIS and Geopandas.

PyData Tel Aviv Meetup September 2022 
There will be following talks
  • DBSCAN for large-scale datasets and network security applications
  • MLOps for growing startups: why, when, and how
  • Tiny dataset–based topic modeling
  • From big data to small, high-quality data: fulfilling the promise of data-centric AI

PyData Berlin Meetup September 2022 
There will be following talks
  • Prettymapp - Creating artsy maps with Streamlit & OpenStreetMap data
  • Software Design Pattern for Data Science
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 © 2022 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 566

Thursday, September 8, 2022

View this email in your browser Python Weekly Welcome to issue 566 of Python Weekly. Last week, our 11 years old Twitter account @PythonWeekly all of a sudden got suspended and I really don't

Python Weekly - Issue 565

Thursday, September 1, 2022

View this email in your browser Python Weekly Welcome to issue 565 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is a collaborative data science notebook.

Python Weekly - Issue 564

Thursday, August 25, 2022

View this email in your browser Python Weekly Welcome to issue 564 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 563

Thursday, August 18, 2022

View this email in your browser Python Weekly Welcome to issue 563 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 562

Friday, August 12, 2022

View this email in your browser Python Weekly Welcome to issue 562 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is a data science notebook that's built

You Might Also Like

iOS Dev Weekly – Issue 694

Friday, January 10, 2025

Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1664 [Easy]

Friday, January 10, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. A permutation can be specified by an array P , where P[i] represents the

Spyglass Dispatch: The Case for a For-Profit OpenAI

Friday, January 10, 2025

RIP Venu • A More Political and Real Time Threads • An OpenAI Auction • Apple's Tough 2025 The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely topics

⌨️ 10 Mods to Improve Your Mechanical Keyboard — How to Set Up Quick Share on Windows

Friday, January 10, 2025

Also: Why Are Tech Companies Trying to Sell Me Expensive Clocks? How-To Geek Logo January 10, 2025 Did You Know Famed biologist Charles Darwin and US President Abraham Lincoln were born on the same day

Your best friends in design

Friday, January 10, 2025

​ Working With Designers Product manager & UX designer collaboration guide. How members of your product team work together is just as important as the work itself. A fundamental relationship within

Charted | How Canada Would Rank as the 51st State 📊

Friday, January 10, 2025

Donald Trump has floated the idea that Canada should be the 51st state. Here's how it compares statistically. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power AI's

Pinpointing The Actual Problem 🎯

Friday, January 10, 2025

WordPress accidentally diagnoses its own business problem. Here's a version for your browser. Hunting for the end of the long tail • January 10, 2025 Pinpointing The Actual Problem A blog post from

😱Major Azure Outage in EastUS2, 🚀New AI and Azure Developer CLI Courses, azureedge.net DNS retiring

Friday, January 10, 2025

͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏

iOS Cocoa Treats

Friday, January 10, 2025

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Adopting Swift 6 across the app codebase I've been

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