Issue #541

Writing Code Completers, String Methods, Dragon Fractals, and More

Sept. 6, 2022

Writing Code Completers, String Methods, Dragon Fractals, and More
#541 – SEPTEMBER 6, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Creating a Python Code Completer & More AST Projects
How does a code completion tool work? What is an Abstract Syntax Tree, and how is it created in Python? How does an AST help you write programs and projects that inspect and modify your Python code? This week on the show, Meredydd Luff, co-founder of Anvil, shares his PyCon talk, “Building a Python Code Completer.”
REAL PYTHON podcast

Python String Methods to Know
Python’s strings have 47 methods. That’s almost as many string methods as there are built-in functions in Python! Which string methods should you learn first?
TREY HUNNER • Shared by Trey Hunner

The Developer Experience you Always Wanted for Postgres
Launch PostgreSQL today with Crunchy Bridge on any cloud: AWS, GCP, Azure, & Heroku. Getting you better performance, support, and developer tools. Fully-managed operations with around the clock support and monitoring for all tiers. Postgres questions? 100% Postgres experts on support
CRUNCHY DATAsponsor

Dragon Curve in Python 🐍
A Dragon Curve is a kind of fractal image. This article introduces you to the math behind the curve and how to draw one using a Python script.
GIULIANO PERTILE • Shared by Giuliano Pertile


Discussions


Do You Still Buy/Read Technical Books?
HACKER NEWS

Suggest a Lesser Known Library Deserving Attention?
WILL MCGUGAN


Python Jobs


Senior Software Engineer Backend
MUCK RACK 📍 USA

Senior Backend Engineer
DOIST 📍 ANYWHERE

Django Developer
ABNORMAL SECURITY 📍 USA

Python Developer
SIGMA ASSESSMENT SYSTEMS, INC. 📍 ANYWHERE

Senior Software Engineer, Python (Backend)
ASSEMBLYAI 📍 ANYWHERE

Software Development Lead
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Software Engineer - Backend/Python
CLOSE 📍 ANYWHERE

Software Engineer
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES OR DALLAS, USA

Backend Software Engineer
CATALPA 📍 ANYWHERE

Enterprise GIS Data Engineer
CITY OF SAN JOSE 📍 SAN JOSE, CA, USA

More Python Jobs >>>


Articles & Tutorials


Gevent for the Working Python Developer
This step-by-step tutorial runs you through the use of gevent, a Python concurrency library. It covers synchronous and asynchronous execution, determinism, timeouts, monkey-patching, and much more. It has also been translated into Italian and Japanese.
GEVENT COMMUNITY

Python Package Manager Shootout
A performance based shootout for pdm, pip-tools, pipenv, and poetry. It compares installation, lock file processing, and the time to add and update packages. Speed isn’t everything for tool choice, but knowing the difference may help you choose.
PETER BAUMGARTNER

Scout APM: Find and Fix Performance Issues with Ease
Scout’s APM tool pinpoints and prioritizes performance and stability issues in Python applications. With Scout’s tracing logic, developers can detect the exact line of code causing the performance abnormality, and with detailed backtraces, you can fix the issue before customers ever notice →
SCOUT APMsponsor

Why Your Website Should Be Under 14kB in Size
Everyone knows that smaller sites load faster, but did you know specific limits can make a big difference? Due to how TCP works and packets are grouped, a 14kB page can load more than half a second faster than a 15kB page. Learn why.
NATHANIEL

How Can You Install a Pre-Release Version of Python?
If you want to have a peek at what’s coming in the next stable version of Python, then you can install a pre-release version. In this tutorial, you’ll learn how to access the latest Python versions and help test them.
REAL PYTHON

Some Ways to Get Better at Debugging
A short summary of a couple of academic papers on how to improve your debugging skills, broken down into: learn the codebase, learn the system, learn your tools, learn strategies, and gain experience.
JULIA EVANS

The Five Worst Things About Jupyter Notebooks
Daniel talks about how, despite once loving Jupyter, things keep getting in his way. Read about the downsides of notebooks and why one data scientist is moving to other tools.
DANIEL

Deepnote: Data Science Notebook for Collaboration
Real-time collaboration: Work together with your friends, teammates, and colleagues. Fully managed: Deepnote runs in your browser, so you start coding in seconds on any device. Works with your stack: Tap into dozens of native data integrations.
DEEPNOTEsponsor

Topic Detection in Podcast Episodes With Python
This tutorial shows you how to transcribe a podcast using a speech-to-text Python SDK and derive a list of topics from it to quickly discover topics and meaning in text data.
TONYA SIMS • Shared by Tonya Sims

Please Do Not Use Python for Tooling
This opinion piece talks about how dependency management and the lack of an executable make Python a problematic choice for writing tools.
BJØRN BORUD


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 →

ruff: An Extremely Fast Python Linter, Written in Rust
GITHUB.COM/CHARLIERMARSH

django-airplane: Cache CDN Files for Coding Offline
GITHUB.COM/CLTRUDEAU

qt-async-threads: Spawn Threads Using Await in Qt
GITHUB.COM/NICODDEMUS • Shared by Bruno Oliveira

python-codext: Encode/Decode Anything
GITHUB.COM/DHONDTA

Regressio: Regression, Interpolation, and Smoothing Library
GITHUB.COM/BRENDANARTLEY

📆🐍 Upcoming Python Events


STL Python
September 7, 2022

NZPUG-Auckland: Crafting Software
September 7, 2022

Weekly Real Python Office Hours Q&A (Virtual)
September 7, 2022

PyCon SK 2022
September 9 to September 12, 2022

PyBay 2022 Conference
September 10, 2022 in San Francisco (Use code realpython25 for 25% off)
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.