Issue #593

Wordle Clone, Polar Histograms, Protocol Buffers, and More

Sept. 5, 2023

Wordle Clone, Polar Histograms, Protocol Buffers, and More
#593 – SEPTEMBER 5, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Create a Python Wordle Clone With Rich
In this step-by-step project, you’ll build your own Wordle clone with Python. Your game will run in the terminal, and you’ll use Rich to ensure your word-guessing app looks good. Learn how to build a command-line application from scratch and then challenge your friends to a wordly competition!
REAL PYTHON course

Create a Beautiful Polar Histogram With Python and Matplotlib
“Polar histograms are great when you have too many values for a standard bar chart. The circular shape where each bar gets thinner towards the middle allows us to cram more information into the same area.” Learn how to create one using Python and Matplotlib.
OSCAR JOHANSSON

You Write Great Python Code but How Do You Know It’s Secure Code
If you’re not a security expert, consider Semgrep. Trusted by Slack, Gitlab, Snowflake, and thousands of engineers, it acts like a security spellchecker for your code. Simply point Semgrep to your code; it identifies vulnerabilities and even checks code dependencies and helps you ship secure code →
SEMGREPsponsor

An Intro to Protocol Buffers With Python
Protocol buffers are a data serialization format that is language agnostic, analogous to Python’s pickle format. Learn how to write them in Python and communicate with other languages that support the protocol.
MIKE DRISCOLL

Django Security Releases Issued: 4.2.5, 4.1.11, and 3.2.21
DJANGO SOFTWARE FOUNDATION


Discussions


Why Did Python Win?
HACKER NEWS

Python Proposal (Inspired by Lua)
NED BATCHELDER


Articles & Tutorials


Finding the Right Coding Font for Programming in Python
What should you consider when picking a font for coding in Python? What characters and their respective glyphs should you check before making your decision? This week on the show, we talk with Real Python author and core team member Philipp Acsany about his recent article, Choosing the Best Coding Font for Programming.
REAL PYTHON podcast

Hidden Features of Python
Python is a powerful programming language that’s easy to learn and fun to play with. But beyond the basics, there are plenty of hidden features and tricks. This article covers debugging regexes, the ellipsis, dir(), chaining comparisons, and more little nuggets you may not know.
SCOTT ROBINSON

Build Your Web Application In No Time No Development Knowledge Required
Quickly create interactive and customizable multi-page dashboards with Taipy, the open-source Python library, with its simple syntax. This web application builder generates highly interactive interfaces without requiring any knowledge of web development →
TAIPYsponsor

Testing With Hypothesis
Hypothesis is a property-based testing library. This style of testing uses ranges of scenarios rather than a single value, and then the tool explores the results. See also the intro article to strategy based testing.
HYPOTHESIS.READTHEDOCS.IO

PSF Authorized as a CVE Numbering Authority
The Common Vulnerabilities and Exposures program identifies, catalogs, and discloses cybersecurity vulnerabilities. The Python Software Foundation has recently been added as a numbering authority, improving Python’s ability to disclose and respond to security issues.
PYTHON SOFTWARE FOUNDATION

Deploying a Machine Learning Model to AWS Lambda
This tutorial teaches how to deploy a machine learning (ML) model to AWS Lambda, via Serverless Framework, and execute it using Boto3. It also creates a CI/CD pipeline with GitHub Actions to automate the deployment process and run end-to-end tests.
JAN GIACOMELLI • Shared by Jan Giacomelli

Python Basics: Pathlib and File System Operations
In this video course, you’ll learn how to use the pathlib module to carry out file path operations with Python. These operations include creating, iterating over, searching for, moving, and deleting files and folders.
REAL PYTHON course

Disable a Direct Push to GitHub Main Branch
If your development team uses the main branch for production and pull requests for feature management, you may want to disable the ability to (accidentally) push to main. This article shows you how.
JOHNNY METZ

5 Ways to Get Started in Open Source
This article shares ideas for finding and making your first open source contribution, using examples from contributions the author has made to various projects.
STEFANIE MOLIN • Shared by Stefanie Molin

Introduction to Python’s Functools Module
This article introduces you to the functions in Python’s functools module with real world examples to help show you how and when to use each feature.
FLORIAN DAHLITZ

Heaps in Python
Learn about both the min heap and max heap data structures using Python.
SHIVALI BHADANIYA • Shared by cody


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 →

compress: Text Compression to Generate Keystroke Expansion
GITHUB.COM/ESCHLUNTZ

communitynotes: Docs & Code Powering Twitter’s Notes
GITHUB.COM/TWITTER

mljar: Create Plots in Matplotlib With ChatGPT
GITHUB.COM/MLJAR • Shared by Piotr

ML-Recipes: Collection of Machine Learning Recipes
GITHUB.COM/ROUGIER

A DictWriter Interface for Google Spreadsheets
JACOB KAPLAN-MOSS

📆🐍 Upcoming Python Events


Cloud Builder: Python Conf
September 6 to September 7, 2023

Weekly Real Python Office Hours Q&A (Virtual)
September 6, 2023

PyCon Estonia 2023
September 7 to September 9, 2023

PyCon Portugal 2023
September 7 to September 10, 2023

PyData Amsterdam 2023
September 14 to September 17, 2023

Kiwi PyCon 2023
September 15 to September 18, 2023

PyCon CZ 2023
September 15 to September 18, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.