Issue #530

Objects, Functions, Generators, & Coroutines; Combining Data in pandas; Lazy Imports; and More

June 21, 2022

Objects, Functions, Generators, & Coroutines; Combining Data in pandas; Lazy Imports; and More
#530 – JUNE 21, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Objects, Functions, Generators, and Coroutines
Although different concepts, objects, functions, generators, and coroutines can be used almost interchangeably because of Python’s dynamic nature. Learn more about how these mechanisms are related and how to switch between them.
DUSTY PHILLIPS

Combining Data in pandas With concat() and merge()
In this video course, you’ll learn two techniques for combining data in pandas: merge() and concat(). Combining Series and DataFrame objects in pandas is a powerful way to gain new insights into your data.
REAL PYTHON course

ButterCMS Melts Into Your Python app. Try the #1 Headless CMS for Python and Django
ButterCMS is your content backend. Enable your marketing team to update website + app content without bothering you. Try the #1 rated Headless CMS for Python today. Free for 30 days →
BUTTERCMSsponsor

Getting Lazy With Python Imports and PEP 690
Talk Python interviews all three authors involved in PEP 690, a proposal to add the ability to delay library importation until time of use.
KENNEDY, MEYER, BRAVO, & WARSAW podcast

Django CMS Fellowship Program: Apply Now
DJANGO-CMS.ORG

DjangoCon Europe Call for Hosting Proposals for 2023
DJANGO SOFTWARE FOUNDATION

PyOhio Talks Announced; Free Registration; Streams July 30
PYOHIO.ORG


Discussions


Most Common Issue You Have Coding With Python?
MATT HARRISON

What’s a Powerful Python Feature That Not Many People Use?
REDDIT


Python Jobs


Senior Python Software Engineer
MYOME 📍 SAN FRANCISCO, CA, USA

Senior Full-Stack Web Developer
MONETIZEMORE 📍 ANYWHERE

Backend Software Developer
CANOPY 📍 DRAPER, UT, USA

Gameful Learning Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Python Technical Architect
BLENDERBOX 📍 USA

Software Engineer (Los Angeles or Dallas)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

DevOps Engineer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Academic Innovation Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Software Development Lead
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Principal Python Engineer (100% Remote)
NIRA 📍 SAN FRANCISCO, CA, USA

More Python Jobs >>>


Articles & Tutorials


Build Your Python Project Documentation With MkDocs
In this tutorial, you’ll learn how to build professional documentation for a Python package using MkDocs and mkdocstrings. These tools allow you to generate nice-looking and modern documentation from Markdown files and, more importantly, from your code’s docstrings.
REAL PYTHON

Getting the Stack Trace of a Running Python Program
“I recently wanted to examine a multi-threaded Python program, which took a long time to complete, appeared to be stuck, and even crashed occasionally. I was hoping to get the stack trace.” Peter shares the code that solved his problem and how to test with it.
PETER KOGAN

Connect, Integrate, & Automate Your Data—From Python, or Any Other Application or Tool
CData makes it easier to unlock the value of data — simplifying connectivity between applications and data sources. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise and cloud databases, SaaS, APIs, NoSQL and more. Visit cdata.com to learn more →
CDATA SOFTWAREsponsor

Getting Started in Python Cybersecurity and Forensics
Are you interested in a career in security using Python? Would you like to stay ahead of potential vulnerabilities in your Python applications? This week on the show, James Pleger talks about Python information security, incident response, and forensics.
REAL PYTHON podcast

Tools To Visualize Your Data and System State
This overview covers a variety of tools for visualizing data formats such as JSON, regexes, SQL, and Git history. If that’s not enough, it then goes on to describe tools to better understand your Docker and Kubernetes configurations.
MARTIN HEINZ

Python Logging: Do’s and Don’ts
Python’s logging library can be a daunting to new users, with lots of options and configuration. Learn more about some key things you should and shouldn’t do when using logger.
PALKEO

Utilising Caching in Your Django Applications
Minimizing the number of database calls can have significant performance impacts. Learn about select_related and prefetch_related and how they can improve your Django code.
MARK WALKER

Illustrating the Duality of Closures and Objects
In functional programming languages, closures are used for similar purposes to classes in object oriented languages. Python supports both, learn more about how they compare.
JONATHAN E. MAGEN

Get Started With This PyCharm Debugging Tutorial From Rookout
Need to hit the ground running with a new app in a cool IDE? This tutorial will cover an example of debugging Python in PyCharm, the pros and cons of “remote debugging,” and where a tool like Rookout fills in the gaps on syncing with source code.
ROOKOUTsponsor

Create Dashboards From Jupyter Notebooks
This article shows you how to transform a Jupyter Notebook with stock information into a web-based dashboard using the Mercury framework.
ALEKSANDRA PŁOŃSKA

A Beginner’s Guide to CI/CD and Automation on GitHub
“CI/CD and workflow automation are native capabilities on GitHub platform. Here’s how to start using them and speed up your workflows.”
THE GITHUB BLOG


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 →

onto_merger: Deduplicate Knowledge Graph Nodes
GITHUB.COM/ASTRAZENECA • Shared by Benedek Rozemberczki

deny: Python Authorization Library
GITHUB.COM/HOLINNN

Task Queues: List of Task Queues and Message Brokers
TASKQUEUES.COM

pedalboard: Audio Effects Library
GITHUB.COM/SPOTIFY

euchre: Interactive, Text-Based Euchre Game in Python
GITHUB.COM/DAVID-HOLROYD

📆🐍 Upcoming Python Events


GeoPython 2022
June 20 to June 23, 2022

Weekly Real Python Office Hours Q&A (Virtual)
June 22, 2022

PyKla Monthly Meetup
June 22, 2022

PyStaDa
June 22, 2022

PythOnRio Meetup
June 25, 2022

PyCon Israel 2022
June 28 to June 30, 2022

(Hybrid) a Deep Dive Into Containerized Model Serving With FastAPI
June 28, 2022
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.