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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 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? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your