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

SBF says he's 'had a bad month,' but is he really giving us the full story?

Thursday, December 1, 2022

TechCrunch Newsletter TechCrunch logo The Daily Crunch logo By Christine Hall and Haje Jan Kamps Thursday, December 01, 2022 There is officially only 8.3% left of the year. You know what that means!

FTX’s collapse was a crime, not an accident — TSMC to make 4nm chips in Arizona for Apple, AMD, Nvidia — and Apple blocks Coinbase Wallet

Thursday, December 1, 2022

Issue #968 — Top 20 stories of December 02, 2022 Issue #968 — December 02, 2022 You receive this email because you are subscribed to Hacker News Digest. You can open it in the browser if you prefer. 1

Daily Coding Problem: Problem #952 [Easy]

Thursday, December 1, 2022

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Slack. You are given a string formed by concatenating several words corresponding to the

💎 Issue 341 - Crystal For Rubyists

Thursday, December 1, 2022

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 341 Release Date Dec 01, 2022 Your weekly report of the most popular Ruby news, articles and

💻 Issue 341 - TIL – How to split JavaScript strings into sentences, words or graphemes with Intl.Segmenter

Thursday, December 1, 2022

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 341 Release Date Dec 01, 2022 Your weekly report of the most popular JavaScript news, articles

📱 Issue 335 - What are your thoughts on this thread? “Stop using MVVM for SwiftUI”

Thursday, December 1, 2022

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 335 Release Date Dec 01, 2022 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 334 - Announcing ML.NET 2.0

Thursday, December 1, 2022

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 334 Release Date Dec 01, 2022 Your weekly report of the most popular .NET news, articles and projects

Data Science Weekly - Issue 471

Thursday, December 1, 2022

Curated news, articles and jobs related to Data Science. Keep up with all the latest developments Email not displaying correctly? View it in your browser. Issue #471 December 01 2022 Editor's Picks

💻 Issue 341 - Node.js visualized: promise, async/await and process.nextTick under the hood

Thursday, December 1, 2022

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 341 Release Date Dec 01, 2022 Your weekly report of the most popular Node.js news, articles and

💻 Issue 259 - React Conditional Rendering With Type Safety and Exhaustive Checking

Thursday, December 1, 2022

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 259 Release Date Dec 01, 2022 Your weekly report of the most popular React news, articles and projects