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

Software Testing Weekly - Issue 218

Friday, May 3, 2024

Unit, Integration and End-to-End Tests 🔧 View on the Web Archives ISSUE 218 May 4th 2024 COMMENT Welcome to the 218th issue! I loved going through this discussion among software engineers: What is your

gpt2-chatbot and OpenAI search engine - Weekly News Roundup - Issue #465

Friday, May 3, 2024

Plus: Med-Gemini; Vidu - Chinese answer to OpenAI's Sora; the first race of Abu Dhabi Autonomous Racing League; deepfaking celebrities to teach math and physics; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

NASA comes to the rescue of crowded rocket launch sites

Friday, May 3, 2024

Plus: Fisker's legal woes and Sprinklr lays off 100 View this email online in your browser By Christine Hall Friday, May 3, 2024 Good afternoon, and welcome to TechCrunch PM. We made it to Friday,

🎮 Forget the PS5 Pro, I Still Love My PS4 — The Best Lock Screen Widgets for iPhone

Friday, May 3, 2024

Also: Smart Home Mistakes to Avoid, and More! How-To Geek Logo May 3, 2024 Did You Know Half of the world's geysers are located in Yellowstone National Park. 🔑 More Passkeys Happy Friday! You can

JSK Daily for May 3, 2024

Friday, May 3, 2024

JSK Daily for May 3, 2024 View this email in your browser A community curated daily e-mail of JavaScript news The Power of React's Virtual DOM: A Comprehensive Explanation Modern JavaScript

Musk raises $6B for AI startup

Friday, May 3, 2024

Also, is TikTok dodging Apple's commissions? View this email online in your browser By Haje Jan Kamps Friday, May 3, 2024 Welcome to Startups Weekly — Haje's weekly recap of everything you can

SWLW #597: Seek first to understand, The "Iterative Adjacent Possible", and more.

Friday, May 3, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

iOS Dev Weekly - Issue 659

Friday, May 3, 2024

Is Swift 6 hitting one of the REAL hard problems? Not generics, not data race safety, but naming things! 😬 View on the Web Archives ISSUE 659 May 3rd 2024 Comment Naming things is one of the two hard

Daily Coding Problem: Problem #1430 [Easy]

Friday, May 3, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. You have a large array with most of the elements as zero. Use a more space-

Making sense of product management

Friday, May 3, 2024

​ Getting a sense of product sense Whenever I hear the term product sense, I think back to a Seinfeld episode about write-offs (with a little artistic license). Jerry: “You don't even know what