Issue #575

Object Oriented Python, PyCon 2023, Mastodon Bot, and More

May 2, 2023

Object Oriented Python, PyCon 2023, Mastodon Bot, and More
#575 – MAY 2, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python Classes: The Power of Object-Oriented Programming
In this tutorial, you’ll learn how to create and use full-featured classes in your Python code. Classes provide a great way to solve complex programming problems by approaching them through models that represent real-world objects.
REAL PYTHON

Talk Python To Me: Live From PyCon 2023
Talk Python to Me interviews a host of people at PyCon US 2023. Guests include Mario Munoz, Nick Muoh, Chris Williams, Ray McLendon, and Sean Tibor all talking about their experience at the conference.
KENNEDY, MUNOZ, MUOH, WILLIAMS, MCLENDON, TIBOR podcast

What is a Saga in Microservices
Have you ever wondered what exactly is a saga? And what constitutes a long-running process? Watch this on-demand webinar to get a deep dive into the mechanics of sagas and explore how they can be used to manage long-running processes →
TEMPORALsponsor

Creating a Mastodon Bot With Python
“With a Mastodon bot, you can automate tasks such as posting updates, replying to mentions, or even creating interactive chatbots.” This tutorial teaches you how to build such a bot.
TIAGO RANGEL DE SOUSA

PEP 713: Callable Modules
PYTHON.ORG

PEP 712: “Converter” Parameter for dataclasses.field
PYTHON.ORG

Program—PyCon AU 2023
PYCON.ORG.AU

urllib3 v2.0.0 Is Now Generally Available
SETHMLARSON.DEV


Discussions


As if There Weren’t Enough Packaging Tools: Rye
REDDIT


Python Jobs


Software Engineer - Backend/Python (100% Remote)
CLOSE 📍 ANYWHERE

More Python Jobs >>>


Articles & Tutorials


Using Python’s assert to Debug and Test Your Code
In this course, you’ll learn how to use Python’s assert statement to document, debug, and test code in development. You’ll learn how assertions might be disabled in production code, so you shouldn’t use them to validate data. You’ll also learn about a few common pitfalls of assertions in Python.
REAL PYTHON course

Sync or Async? Unpacking the Mysteries of Django Signals
Django signals provide a powerful way to trigger actions when specific events occur, but are they asynchronous or synchronous? In this article, we’ll explore the answer to this question and discuss the pros and cons of using Django signals in your web applications.
MATT LAYMAN

Auth. Built for Devs, By Devs
FusionAuth is the auth platform that makes developers’ lives awesome. You’ll get all the features your Python app needs like login, registration, user management, SSO, MFA, and more. Plus a customizable, scalable solution that is 100% free for unlimited users →
FUSIONAUTHsponsor

Debugging a Mixed Python and C Language Stack
Debugging is difficult. Debugging across multiple languages is especially challenging, and debugging across devices often requires a team with varying skill. This article describes the process one team uses to debug across a mixed Python/C stack.
ENTSCHEV & ZAITLEN

Validating User Input With Tkinter Apps
When writing GUI applications you often need to accept data from users. Reliable applications need to validate the input. This article outlines some strategies for dealing with it in the world of Tkinter GUI programming.
KHUMBO KLEIN

PyTorch Performance Features and How They Interact
PyTorch in 2023 is a complex beast, with many great performance features hidden away. This article goes through a series of empirically tested tuning techniques and settings in all combinations.
PAUL BRIDGER

How to Build Your Own Raspberry Pi Watch
Using a 1.28-inch TFT display and a watch board, these folks were able to make a wearable out of the Raspberry Pi RP2040. Read on for where they found the parts and how they did it.
ASHLEY WHITTAKER

All of Your Data, from Python or Any Other Application, in Real-Time
Connect, Integrate & Automate your data from any other application or tool in real-time, on-premise or cloud, with simple data access to more than 250 cloud applications and data sources. Learn more at cdata.com
CDATA SOFTWAREsponsor

Wall Street’s Transition From Excel to Python
Excel isn’t going away, but increasingly financial institutions are turning to Python for their calculation needs. Learn why and what tools are involved.
JACOB DIAMON-REIVICH

eCharts for Python
Apache eCharts is a web-based charting library built using TypeScript. This post shows you how to use eCharts through a Python wrapper.
MARK LITWINTSCHIK


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 →

msgspec: Write/Validate JSON, MessagePack, YAML, & TOML
GITHUB.COM/JCRIST • Shared by Jim Crist-Harif

python-build-standalone: Redistributable Builds of Python
GITHUB.COM/INDYGREG

polyfactory: Factories for Mock Data Generation
GITHUB.COM/LITESTAR-ORG

markdown-code-runner: Execute Markdown Code Blocks
GITHUB.COM/BASNIJHOLT

griptape: Python Framework for AI Workflows and Pipelines
GITHUB.COM/GRIPTAPE-AI

📆🐍 Upcoming Python Events


STL Python
May 3, 2023

Weekly Real Python Office Hours Q&A (Virtual)
May 3, 2023

Canberra Python Meetup
May 4, 2023

PyDelhi User Group Meetup
May 6, 2023

IndyPy Monthly Meetup
May 9, 2023

JupyterCon 2023
May 10 to May 13, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.