Refactoring Python Code, Chrome Extensions, Asyncio, and More

#551 – NOVEMBER 15, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Refactoring: Prepare Your Code to Get Help
In this Code Conversation video course, you’ll explore the steps you can take to get help when you’re stuck while coding. You’ll investigate how to clean up your code to focus on the question you have. Along the way, you’ll learn how to handle errors and use custom exceptions.
REAL PYTHON course

Write Chrome Extensions… in Python!
Until recently you could only write Chrome Extensions in JavaScript. Now with PyScript, you can write them in Python. This article shows you how to get started writing a simple extension.
PETE FISON • Shared by Pete Fison

Automatic Speech-to-Text With Understanding in One, Easy API
Python developers from companies like Spotify, Rasa and Twilio chose Deepgram’s speech-to-text API because it provides accurate, usable transcripts with understanding features like summarization, language detection and sentiment analysis.  Your first 200 hours are free →
DEEPGRAMsponsor

Python Asyncio: The Complete Guide
This comprehensive guide shows you everything you’d ever want to know about asynchronous programming with coroutines and the asyncio library in Python.
JASON BROWNLEE

EuroPython 2022 Videos Released
YOUTUBE

PyCon US Looking for Remote Volunteers
PYCON US GOOGLE FORM


Discussions


Stop Requiring Only One Assertion Per Unit Test
HACKER NEWS

How Do I Find My “Purpose”?
HACKER NEWS


Python Jobs


Software Engineer - Weissman Lab
WHITEHEAD INSTITUTE FOR BIOMEDICAL RESEARCH 📍 CAMBRIDGE, MA, USA

Senior Software Engineer (Python, Qt, Linux)
VIOLET 📍 ANYWHERE

More Python Jobs >>>


Articles & Tutorials


Develop Your Pipelines as Code With the Dagger Python SDK
Dagger is a programmable CI/CD engine that uses code for configuration instead of YAML. They’ve recently released a Python SDK, you can now manage your pipeline in the same language as your code. See also the Hacker News Discussion about the launch.
DAGGER.IO

Using a Raspberry Pi as a Portable PyPI Server
At PyCon Africa, Vuyisile got into several conversations about the challenges of coding with limited or spotty internet connections. But what if you could take PyPI with you? This article shows you how to build a portable PyPI server on Raspberry Pi hardware.
VUYISILE NDLOVU

Leverage the Power of OpenTelemetry With TelemetryHub by Scout APM
If you’re in need of observability, than look no further than TelemetryHub. TelemetryHub enables you to spend less time troubleshooting your complicated systems and more time concentrating on what matters by providing a wide variety of observability microservices →
SCOUT APMsponsor

Getters and Setters: Manage Attributes in Python
In this tutorial, you’ll learn what getter and setter methods are, how Python properties are preferred over getters and setters when dealing with attribute access and mutation, and when to use getter and setter methods instead of properties in Python.
REAL PYTHON

Building Generator Pipelines in Python
Generator pipelines allow you to string calls together so that the output of one call is the input of the next one in the pipeline. The article shows you how to build generator pipelines using function composition.
MARCIN KOZAK • Shared by Marcin

Inline Caches in the Skybison Python Runtime
Inline caching is a popular technique for optimizing dynamic language runtimes. This article covers how such caching was implemented in Skybison, an experimental Python runtime.
MAX BERNSTEIN

How to Build a Modular Arithmetic Library in Python
Learn how to create a library for modular arithmetic, using operator overloading and redefining the built-in functions for NumPy all while modeling the fun “Lights Out” game.
ALEJANDRO SÁNCHEZ YALÍ. • Shared by Mirjam Guesgen

A Python 3.11 “Gotcha”
As not all packages have caught up with the Python 3.11 release, upgrading your system early may run into problems. This article details the gotchas James ran into.
JAMES BENNETT

The Past, Present, and Future of Notebooks
Data science notebooks have come a long way since first introduced back in 1988. Here’s the 101 on how we got here, where the market is at, and predictions for the future.
DEEPNOTEsponsor

How to Filter Django QuerySets
A tutorial on creating QuerySets with Django ORM and filtering the data. Includes how to convert QuerySets into lists with 15 different examples.
ALICE RIDGWAY

Django Forms Within Modal Dialogs Using HTMX
This article shows you step-by-step how to use the django-crispy-forms library with HTMX to build modal dialogs with Bootstrap.
AIDAS BENDORAITIS


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 →

typer: Build Great CLIs Using Type Hints
GITHUB.COM/TIANGOLO

videocr: OCR Videos in macOS
GITHUB.COM/PETERC

flastapi: FastAPI-like Interface Plugin for Flask
GITHUB.COM/MAARTEN-DP

jc: JSON-ify the Output of Common Tools
GITHUB.COM/KELLYJONBRAZIL

daily-python-scripts: A Repository of Scripts for Daily Tasks
GITHUB.COM/METAFY-SOCIAL

📆🐍 Upcoming Python Events


Heidelberg Python Meetup
November 16, 2022

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

PyCon US 2023 Call for Proposals
November 17, 2022

PyLadies Dublin
November 17, 2022

MadPUG
November 17 to November 18, 2022

Karlsruhe Python User Group (KaPy)
November 18, 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

Python 3.11's Speedup, Scopes, Google APIs, and More

Tuesday, November 8, 2022

Where Exactly Does Python 3.11 Get Its Speedup? #550 – NOVEMBER 8, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Where Exactly Does Python 3.11 Get Its Speedup? This deep dive into Python

First Match in a List, Memes With Pillow, When to Upgrade to 3.11, and More

Tuesday, November 1, 2022

How to Get the First Match From a Python List or Iterable #549 – NOVEMBER 1, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo How to Get the First Match From a Python List or Iterable In this

Python 3.11 Released, Dry Run Mode in Django, Defensive Coding, and More

Tuesday, October 25, 2022

Python 3.11: Cool New Features for You to Try #548 – OCTOBER 25, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.11: Cool New Features for You to Try Python 3.11 is out! In this article,

Chatbots, Testing in ML, Python Dev Survey, and More

Tuesday, October 18, 2022

ChatterBot: Build a Chatbot With Python #547 – OCTOBER 18, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo ChatterBot: Build a Chatbot With Python Chatbots can help to provide real-time customer

Python Memory Profiling, Dangerous Assert, Semaphores, and More

Tuesday, October 11, 2022

Using a Memory Profiler in Python & What It Can Teach You #546 – OCTOBER 11, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Using a Memory Profiler in Python & What It Can Teach You Have

You Might Also Like

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

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many