Apache Airflow, Nox, Simulating Broken DB Connections, and More

#562 โ€“ JANUARY 31, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Orchestrating Large and Small Projects With Apache Airflow
Have you worked on a project that needed an orchestration tool? How do you define the workflow of an entire data pipeline or a messaging system with Python? This week on the show, Calvin Hendryx-Parker is back to talk about using Apache Airflow and orchestrating Python projects.
REAL PYTHON podcast

Why I Like Nox
Both nox and tox are multi-environment testing tools. This opinion piece by Hynek compares and contrasts them and explains why increasingly he is using nox.
HYNEK SCHLAWACK

Simple Observability Tool for Peace of Mind: TelemetryHub by Scout APM
We built TelemetryHub to make observability easy. It’s our goal to provide you with peace of mind by providing a user experience that’s intuitive, easy to use, and allows you to monitor and understand what’s happening inside your application at a glance โ†’
SCOUT APMsponsor

Simulating a Broken DB Connection for Testing in Django
This article covers three different options for effectively testing Django database access and failure recovery when the database connection is not there.
NEIL KAKKAR

Bleach 6.0.0 Release and Deprecation
Bleach is an HTML sanitizing library. 6.0 has been released, along with the announcement that the package is being deprecated. The library is dependent on html5lib which is no longer maintained, the maintainers of Bleach are giving notice that their package will stop being updated after a year.
BLUESOCK.ORG

PEP 704: Require Virtual Environments by Default
PYTHON.ORG


Discussions


Thoughts on the Python Packaging Ecosystem
There’s been lots of chatter about packaging in Python of late, this discussion centers around Pradyun Gedam’s excellent article. For more on the same topic see last issue’s How to improve Python packaging, or why fourteen tools are at least twelve too many as well.
HACKER NEWS

Breaking the Snake: How Python Went From 2 to 3
This discussion spawned from Diego Crespo’s article of the same name talks about the transition that somehow everyone is still interested in talking about.
HACKER NEWS


Python Jobs


Software Engineer - Backend/Python (100% Remote)
CLOSE ๐Ÿ“ ANYWHERE

Python Video Course Instructor
REAL PYTHON ๐Ÿ“ ANYWHERE

Python Tutorial Writer
REAL PYTHON ๐Ÿ“ ANYWHERE

More Python Jobs >>>


Articles & Tutorials


The Python Standard REPL: Try Out Code and Ideas Quickly
In this tutorial, you’ll learn how to use the Python standard REPL (Read-Eval-Print Loop) to run your code interactively. This tool will allow you to test new ideas, explore and experiment with new tools and libraries, refactor and debug your code, try out examples, and more.
REAL PYTHON

Linear Algebra in Python: Matrix Inverses and Least Squares
In this tutorial, you’ll work with linear algebra in Python. You’ll learn how to perform computations on matrices and vectors, how to study linear systems and solve them using matrix inverses, and how to perform linear regression to predict prices based on historical data.
REAL PYTHON

Need Your MEAN and MERN Applications to Run as Fast as Possible
In this new e-book from Redis, we share three popular design patterns that developers use with Redis to improve application performance with MEAN and MERN stack applications. โ†’
REDIS LABSsponsor

Distance and Proximity Analysis in Python
“Spatial data science projects frequently require the calculation of proximity to resources.” This article shows you how to calculate proximity in Python code using two different techniques: Euclidean and driving times. Examples use geopandas and routingpy packages.
KYLE WALKER

20 Things I’ve Learned in My 20 Years as a Software Engineer
Justin writes a list of things he has learned over his past 20 years in development. He starts by stating how context is important and that his lessons are from small teams with an emphasis on productivity and being tool agnostic.
JUSTIN ETHEREDGE

An Open Source Python Project CI Pipeline
This posting describes Brenton’s Python Continuous Integration (CI) pipeline setup, from using a pyproject.toml file, to the tools such as black and coverage he uses, to GitHub actions to glue it all together.
BRENTON CLEELAND

Python Bindings for Performance Optimization
“This article describes techniques to accelerate a Python codebase by exposing parallelized C++ functions using PyBind.” The example in the article achieves a 3x speed-up through this technique.
ALEX HAGIOPOL

So, Single (') or Double (") Quotes in Python?
The article addresses the following question. Many claim you should prefer single over double quotes in Python. Should you?
MEDIUM.COM/PYTHONIQ โ€ข Shared by Marcin

Connect, Integrate & Automate Your Data - From Python or Any Other Application
At CData, we simplify connectivity between the application and data sources that power business, making it easier to unlock the value of data.
CDATA SOFTWAREsponsor

Replacing Pandas With Polars. A Practical Guide
Polars is becoming a popular alternative to Pandas. This article compares the two and shows you a path to Polars.
DANIEL BEACH

The Zen of Proverbs
Inspired by the Zen of Python and similar lists, this is list of Zen Proverbs for programming.
LANE WAGNER


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 โ†’

ipyflow: IPython Kernel for Jupyter
GITHUB.COM/IPYFLOW

monorepo: A Spreadsheet Inside Your JupyterLab Notebooks
GITHUB.COM/MITO-DS

fugue: Unified Interface for Distributed Computing
GITHUB.COM/FUGUE-PROJECT

python-benedict: Dict Subclass With Keylist/Keypath Support
GITHUB.COM/FABIOCACCAMO

sematic: An Open-Source ML Pipeline Development Toolkit
GITHUB.COM/SEMATIC-AI

๐Ÿ“†๐Ÿ Upcoming Python Events


STL Python
February 1, 2023

Weekly Real Python Office Hours Q&A (Virtual)
February 1, 2023

PyStaDa
February 1, 2023

Canberra Python Meetup
February 2, 2023

Sydney Python User Group (SyPy)
February 2, 2023

Fosdem 2023
February 5 to February 6, 2023
Happy Pythoning!
Copyright ยฉ 2023 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

Time, Property-Based Pytest, Continuous Profiling, and More

Tuesday, January 24, 2023

How to Get and Use the Current Time in Python #561 – JANUARY 24, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Get and Use the Current Time in Python In this tutorial, you'll be getting

Prototype Pollution, PEP 703, 2022's Most Popular, and More

Friday, January 20, 2023

PEP 703: Making the GIL Optional in CPython #560 – JANUARY 17, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 703: Making the GIL Optional in CPython This PEP proposes changes to the CPython

bpython, perf and Python 3.12, Packaging Binaries, and More

Tuesday, January 10, 2023

Discover `bpython`: A Python REPL With IDE-Like Features #559 – JANUARY 10, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Discover bpython : A Python REPL With IDE-Like Features In this tutorial,

Real Python 2022 Wrap Up, Classifying Virtual Envs, PyTorch Compromised, and More

Tuesday, January 3, 2023

2022 Real Python Tutorial & Video Course Wrap Up #558 – JANUARY 3, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo 2022 Real Python Tutorial & Video Course Wrap Up “It's been another

Best of PyCoder's 2022

Tuesday, December 27, 2022

Python 3.11: Cool New Features for You to Try #557 – DECEMBER 27, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo It is that time of year again, everybody is making lists. Hopefully you weren't

You Might Also Like

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌