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

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon

iOS Cocoa Treats

Friday, November 22, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Using the SwiftUI ImageRenderer The SwiftUI ImageRenderer

iOS Dev Weekly - Issue 688

Friday, November 22, 2024

How do you get an app featured on the App Store? There's a new process, and it's great! 📝 View on the Web Archives ISSUE 688 November 22nd 2024 Comment Every developer, from solo indie devs to