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

📧 Working with LLMs in .NET using Microsoft.Extensions.AI

Saturday, January 11, 2025

​ Working with LLMs in .NET using Microsoft․Extensions․AI Read on: m​y website / Read time: 6 minutes The .NET Weekly is brought to you by: ​Transform your database performance with RavenDB​:

iOS Dev Weekly – Issue 694

Friday, January 10, 2025

Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1664 [Easy]

Friday, January 10, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. A permutation can be specified by an array P , where P[i] represents the

Spyglass Dispatch: The Case for a For-Profit OpenAI

Friday, January 10, 2025

RIP Venu • A More Political and Real Time Threads • An OpenAI Auction • Apple's Tough 2025 The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely topics

⌨️ 10 Mods to Improve Your Mechanical Keyboard — How to Set Up Quick Share on Windows

Friday, January 10, 2025

Also: Why Are Tech Companies Trying to Sell Me Expensive Clocks? How-To Geek Logo January 10, 2025 Did You Know Famed biologist Charles Darwin and US President Abraham Lincoln were born on the same day

Your best friends in design

Friday, January 10, 2025

​ Working With Designers Product manager & UX designer collaboration guide. How members of your product team work together is just as important as the work itself. A fundamental relationship within

Charted | How Canada Would Rank as the 51st State 📊

Friday, January 10, 2025

Donald Trump has floated the idea that Canada should be the 51st state. Here's how it compares statistically. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power AI's

Pinpointing The Actual Problem 🎯

Friday, January 10, 2025

WordPress accidentally diagnoses its own business problem. Here's a version for your browser. Hunting for the end of the long tail • January 10, 2025 Pinpointing The Actual Problem A blog post from

😱Major Azure Outage in EastUS2, 🚀New AI and Azure Developer CLI Courses, azureedge.net DNS retiring

Friday, January 10, 2025

͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏

iOS Cocoa Treats

Friday, January 10, 2025

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Adopting Swift 6 across the app codebase I've been