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

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 12/23/2024

Monday, December 23, 2024

New blogs from Syncfusion Introducing the New WinUI Kanban Board By Karthick Mani This blog explains the features of the new Syncfusion WinUI Kanban Board control introduced in the 2024 Volume 4

Import AI 395: AI and energy demand; distributed training via DeMo; and Phi-4

Monday, December 23, 2024

What might fighting for freedom in an AI age look like? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

LockBit Ransomware Developer Charged for Billions in Global Damages

Monday, December 23, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Re: How to know if your data has been exposed

Monday, December 23, 2024

Imagine getting an instant notification if your SSN, credit card, or password has been exposed on the dark web — so you can take action immediately. Surfshark Alert does just that. It helps you stay

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an