Python Weekly - Python Weekly - Issue 552

View this email in your browser

Python Weekly

Welcome to issue 552 of Python Weekly. Let's get straight to the links this week.
News

AWS contributes novel causal machine learning algorithms to DoWhy Python library
New features go beyond conventional effect estimation by attributing events to individual components of complex systems.

Typosquatting Attack on ‘requests’
A combined attack of typosquatting and StarJacking on the popular python package requests.


Articles, Tutorials and Talks

Compiling Black with mypyc, Pt. 1 - Initial Steps
I spent a COVID summer (and then some) integrating mypyc into Black to double performance. How was it?
  • Pt. 2 - Optimization - Compiling Black without errors or warnings was the easy bit, now I had to optimize it for mypyc.
  • Pt. 3 - Deployment - mypyc can compile Black and provide respectable performance gains, let's deploy it in production!

Debugging Tips And Techniques
With this article, we will investigate problem solving techniques for Django apps. The goal is to equip you with tools to fix the real problems that you’ll hit when building your Django site.

Crash course in Web3 Application Development with Python
Learn how to send your first transaction on the Ethereum blockchain using Python and the Web3 package

Python Asynchronous Programming Fundamentals
Python introduced asynchronous programming capabilities in version 3.4 in 2014, with further notable improvements in almost every minor version since. However, to many Python programmers, this area of the language remains esoteric, misunderstood, and underutilized. This article aims to elucidate the fundamental concepts of asynchronous programming as part of the first step towards mastery.

Peeking and backtracking Python generators
Python generators are mighty, but they lack a couple of useful features. One of them is peeking at the next item without consuming the generator. Even better, what if we could peek any number of items? Another feature lacking from generators is rewinding/backtracking. We will implement both of those features in a couple of different ways.

8 surprising ways how to use Jupyter Notebook
The Jupyter Notebook is a great tool for experimentation with code. It provides the REPL (read-eval-print loop) with a visual interface for plots, tables and many more. You can mix Markdown and a selected programming language (usually Python). It is a default choice of development and experimentation environment for data scientists and machine learning practitioners. Have you heard about other ways to use the Jupyter Notebook? Let’s explore 8 alternative ways of using the Jupyter Notebook that might surprise you!

A Brief Look at Cpython String
In this article, we will take a brief look at how Python strings are implemented, why they consume so much memory and we will examine certain interesting aspects of Python string.

Deploying 5G Around Trees
In this post, I'll walk through how we enriched and integrated ETH's global canopy dataset into our decision-making process for rolling out 5G across California.

Convolutional Neural Networks 
Convolutional Neural Networks can be used to train computers to recognize objects in images. This allows us to recognize objects or people in images or video. It is helps automate the process of finding cancerous tumors. It is also used to implement driverless car technology and more.

Stop Messing with Kubernetes Finalizers
Here’s why you should never force-delete Kubernetes resources or remove their finalizers.

Django: How to send email without Celery
Lightweight emails without Celery. And without a request-response cycle.

Set Up a Raspberry Pi Server - Host your Python Programs Onsite 
In this tutorial we’ll walk through how you can set up your Raspberry Pi as your own home server. We’ll go through what you need to get started, and how to set up the computer and operating system. We’ll go through this process “headless” so you won’t need a spare keyboard / monitor to set up the Raspberry Pi. We’ll be able to SSH directly into it from your main computer.

Tutorial on how to set up Celery workers with Flask and Redis
Celery worker is a simple, flexible, and reliable distributed system to process vast amounts of messages while providing operations with the tools required to maintain such a system. In this tutorial, we will learn how to implement Celery with Flask and Redis.

Debugging a mysterious Python crash

An introduction to accessing financial data in EDGAR, using Python 


Interesting Projects, Tools and Libraries

imagen-pytorch
Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch.

BrainIDE
Brainf**k IDE using python, bundled with it's own compiler.

pip-compile-cross-platform
Pin your Python dependencies as you would with pip-compile, except in a cross-platform way.

griffe
Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.

simple-homepage
simple-homepage is a command line utility that helps you create a simple static homepage for your browser

stitching
A Python package for fast and robust Image Stitching.

CustomTkinter
A modern and customizable python UI-library based on Tkinter.

ActionPoser 
ActionPoser is a rigging addon for Blender Currently the main feature is creation of action constraint driven rigging.


New Releases

Expedited release of Python3.11.0b3
Due to a known incompatibility with pytest and the previous beta release (Python 3.11.0b2) and after some deliberation, Python release team have decided to do an expedited release of Python 3.11.0b3 so the community can continue testing their packages with pytest and therefore testing the betas as expected.

Django bugfix release: 4.0.5


Upcoming Events and Webinars

Virtual: PyMNtos Python Presentation Night #104
There will be a talk, Python Development with Visual Studio 2022.

Virtual: PyRVA Meetup June 2022
In this beginner-friendly talk, you'll learn about Synthetic Data, the problems it solves, and how to get started generating as much relevant data as you want.

PyData Paris - June 2022 Meetup
There will be following talks
  • Build beautiful, publication-quality books and documents from computational material with Jupyter Book and MyST
  • Introduction to Hugging Face Ecosystem
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 551

Thursday, May 26, 2022

View this email in your browser Python Weekly Welcome to issue 551 of Python Weekly. Let's get straight to the links this week. News Popular Python and PHP libraries hijacked to steal AWS keys PyPI

Python Weekly - Issue 550

Thursday, May 19, 2022

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

Python Weekly - Issue 549

Thursday, May 12, 2022

View this email in your browser Python Weekly Welcome to issue 549 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks A Simple & Effective Way To Improve

Python Weekly - Issue 548

Thursday, May 5, 2022

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

Thursday, April 28, 2022

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

You Might Also Like

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ 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