Issue #581

Zen of Python, JupyterLab 4.0, Zelda Puzzle, and More

June 13, 2023

Zen of Python, JupyterLab 4.0, Zelda Puzzle, and More
#581 – JUNE 13, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
What’s the Zen of Python?
In this tutorial, you’ll be exploring the Zen of Python, a collection of nineteen guiding principles for writing idiomatic Python. You’ll find out how they originated and whether you should follow them. Along the way, you’ll uncover several inside jokes associated with this humorous poem.
REAL PYTHON

JupyterLab 4.0 Is Here
The Jupyter contributor community have announced JupyterLab 4.0. This blog post shows you some of the new features, including: performance improvements, editor upgrades, better search, and more.
JASON WEILL

Build Internal Tools in Minutes with Retool, Where Visual Programming Meets the Power of Real Code
Our customers use Retool to solve all kinds of business problems 10x faster: Plaid uses Retool to manage integration product support. Amazon uses Retool to handle GDPR requests. You, too, can use it to manage users and orders, analyze data, run DevOps, or build any business-critical application, fast →
RETOOLsponsor

Python and the Legend of Zelda
The Game Boy Color version of Legend of Zelda: Oracle of Ages contains a grid-based puzzle. Gaz writes about creating a brute force program to solve the challenge using Python.
GAZ J

Django 4.2.2 Bugfix Release
DJANGO SOFTWARE FOUNDATION

Python 3.11.4, 3.10.12, 3.9.17, 3.8.17, 3.7.17, and 3.12.0 Beta 2 Released
CPYTHON DEV BLOG

PyCascades 2023 Videos Are Up
YOUTUBE.COM

PyCon US 2023 Videos Are Up
YOUTUBE.COM

Obfuscated Python Competition Submissions Open
PYOBFUSC.COM


Discussions


PEP 703 Optional GIL: Timelines and Problems
PYTHON.ORG


Python Jobs


Software Engineer (Dallas or Los Angeles)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

More Python Jobs >>>


Articles & Tutorials


Proposing a Struct Syntax for Python
Bret has been pondering a new keyword that would tackle some of the limitations of data classes while offering syntax improvement over named tuples. This is still in the “what if” stage, but he is willing to write up a PEP if he thinks it will get traction.
BRETT CANNON

Chat Using Django 4.2’s async Features
Django continues to add features to allow more and more asynchronous programming. This articles shows you how to use Django 4.2’s StreamingHttpResponse, Server-Sent Events, and PostgreSQL LISTEN/NOTIFY to build a chat application.
VÍÐIR VALBERG GUÐMUNDSSON

Streamlit Login/ Sign Up Library - 2k+ Downloads
The streamlit_login_auth_ui library lets you connect your application to a pre-built and secure authentication page. You can customize specific parts of the page without any hassle! The library also sets encrypted cookies to remember and automatically authenticate the users without password →
COURIERsponsor

Mazes in Python Part 1: Building and Visualizing
In part one of this two-part project, you’ll design your maze and represent it in an object-oriented way. You’ll also visualize the maze and its solution using scalable vector graphics (SVG).
REAL PYTHON course

Porting Python Projects to Rust
Jelmer has been working on porting some of his performance-constrained projects from Python to Rust. This blog post discusses how he’s approaching it and what is and isn’t working.
JELMER VERNOOIJ

Python for Finance: Pandas Resample, Groupby, and Rolling
When working with time series data such as financial information, the resample, grouping, and rolling features of Pandas can make your life easier. Read on to learn how.
MATT HARRISON

The Right Way to Run Shell Commands From Python
These are all the options you have in Python for running other processes - the bad; the good; and most importantly, the right way to do it
MARTIN HEINZ • Shared by Martin Heinz

Enforcement of 2FA for PyPI Began June 1st
For those accounts that have two-factor authentication turned on for PyPI uploads, the use of 2FA is now required. Users with 2FA who were only using their password in the past will now have to perform 2FA as well. This is all part of the transition of PyPI to 2FA across the board.
PYPI.ORG

Learn the Latest AI Capabilities with Python 3.11 via OpenVINO™ 2023.0
Looking for more AI optimizations with Python 3.11? Check out OpenVINO™ DevCon for monthly workshops on how you can improve your AI applications with OpenVINO Toolkit’s 2023.0 release. Register. Learn. Connect.
INTEL CORPORATIONsponsor

Understanding CPUs Can Help Speed Your NumPy
With a little understanding of how CPUs and compilers work, you can speed up NumPy using Numba, the just-in-time compiler.
ITAMAR TURNER-TRAURING

Flask Authentication Guide
This guide will help you learn how to secure a Flask web application using token-based authentication.
AUTH0 DEVELOPERS • Shared by Robertino


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 →

pystack: Inspect Stack Frames in Running or Crashed Python
GITHUB.COM/BLOOMBERG

reactpy: It’s React, but in Python
GITHUB.COM/REACTIVE-PYTHON

llm: Access Large Language Models From the Command-Line
GITHUB.COM/SIMONW

ADR-py: Creates Architecture Decision Records
GITHUB.COM/ALTOSTERINO • Shared by Daniel Różycki

📆🐍 Upcoming Python Events


Santa Cruz Python Meetup
June 14, 2023

Python North East
June 14, 2023

Weekly Real Python Office Hours Q&A (Virtual)
June 14, 2023

pyCologne User Group Treffen
June 14, 2023

PyData Bristol Meetup
June 15, 2023

Python Northwest
June 15, 2023

PyLadies Dublin
June 15, 2023

Django Girls Xai-Xai
June 17 to June 18, 2023

Building Micro Tech Communities Around Python Programming Language (June 20
June 20 to June 21, 2023

Careers With Python: Volume 2
June 20, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.