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

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