Issue #573

Self-Healing Code, Pandas 2.0 Performance, Automation, and More

April 18, 2023

Self-Healing Code, Pandas 2.0 Performance, Automation, and More
#573 – APRIL 18, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
“Self-Healing” Programs That Fix Themselves Thanks to AI
Wolverine is a Python tool that responds to script crashes by using ChatGPT to look for solutions. This brief article describes the process and links to a video demo. With the corresponding Slashdot Discussion.
BENJ EDWARDS

Pandas 2.0 vs Pandas 1: Performance Comparison
Pandas 2.0 was recently released with the new pyarrow backend. In the article, we did a quick performance comparison between the new pyarrow backend in 2.0 with the standard in Pandas 1. The results were expected, a big speedup in terms of String processing and null value handling, but slower with numeric processing and aggregations.
SANTIAGO BASULTO • Shared by Santiago Basulto

Build AI-powered Internal Tools 10x Faster with Python & Superblocks
With Superblocks, create AI-powered internal apps connecting libraries like Plotly, Numpy, & more, spin up REST endpoints w/ Workflows, & use Scheduled Jobs to create & deploy Cron Jobs. Join our webinar, “Build AI-powered internal tools 10x faster w/ Python & Superblocks,” 5/3 @1pm. Register today →
SUPERBLOCKSsponsor

Automate Processes and Distribute Tools With RPA and RCC
Are you exploring automation of your repetitive business tasks with Python? How are you going to share your helpful tools with co-workers? This week on the show, Sampo Ahokas from Robocorp is here to discuss robotic process automation (RPA) and distribution of these robots.
REAL PYTHON podcast

PEP 695 “Type Parameter Syntax” Accepted
PYTHON.ORG

EU’s Proposed CRA Consequences for Python Ecosystem
PYTHON SOFTWARE FOUNDATION


Discussions


Pip 23.1 Released: Massive Improvement to Backtracking
REDDIT

What Lesser-Known Computer Accessories Do You Use?
HACKER NEWS


Python Jobs


Software Engineer - Backend/Python (100% Remote)
CLOSE 📍 ANYWHERE

More Python Jobs >>>


Articles & Tutorials


Manipulating ZIP Files With Python
In this video course, you’ll learn how to manipulate ZIP files using Python’s zipfile module from the standard library. Through hands-on examples, you’ll learn how to read, write, compress, and extract files from your ZIP files quickly.
REAL PYTHON course

Executing Python Scripts With a Shebang
In this tutorial, you’ll learn when and how to use the shebang line in your Python scripts to execute them from a Unix-like shell. Along the way, you’ll run custom scripts written in your domain-specific language interpreted by Python.
REAL PYTHON

Build Developer-First Automations with Retool Workflows
Retool Workflows gives you a code-first way to power automations across your entire data stack. Connect to any database or API, customize logic with JavaScript, Python, or natural language with GPT-4, and transform one-off scripts into automated tasks––no extra infra required →
RETOOLsponsor

Top 10 Django Third-Party Packages
Will covers a list of his favorite third-party packages for Django. Includes old favorites like Django REST Framework, and lesser known packages like django-filter and django-environ.
WILL VINCENT

PEP 711: Standard Format for Distributing Python Binaries
This PEP proposes a way of packaging pre-build interpreters “like wheels, but for python interpreters”. The intent is to re-use existing packaging standards as much as possible.
PYTHON.ORG

Descriptive Statistics in JavaScript, Python, SQL, R, and Excel
A series of comparisons on how to do common statistical methods in JavaScript, Python, SQL, R, and Excel. Includes mean, median, standard deviation, rank values, and more.
HORST & BUFFA

BabyAGI User Guide With LangChain
This notebook demonstrates how to implement BabyAGI by Yohei Nakajima. BabyAGI is an AI agent that can generate and pretend to execute tasks based on a given objective.
HARRISON CHASE

Who Runs Engineering Processes?
Who should be in charge of engineering in your organization? The short answer: it depends. The long answer: it really depends. Read on for an even longer answer.
WILL LARSON

Language Popularity by GitHub Pull Requests
Daniel did an analysis on GitHub pull requests and ranked them by language. Together Python and JavaScript make up nearly 40% of all activity on GitHub.
DANIEL LEMIRE

What You Give Up When Moving Into Management
“Moving into a management role may be a rewarding step in your career, but you should know about the things you’re leaving behind.”
KARL HUGHES

Unravelling global
Dive deep into global, how it works, its relationship with builtins and the namespace differences in Python.
BRETT CANNON


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

joblib: Lightweight Pipelining With Python Functions
GITHUB.COM/JOBLIB

Auto-GPT: Experiment to Make GPT-4 Fully Autonomous
GITHUB.COM/TORANTULINO

pyllms: Wrapper for Connecting to Multiple LLMs
GITHUB.COM/KAGISEARCH

aura: Large Scale Python Code Auditing and Static Analysis
GITHUB.COM/SOURCECODE-AI

PyDPainter: Pixel Art Paint Program in Python
GITHUB.COM/MRIALE

📆🐍 Upcoming Python Events


PyCon DE & PyData Berlin 2023
April 17 to April 20, 2023

PyCon US 2023
April 19 to April 28, 2023

NZPUG-Auckland: Python on Fire? Dash to the River
April 19, 2023

Heidelberg Python Meetup
April 19, 2023

Weekly Real Python Office Hours Q&A (Virtual)
April 19, 2023

Chattanooga Python User Group
April 21 to April 22, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.