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

Key phrases

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

SWLW #595: My role as a founder CTO, AI Product Management, and more.

Friday, April 19, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

The bill to ban TikTok is barreling ahead

Friday, April 19, 2024

The Morning After It's Friday, April 19, 2024. The bill that could ban TikTok in the United States inches closer to becoming law. The legislation passed the House of Representatives last month,

Digest #134: TDD with Serverless, Terraform AI Conversions, K8s Cost Metrics & OpenTofu Response

Friday, April 19, 2024

Learn to convert Terraform templates, deploy SSR on AWS Amplify, and apply TDD to Serverless. Gain insights on PostgreSQL, microfrontends, and secure APIs. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Akira Ransomware Gang Extorts $42 Million; Now Targets Linux Servers

Friday, April 19, 2024

THN Daily Updates Newsletter cover Webinar -- The Future of Threat Hunting Is Powered by Generative AI From Data to Defense: Step Into the Next Era of Cybersecurity with CensysGPT Download Now

ASP.NET Core News - 04/19/2024

Friday, April 19, 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

Post from Syncfusion Blogs on 04/19/2024

Friday, April 19, 2024

New blogs from Syncfusion Syncfusion Prepares for MS Build 2024 with Cloud-Ready Solutions on Azure Marketplace By gingerr Syncfusion offers cloud-ready solutions in Azure Marketplace for MS Build 2024

Hacker Newsletter #696

Friday, April 19, 2024

The greatest value of a picture is when it forces us to notice what we never expected to see. //John W. Tukey hackernewsletter Issue #696 // 2024-04-19 // View in your browser #Favorites Unlock your

Google's massive reorg 🧑‍🤝‍🧑, Meta's Llama 3 launch 🤖, China bans WhatsApp 💬

Friday, April 19, 2024

Google has reorganized its Android, Chrome, and Google hardware divisions Sign Up |Advertise|View Online TLDR TLDR 2024-04-19 📱 Big Tech & Startups Meta's battle with ChatGPT begins now (5

Is your Notes app completely disorganized?

Friday, April 19, 2024

Hi there, Is your Notes app completely disorganized? In a recent survey we found that 77% of our readers would like to learn how to better organize the notes on their iPhone. That's why we're

Data Science Weekly - Issue 543

Friday, April 19, 2024

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