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

AI search engine startup Perplexity eyes a $3B valuation

Tuesday, April 23, 2024

Plus: It's Tesla earnings day and AWS wants to host your AI models View this email online in your browser By Cody Corrall Tuesday, April 23, 2024 Welcome back to TechCrunch PM. Today we have big

🎞️ We Tried 3D Printing a Photo — You'll Love This Secret Samsung Galaxy Bluetooth Feature

Tuesday, April 23, 2024

Also: Transferring Your Phone Number to a New Carrier, and More! How-To Geek Logo April 23, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

You're invited – product sense, prioritization, careers

Tuesday, April 23, 2024

Product Sense Product Sense Wednesday, May 1st @ 01:00 PM EST Learn how to identify opportunities, assess risks, and make informed decisions that lead to successful product innovations by better

CTRL-C, Exceptions, Ruff Speed-up, and More

Tuesday, April 23, 2024

Asyncio Handle Control-C (SIGINT) #626 – APRIL 23, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio Handle Control-C (SIGINT) When the user presses CTRL-C on the keyboard, the OS raises an

Writing Contests Just Landed On Product Hunt 🔥

Tuesday, April 23, 2024

Upvote us to keep the $$$ coming! 👍 ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ 

Daily Coding Problem: Problem #1421 [Hard]

Tuesday, April 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i

Ranked | The Top 10 EV Battery Manufacturers 🔋

Tuesday, April 23, 2024

Asia dominates this ranking of the world's largest EV battery manufacturers in 2023. See which battery makers feature in the top 10. View Online | Subscribe Presented by: EnergyX's

Bringing PGO to the build pipeline

Tuesday, April 23, 2024

Plus how Go grew at Google, cmp.Or, and ways to visualize makefiles, Go binaries, and live Go processes. | #​504 — April 23, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly How Dolt

Noonification: Leetcode: Two-sum an Intuitive Approach

Tuesday, April 23, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech this week: The Noonification by HackerNoon has got you covered with

The best AI chatbot for coding

Tuesday, April 23, 2024

9 video gadget must-haves; 6 things Linux should borrow from MacOS -- ZDNET ZDNET Tech Today - US April 23, 2024 placeholder Can Meta AI code? I tested it against Llama, Gemini and ChatGPT - it wasn