Python Weekly - Python Weekly - Issue 558

View this email in your browser

Python Weekly

Welcome to issue 558 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
Deepnote is a data notebook for collaboration: Explore data from the comfort of your browser and without the heavy setup. Connect to your stack via dozens of built-in integrations. Work together with real-time collaboration, commenting, and version control. Share your work by simply sending a link.


News

PyPI to Enable 2FA on Critical Python Project Accounts
Observing the recent hijacking of several python projects, the Python Package Index (PyPI) is mandating two-factor authentication for the accounts of critical projects.

Python 3.11 may be delayed 


Articles, Tutorials and Talks

Using GPT-3 to explain how code works
One of my favourite uses for the GPT-3 AI language model is generating explanations of how code works. It’s shockingly effective at this: its training set clearly include a vast amount of source code.

How To Use Docker To Make Local Development A Breeze 
Docker is a very powerful tool for developing applications that run in the cloud. If you want to get the most out of it, you need to make sure that the way you're running your code locally matches as closely as possible with how it runs in the cloud. This video shows you how to do this, using a simple API server in Python as an example. 

I analyzed 1835 hospital price lists so you didn't have to
The current law requires that hospitals code their procedures with a generic code. This way you can compare prices between hospitals. Of the 33% (or so) of hospitals that publish their chargemasters, and are in principle in compliance with the law, many of these hospitals only publish partial information, making price shopping a lot like mattress shopping. Our goal is to clean this real-world dataset and see if we can figure out how many rows can contain a code. Then we'll see how many hospitals are following the law.

Evaluating Mechanical Keyboard Delivery Estimates with Python Web Scraping
Evaluating the accuracy of Novelkeys.com's delivery estimates using beautifulsoup and matplotlib.

Extract Text from Images with Python 
In this video we learn how to extract text from images using python. We compare three popular libraries: pytesseract, easyocr, and keras_ocr. Examples are run in a kaggle notebook on the TextOCR dataset.

Write Clean Python Code. Always. 
Sonar static analysis helps you build and maintain high-quality Python code. With over 215 dedicated rules, we find your coding issues while you focus on the work. Explore our free solutions. SPONSOR

Parallel Processing Large File in Python
Learn various techniques to reduce data processing time by using multiprocessing, joblib, and tqdm concurrent.

Exploring the Decision Tree Algorithm in Python 
Learn how to implement the Decision Tree Classifier machine learning algorithm in Python - all from scratch. From in-depth explanations to detailed code descriptions, this video is the perfect tutorial for anyone looking to experiment and grow more familiar with the Decision Tree.

Supporting GPU-accelerated Machine Learning with Kubernetes and Nix
It ain’t what you don’t know that gets you into trouble — well, sometimes it is.

Dunder methods
This is an introduction to dunder methods in Python, to help you understand what they are and what they are for.

Pip constraints files
Sometimes, it is difficult to determine what the original dependencies of a Python application are, a constraints file is a way to solve this problem

Why DRY is the most over-rated programming principle 

Organize Python code like a PRO 

How To Build a Raspberry Pi Pico W Web App With Anvil


Interesting Projects, Tools and Libraries

packj
Packj (pronounced package) is a command line (CLI) tool to vet open-source software packages for "risky" attributes that make them vulnerable to supply chain attacks. 

i8-terminal
Modern Market Research with the Power of Command-Line.

design-by-contract
A minimalistic decorator for the design by contract pattern written in a just little more than 100 lines of modern Python 3.10 code (not counting documentation and logging).

minGPT
A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training.

secimport
Sandboxing python modules without changing your code.

PyCircTools
Python library containing different modules to build circuits.

kloop
kLoop is an implementation of the Python asyncio event loop written in Cython, using io_uring and kTLS features of the Linux kernel, therefore called k(ernel)Loop.


New Releases

Python in Visual Studio Code – July 2022 Release
This release includes inlay type hints with Pylance and improvements to the setup experience with Jupyter notebooks. If you’re interested, you can check the full list of improvements in our changelogs for the Python, Jupyter and Pylance extensions.

Python 3.11.0b4


Upcoming Events and Webinars

Virtual: PyLadies Dublin Meetup July 2022
There will be following talks
  • How encourage teenage girl to programming 
  • How to start career in python 
  • Supply Chain Security in OSS 

Pyninsula #30 - Palo Alto, CA
There will be following talks
  • Stop guessing, GET requesting
  • Jupyter for DevOps
  • Boost Code Quality with Pre-Commit Hooks 

PyDataMCR Meetup July 2022 - Manchester
There will be a talk, Race Against the Machine.

PyData Berlin July 2022 - Berlin, BE
There will be following talks
  • Large Language Models for Real-World Applications
  • Privacy in Machine Learning and Federated Learning
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 557

Thursday, July 7, 2022

View this email in your browser Python Weekly Welcome to issue 557 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Utilizing Python's built-in pickle library can

Python Weekly - Issue 556

Thursday, June 30, 2022

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

Thursday, June 23, 2022

View this email in your browser Python Weekly Welcome to issue 555 of Python Weekly. I, Rahul Chaudhary, am a nominee for the PSF's 2022 Board of Directors Election. If you're a voting member

Python Weekly - Issue 554

Friday, June 17, 2022

View this email in your browser Python Weekly Welcome to issue 554 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Memory Management in Python - Part 2:

Python Weekly - Issue 553

Thursday, June 9, 2022

View this email in your browser Python Weekly Welcome to issue 553 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is now out of beta and generally available

Webinar #4 - From CQRS to CRUD in Practice

Tuesday, September 27, 2022

Watch now (98 min) | Technical patterns are filled with myths and mishaps. Most of the material shows a skewed perspective about CQRS. They suggest that you need multiple databases and messaging

[Python Dependency Pitfalls] How to set the world on fire

Tuesday, September 27, 2022

Hey there, #1 on my list of dependency management pitfalls is there for a good reason: It lead to a single developer causing mayhem and breaking thousands of open-source projects around the world in

DeveloPassion's Newsletter - Procrastination

Tuesday, September 27, 2022

Hello everyone! I'm Sébastien Dubois, your host. You're receiving this email because you signed up fo DeveloPassion's Newsletter - Procrastination By Sébastien Dubois • Issue #86 • View

Someday aliens will land and all will be fine until we explain our calendar — and Mcmaster.com is the best e-commerce site I've ever used

Monday, September 26, 2022

Issue #902 — Top 20 stories of September 27, 2022 Issue #902 — September 27, 2022 You receive this email because you are subscribed to Hacker News Digest. You can open it in the browser if you prefer.

Cloudflare rolls out new mobile services to secure employees' smartphones

Monday, September 26, 2022

TechCrunch Newsletter TechCrunch logo The Daily Crunch logo By Christine Hall and Haje Jan Kamps Monday, September 26, 2022 Good morning, you crunchistas. We hope you've had a chill weekend. Or if

Asteroids, spaceships and dinosaurs: Everything you need to know about NASA's DART mission

Monday, September 26, 2022

What is Starlink? Everything you need to know about Elon Musk's satellite internet service... ZDNET ZDNET Insights September 26, 2022 editor's note placeholder Asteroids, spaceships and

JSK Daily for Sep 26, 2022

Monday, September 26, 2022

JSK Daily for Sep 26, 2022 View this email in your browser A community curated daily e-mail of JavaScript news Improve React Custom Hook Debugging with useDebugValue As developers, we often need to

Max Q - Icy

Monday, September 26, 2022

TechCrunch Newsletter TechCrunch logo Max Q logo By Aria Alamalhodaei Monday, September 26, 2022 Hello and welcome back to Max Q. This past week, thousands of people traveled to Paris for the

Next week, take control of your 2D CAD experience

Monday, September 26, 2022

Let's talk CAD interoperability View this email in your browser engineering.com Take Control of Your 2D CAD Experience with Lynn Allen Live Webinar - Take Control of Your 2D CAD Experience with

Interactive | How Americans Spend Their Money, By Generation 💸

Monday, September 26, 2022

This interactive graphic shows a breakdown of how average Americans spend their money, and how expenses vary across generations. View Online | Subscribe Presented by: Introducing the NPUC Annual