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

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