CLIs, Cython, 3.11's Better Error Messages, and More

#516 – MARCH 15, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Write User-Friendly CLIs in Python
How to write user-friendly Command Line Interface applications and an overview of several of the popular CLI libraries: argparse, Click, Typer, Docopt, and Fire.
XIAOXU GAO

Just Enough Cython to Be Useful
Cython is a superset of of Python designed to give C-like performance. Ever wanted to learn the basics? This article shows you how to get started.
PETER BAUMGARTNER

Scout APM: Built for Developers, By Developers
Scout APM is an application performance monitoring tool designed to help developers find and fix performance issues quickly. Scout will tie bottlenecks to source code so you can quickly pinpoint and resolve performance abnormalities with ease. Give Scout a try with a 14-day free trial today →
SCOUT APMsponsor

Python 3.11 Preview: Even Better Error Messages
Python 3.11 will be released in October 2022. This article explores the more precise error messages now available in the latest alpha release.
REAL PYTHON

Python 3.11.0a6 Is Available
CPYTHON DEV BLOG

EuroPython 2022 Call for Proposals
EUROPYTHON.EU


Discussions


Is Python a Good Language to Learn for Automation Testing?
REDDIT

Where Can I Find Like-Minded Programmers to Talk to Without Necessarily Going Out?
REDDIT


Python Jobs


Senior Platform Engineer (USA)
PARADE

Senior Backend Software Engineer (USA)
PARADE

Senior Backend Software Engineer (USA)
CLAY

Advanced Python Engineer (Newport Beach, CA, USA)
RESEARCH AFFILIATES

Senior Full-Stack Web Developer (White Rock, BC, Canada)
MONETIZEMORE

Python Software Engineer (Anywhere)
FLASHPOINT

Mid/Senior Django Developer (Brooklyn, NY, USA)
TYPE/CODE

Sr Python Engineer (Anywhere)
FLASHPOINT

Senior Backend Engineer - Django (UK, Europe)
DATAPANE

Full Stack Software Engineer - Python (USA)
DEEP SENTINEL

Senior Software Engineer (Anywhere)
DROICE LABS

Python Trainer (Jakarta, Indonesia)
PHYSIKALISCH-TECHNISCHE BUNDESANSTALT

More Python Jobs >>>


Articles & Tutorials


Python Built-in Functions to Know
Python has dozens of built-in functions, the standard library has hundreds more, and then third-party libraries make the whole list unknowable. How do you know what to learn early on? This article highlights the important functions every developer should know.
TREY HUNNER

Modify Iterables While Iterating in Python
If you try to mutate a sequence while traversing through it, Python doesn’t complain, but that doesn’t mean it did what you want. This article explores the problems of modifying iterables and how to work around it.
REDOWAN DELOWAR

Python RCE Vulnerability Discovered in Celery
Learn about the object traversal pattern common in the wider Python ecosystem, and how this led to the discovery of a stored command injection vulnerability in Celery. This step-by-step analysis also includes remediation guidance →
SNYK.IOsponsor

What Are pyc Files and __pycache__ Folders in Python?
What are those weird extra files for and what do you do about them? This article explains pyc files, where they live, and how to ignore them in your development environment, and how to clean up after them.
JOHN LOCKWOOD

Exploring the Fibonacci Sequence With Python
In this video course, you’ll explore the Fibonacci sequence in Python, which serves as an invaluable springboard into the world of recursion, and learn how to optimize recursive algorithms in the process.
REAL PYTHON course

Understand Django: Security and Django
You want to protect your users’ privacy, right? The goal is noble and users demand it, but how do you do it? This article, looks at some areas that improve the security of your application.
MATT LAYMAN • Shared by Matt Layman

How to Design Better REST APIs
15 language-agnostic, tips on REST API design, including: good naming conventions, how to specify dates, versioned APIs, authentication keys, pagination, and when to use which HTTP methods.
RONALD BLÜTHL

Scale Web Scraping Projects Without Challenges
Improve your performance with the new Oxylabs Scraper APIs. The SERP Scraper API provides real-time results. The E-Commerce Scraper API gets data from most marketplaces, and the Web Scraper API handles JavaScript-heavy websites. Try for free.
OXYLABSsponsor

Pass-by-Value, Reference, and Assignment
Different programming languages use different ways of passing arguments. By value? By reference? What does Python do? Pass-by-assignment.
RODRIGO GIRÃO SERRÃO

Counting With Python’s Counter
Counting several repeated objects at once is a common problem in programming. Python offers a bunch of tools and techniques you can use to approach this problem. However, Python’s collections.Counter class provides a clean, efficient, and Pythonic solution.
REAL PYTHON course


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 →

asciimatics: Cross Platform TUI and ASCII Animation Package
GITHUB.COM/PETERBRITTAIN

fastapi-events: Event Control Library for FastAPI
GITHUB.COM/MELVINKCX • Shared by Melvin Koh

miniboss: Manage a Collection of Docker Services
GITHUB.COM/AFROISALREADYINU

pytermgui: Simple Yet Powerful TUI Framework
GITHUB.COM/BCZSALBA

skillmap: Generatie Skill Map-Tree Diagrams
GITHUB.COM/NIYUE

WhyProfiler: CPU Profiler for Jupyter Notebooks
GITHUB.COM/ROBUSTA-DEV

📆🐍 Upcoming Python Events


⋅ Heidelberg Python Meetup March 16, 2022

⋅ Weekly Real Python Office Hours Q&A (Virtual) March 16, 2022

⋅ PyData Bristol Meetup March 17, 2022

⋅ PyLadies Dublin March 17, 2022

⋅ MadPUG March 17 to March 18, 2022

⋅ Karlsruhe Python User Group (KaPy) March 18, 2022

⋅ Python Web Conference 2022 (Virtual) March 21 to March 25, 2022
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Optional Arguments, Fixing a Vulnerability, Code Reviews, and More

Tuesday, March 8, 2022

Optional Arguments and Moving Beyond "Beginner" Python #515 – MARCH 8, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Optional Arguments and Moving Beyond “Beginner” Python It's

Assert, Downloading Concurrently, Troubleshooting, and More

Tuesday, March 1, 2022

Python's Assert: Debug and Test Your Code Like a Pro #514 – MARCH 1, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's Assert: Debug and Test Your Code Like a Pro Learn how to use

Faster Code, Multiple Constructors, Dockerizing Django, and More

Tuesday, February 22, 2022

How We Optimized Python API Server Code 100x #513 – FEBRUARY 22, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo How We Optimized Python API Server Code 100x Tricks we used to speed up calls to our

Unit Test Docs, Python zipfile, Django Runs Black, and More

Tuesday, February 15, 2022

Documentation Unit Tests #512 – FEBRUARY 15, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Documentation Unit Tests Interesting approach to keeping documentation and code in sync: introspecting

typing.Protocol, args and kwargs, CPython 3.11.0a5 Released, and More

Tuesday, February 8, 2022

Defining Python Functions With Optional Arguments #511 – FEBRUARY 8, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Defining Python Functions With Optional Arguments Learn about Python optional

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your