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

Weekend Read: Private and Medical AI 🕵️‍♀️

Friday, May 3, 2024

Don't accidentally train GPT-5 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Microsoft thinks generative AI and faces shouldn’t mix

Friday, May 3, 2024

The company has banned its AI from being used for face recognition View this email online in your browser By Alex Wilhelm Friday, May 3, 2024 Welcome to TechCrunch AM! Today, we have notes on

Issue #539: Discord with Colyseus, parametric surface, and StrikeForce Kitty

Friday, May 3, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #539 - May 3rd 2024 If you have anything you want to share with the HTML5 game

Peloton's grim post-pandemic reality

Friday, May 3, 2024

The Morning After It's Friday, May 03, 2024. Peloton had a great pandemic. It's a weird thing to say, but the company's premium exercise equipment (expanding from bikes to treadmills and

Four Critical Vulnerabilities Expose HPE Aruba Devices to RCE Attacks

Friday, May 3, 2024

THN Daily Updates Newsletter cover Enterprise Transformation to AI and the Metaverse ($59.99 Value) FREE for a Limited Time Strategies for the Technology Revolution Download Now Sponsored LATEST NEWS

Post from Syncfusion Blogs on 05/03/2024

Friday, May 3, 2024

New blogs from Syncfusion Create Interactive Floor Planner Diagrams using Blazor Diagram Library By Keerthivasan R This blog explains how to create interactive floor planner diagrams using the

ASP.NET Core News - 05/03/2024

Friday, May 3, 2024

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! This newsletter is sponsored by elmah.io - the most advanced, yet so simple to set up, error logging and

Hacker Newsletter #698

Friday, May 3, 2024

There is nothing more uncommon than common sense. //Frank Lloyd Wright hackernewsletter Issue #698 // 2024-05-03 // View in your browser #Favorites Lattice is the AI-powered people platform that

OpenAI search May 9 rumor 🤖, Tesla cuts interns 🚗, building a rocket engine 🚀

Friday, May 3, 2024

Reports indicate that OpenAI is looking to launch a search engine soon. OpenAI's in-house event on May 9 may focus on its release Sign Up |Advertise|View Online TLDR Together With LMNT TLDR 2024-05

Data Science Weekly - Issue 545

Friday, May 3, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏