Talk Python To Me

By Michael Kennedy (@mkennedy)

Listen to a podcast, please open Podcast Republic app. Available on Google Play Store.

Category: Software How-To

Open in Apple Podcasts

Open RSS feed

Open Website

Rate for this podcast

Subscribers: 2801
Reviews: 4

 Nov 7, 2018
one of my absolute favourite podcasts even though im almost non-skilled im python, always feel inspired listening to this podcast !

 Oct 3, 2018

Wilber H
 Sep 19, 2018
I wish there was a Python that talks about teaching Python. For reinforcement purposes while driving. Don't get me wrong, conversations are great but some tracks catered to just teaching would be great.

Travis W.
 Aug 31, 2018
Been listening to this podcast for over 6 months now and all I can say is that I'm continually pleased with every episode!


Talk Python to Me is a weekly podcast hosted by developer and entrepreneur Michael Kennedy. We dive deep into the popular packages and software developers, data scientists, and incredible hobbyists doing amazing things with Python. If you're new to Python, you'll quickly learn the ins and outs of the community by hearing from the leaders. And if you've been Pythoning for years, you'll learn about your favorite packages and the hot new ones coming out of open source.

Episode Date
#312 Python Apps that Scale to Billions of Users
How do you build Python applications that can handling literally billions of requests. I has certainly been done to great success with places like YouTube (handling 1M requests / sec) and Instagram as well as internal pricing APIs at places like PayPal and other banks.

While Python can be fast at some operations and slow at others, it's generally not so much about language raw performance as it is about building an architecture for this scale. That's why it's great to have Julian Danjou on the show today. We'll dive into his book "The Hacker's Guide to Scaling Python" as well as some of his performance work he's doing over at Datadog.

Links from the show

Julian on Twitter: @juldanjou
Scaling Python Book:

DD Trace production profiling code:
Futurist package:
Tenacity package:
Cotyledon package: Load Testing:
daiquiri package:

YouTube Live Stream Video:


Talk Python Training
Apr 18, 2021
#311 Get inside the .git folder
These days Git is synonymous with source control itself. Rare are the current debates of whether to use git vs SVN vs some fossil like SourceSafe vs you name it. But do you know how Git works? What about it's internals? I'm sure you've seen a .git folder in your project's root. But to most folks, it's a black box.

In this episode, you'll meet Rob Richardson. He's going pop the lid on that black box as we dive into git internals and the .git folder, among other things source control.

Links from the show

Rob's Site:
Rob on Twitter: @rob_rich

YouTube Live Stream Recording:

Talk at PWC:
Git Explorer App:
Pre-commit framework:
.gitignore project:
git-hooks project:
Git Source Control:

Oh My Posh Shell:
Oh My ZSH Shell:

Oh !*#! Git Site: oh*!#!
Work-safe version:


Talk Python Training
Apr 08, 2021
#310 AMA (Ask Me Anything) with Michael
The tables have turned and this time I'm the guest and you all are the hosts. I get a ton of questions over email and twitter asking me about my thoughts on various trends, tools, and behind the scenes questions around Talk Python. So I've enlisted two listeners who are up for hosting a conversation and taking questions from you all.

Thank you to Patrik Hlobil and Kim van Wyk who guest host this episode where I answer a bunch of audience questions in this ask my anything.

Links from the show

Patrik on Twitter: @hlobilpatrik
pandas-bokeh (Patrik's project):

Kim on Twitter: @kim_vanwyk
Kim's website:

YouTube Live Stream Recording:
Future Talk Python Live Streams:

Highlighted packages


OutSystems Platform
Talk Python Training
Apr 02, 2021
#309 What ML Can Teach Us About Life: 7 Lessons
Machine learning and data science are full of best practices and important workflows. Can we extrapolate these to our broader lives? Eugene Yan and I give it a shot on this slightly more philosophical episode of Talk Python To Me.

The seven lessons:

1. Data cleaning: Assess what you consume
2. Low vs. high signal data: Seek to disconfirm and update
3. Explore-Exploit: Balance for greater long-term reward
4. Transfer Learning: Books and papers are cheat codes
5. Iterations: Find reps you can tolerate, and iterate fast
6. Overfitting: Focus on intuition and keep learning
7. Ensembling: Diversity is strength

Links from the show

Eugene Yan: @eugeneyan
What Machine Learning Can Teach Us About Life - 7 Lessons article:

Maker's schedule vs. manager's schedule:
Naval Podcast:
How to Write Better with The Why, What, How Framework
Resources mentioned towards the end of the podcast:

New media example - Metal song decomposed by classical musicians
Opera singer:
Composer music:

YouTube Live Stream:
PyCon Ticket Giveaway:


Talk Python Training
Mar 26, 2021
#308 Docker for Python Developers (2021 Edition)
Docker is one of the core elements of developing Python applications in consistent ways as well as running them across different hardware universally. On this episode, you'll meet Peter McKee from Docker. He's here to catch us up on what's happening in the Docker universe for Python developers.

Links from the show

YouTube Live Stream:

Peter on Twitter: @pmckee
Docker Roadmap:
It works on my machine certification:

Test Containers Package:


Talk Python Training
Mar 20, 2021
#307 Python from 1994 to 2021, my how you've grown!
Python has changed a lot since its inception 30 years ago. On this episode, you'll meet Paul Everitt and Barry Warsaw. They have both been involved with Python since the very first Python conference (called SPAM1 even). We discuss how it's changed but also how so many of the pressures and ideas from the very early days are still playing out in 2021. I'm sure you'll enjoy all the stories and reminiscing.

Links from the show

Paul on Twitter: @paulweveritt
Barry on Twitter: @pumpichank

Episode live stream:

A Python Developer Explores Apple's M1 video:
Let's Build a Fast, Modern Python API with FastAPI webcast: 1997:
Python is eating the world: How one developer's side project became the hottest programming language on the planet:
Some of Barry's music:
Barry’s early history of Python slides from BayPiggies:
Backstory and liner notes for the Zen of Python song:
Zen of Python song:

PyCon Ticket Giveaway:


Talk Python Training
Mar 11, 2021
#306 Scaling Python and Jupyter with ZeroMQ
When we talk about scaling software threading and async get all the buzz. And while they are powerful, using asynchronous queues can often be much more effective. You might think this means creating a Celery server, maybe running RabbitMQ or Redis as well.

What if you wanted this async ability and many more message exchange patterns like pub/sub. But you wanted to do zero of that server work? Then you should check out ZeroMQ.

ZeroMQ is to queuing what Flask is to web apps. A powerful and simple framework for you to build just what you need. You're almost certain to learn some new networking patterns and capabilities in this episode with our guest Min Ragan-Kelley to discuss using ZeroMQ from Python as well as how ZeroMQ is central to the internals of Jupyter Notebooks.

Links from the show

Min on Twitter: @minrk
Simula Lab:
Talk Python Binder episode:
The ZeroMQ Guide:
IPython for parallel computing:
Messaging in Jupyter:
DevWheel Package:

YouTube Live Stream:
PyCon Ticket Contest:


Talk Python Training
Mar 05, 2021
#305 Python community at Python Discord
People often ask me how they can find a Python community to be part of. Maybe discussion forum or slack channel. This week, we look at one of the most active communities in Python Discord. It's Python, on a discord server. But it's more than that too.

You'll meet Leon Sandøy who, along with a team of folks, runs Python Discord.

Links from the show

Leon on Twitter: @lemonsaurus_rex
Leon on the web:
Leon on GitHub:

Python Discord:
Python Discord's YouTube:
Python Discord on Twitter: @pythondiscord
Python Discord on GitHub:

PEP 8 Song:

YouTube Live Stream version of this show:


Talk Python Training
Mar 01, 2021
#304 asyncio all the things with Omnilib
The relatively recent introduction of async and await as keywords in Python have spawned a whole area of high performance, highly scalable frameworks and supporting libraries. One such library that has great async building blocks is Omnilib.

On this episode, you'll meet John Reese. John is the creator of Omnilib, which includes packages such as aioitertools, aiomultiprocess, and aiosqlite. Join us as we async all the things.

Links from the show

Omnilib libraries and project:

Live Youtube Stream:

Power On:
The Trevor Project:


Talk Python Training
Feb 21, 2021
#303 Python for Astronomy with Dr. Becky
If you are involved in science or use computational tools in your work, you should be using code to solve your problem. On this episode, we have Dr. Becky Smethurst who's an astrophysicist at Oxford University. She uses Python to explore galaxies and black holes.

Learn how she's using Python to make new discoveries at the cutting edge of research and dive into a couple of her YouTube videos aimed at spreading scientific truth in an entertaining wrapper.

Links from the show

Dr. Becky on Twitter: @drbecky_
Dr. Becky's YouTube channel:
5 ways I use code as an astrophysicist video:
Astrophysicist reacts to funny space MEMES video:
A day in the life of an Oxford University Astrophysicist:
Book: Space: 10 things you should know:

Apple maps: image
Otter space: image
Eclipses: image
Steals a cow: image
Black holes: image

YouTube live stream:


Talk Python Training
Feb 12, 2021
#302 The Data Engineering Landscape in 2021
I'm sure you're familiar with data science. But what about data engineering? Are these the same or how are they related?

Data engineering is dedicated to overcoming data-processing bottlenecks, data cleanup, data flow and data-handling problems for applications that utilize lots of data.

On this episode, we welcome back Tobias Macey to give us the 30,000 ft view of the data engineering landscape in 2021.

Links from the show

Live Stream Recordings:

Tobias Macey:

Data Engineering podcast:

Designing Data-Intensive Applications Book:
A Beginner’s Guide to Data Engineering:
Apache Airflow:
#68 Crossing the streams with Podcast.__init__:
Great Expectations:
Languages trends on StackOverflow:


Talk Python Training
Feb 04, 2021
#301 Deploying and running Django web apps in 2021
Have you been learning Django and now want to get your site online? Not sure the best way to host it or the trade offs between the various options? Maybe you want to make sure your Django site is secure. On this episode, I'm joined by two Django experts Will Vincent and Carlton Gibson to talk about deploying and running Django in production along with recent updates in Django 3.2 and beyond.

Links from the show

Will Vincent:
Carlton Gibson: @carltongibson

Watch the live stream:

Give me back my monolith:
Carlton’s Button hosting platform:
Django Software Foundation:
Django News newsletter:
Deployment Checklist:
Environs 3rd party package for environment variables:
Django Static Files & Templates:
Learn Django:

Configuring uWSGI for Production Deployment @ Bloomberg:


Talk Python Training
Jan 28, 2021
#300 Building a data science startup (panel)
You've heard that software developers and startups go hand-in-hand. But what about data scientists? Of course they! But how do you turn your data science skill set into a data science business skill set? What are some of the areas ripe for launching such a business into?

On this episode, I welcome back 4 prior guests who have all walked their own version of this path and are currently running successful Python-based Data Science startups:

* Ines Montani from Explosion AI
* Matthew Rocklin from Coiled
* Jonathon Morgan from Yonder AI
* William Stein from Cocalc

Links from the show

Ines Montani
Twitter: @_inesmontani
Explosion AI:

Matthew Rocklin
Twitter: @mrocklin
Jobs @ Coiled:

Jonathon Morgan
Twitter: @jonathonmorgan
Yonder AI:

William Stein
Twitter: @wstein389

Talk Python Live Streams:

Sentry Promo Code: TALKPYTHON2021


Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
Jan 22, 2021
#299 Personal search engine with datasette and dogsheep
In this episode, we'll be discussing two powerful tools for data reporting and exploration: Datasette and Dogsheep.

Datasette helps people take data of any shape or size, analyze and explore it, and publish it as an interactive website and accompanying API.

Dogsheep is a collection of tools for personal analytics using SQLite and Datasette. Imagine a unified search engine for everything personal in your life such as twitter, photos, google docs, todoist, goodreads, and more, all in once place and outside of cloud companies.

On this episode we talk with Simon Willison who created both of these projects. He's also one of the co-creators of Django and we'll discuss some early Django history!

Links from the show

Datasheet newsletter:
Video: Build your own data warehouse for personal analytics with SQLite and Datasette:

Personal data warehouses:
Global power plants:
SF data:
Lahman’s Baseball Database:
Live demo of current main:


Talk Python Training
Jan 17, 2021
#298 Building ML teams and finding ML jobs
Are you building or running an internal machine learning team? How about looking for a new ML position? On this episode, I talk with Chip Huyen from Snorkel AI about building ML teams, finding ML positions, and teach ML at Stanford.

Links from the show

Chip on Twitter: @chipro
Snorkel AI:
Chip's Book Preview:
handcalcs project:
IBM Buzzword Bingo:


Talk Python Training
Jan 11, 2021
#297 Python year in review (2020 edition)
2020 will be one for the history books, won't it? I've put together a great group to look back on 2020 - from the Python perspective.

Join me along with Cecil Phillip, Ines Montani, Jay Miller, Paul Everitt, Reuven Lerner, Matt Harrison, and Brian Okken for a light-hearted and fun look back on the major Python events of 2020.

Links from the show

Video version of this episode:

Cecil Phillip: @cecilphillip
Ines Montani: @_inesmontani
Jay Miller: @kjaymiller
Paul Everitt: @paulweveritt
Reuven Lerner: @reuvenmlerner
Matt Harrison: @__mharrison__
Brian Okken: @brianokken


Talk Python Training
Dec 28, 2020
#296 Python in F1 racing
Quick: Name the 3 most advanced engineering organizations you can think of? Maybe an aerospace company such as SpaceX or Boeing come to mind. Maybe you thought of CERN and the LHC. But in terms of bespoke engineering capabilities, you should certainly put the F1 racing teams on your list.

These organizations appear as 20-30 people on a race day shown on TV. But in fact, the number of people back at the home base doing the engineering work can be over 500 employees. Almost every tiny part you see on these cars as well as the tools to maintain them are custom-built.

The engineering problems solved are immense. Would it surprise you to know that Python is playing a major role here? On this episode, you'll meet Joe Borg who help pioneer Python's adoption at several F1 teams.

Links from the show

Joe's website:
Joe on Twitter: @joedborg

Racing Point F1 team:
Scuderia Alpha Tauri F1 team:

Charmed Kubernetes:


Talk Python Training
Dec 23, 2020
#295 GIS + Python
Geography is the study of places and the relationships between people and their environments. Often we think of maps, but maps are static. GIS gets interesting when you realize that we're studying and visualizing data flowing through these locations and communities.

In this episode, you'll meet Silas Toms. He's an author of several Python GIS books and the host of The Mappist Hour podcast. Are you ready to dive into GIS with Python?

Links from the show

Silas on twitter Twitter: @loki_president

Silas' Books:
Mastering Geospatial Analysis with Python: Explore GIS processing and learn to work with GeoDjango, CARTOframes and MapboxGL-Jupyter:
ArcPy and ArcGIS – Geospatial Analysis with Python:
ArcPy and ArcGIS - Second Edition: Automating ArcGIS for Desktop and ArcGIS Online with Python:

The Mappyist Hour podcast:

GeoAlchemy ORM:
Mapbox GL:
Deck GL:


Talk Python Training
Dec 18, 2020
#294 oso authorizes Python
When we think about accounts and security, we often think about identity (logging in and proving who you are). But for many applications, especially internal apps at large organizations, that's just step one. The next step is what can you do and what can you not do.

In this episode, you'll learn about a new library called oso. It's a declarative way to create policy code that maps to your mental model for who is allowed to do what in your system. We have two guests, Graham Neray and Sam Scott from the oso project to tell us all about it.

Links from the show

Oso on twitter: @osoHQ
Graham on twitter: @grahamneray
Sam on twitter: @samososos


Django docs:
Flask docs:
Python library docs:
Source code:
Debugger docs:

Polar Adventure: A text-based adventure game written in Polar:

Adding authorization to your Flask app with oso:
Building a Django app with data access controls:
Django Queryset filters from oso policies:

Recent episode on authentication over at Talk Python:
MongoDB most wanted DB:
Talk Python [pro edition]:
FastAPI course:


Talk Python Training
Dec 07, 2020
#293 Learning how to learn as a developer
As software developers, we live in a world of uncertainty and flux. Do you need to build a new web app? Well maybe using Django makes the most sense if you've been doing it for a long time. There is Flask, but it's more mix and match being a microframework. But you've also heard that async and await are game changers and FastAPI might be the right choice.

Whatever it is you're building, there is constant pressure to stay on top of a moving target. Learning is not something you do in school then get a job as a developer. No, it a constant and critical part of your career. That's why we all need to be good, very good, at it.

Matt Harrison is back on Talk Python to talk to us about some tips, tricks, and even science about learning as software developers.

Links from the show

Matt on Twitter: @__mharrison__
Matt's Learning Course (use code TALKPYTHON20 for 20% off):

Friends of the show:
Jupyter LSP:


Talk Python Training
Dec 01, 2020
#292 Pythonic identity (auth in Python ecosystem)
So you're excited about that next app you're about to build. You can visualize the APIs with the smooth scalability taking to the mobile apps. You can see how, finally, this time, you'll get deployment right and it'll be pure continuous delivery out of GitHub with zero downtime.

What you're probably not dreaming about is writing yet another password reset form and integrating mail capabilities just for this purpose. Or how you'll securely store user accounts the right way this time.

Don't worry, we got you covered. Our guests, Christos Matskas and John Patrick Dandison are here to cover a bunch of different libraries and techniques we can use for adding identity to our Python applications.

Links from the show

Christos on Twitter: @christosmatskas
John Patrick Dandison on Twitter: @azureandchill

shhgit live:
Twitch channel for Christos and JP:

Passlib & Folding:
Microsoft Authentication Library:
authlib - JavaScript Object Signing and Encryption draft implementation:
django-allauth - Authentication app for Django that "just works":
django-oauth-toolkit - OAuth 2 goodies for Django:
python-oauth2 - A fully tested, abstract interface to creating OAuth clients and servers:
python-social-auth - An easy-to-setup social authentication mechanism:


Talk Python Training
Nov 26, 2020
#291 Operational Resilience with Pyomo
Do you have a scientific system that needs optimization or solving? Our guest, on this episode, Clark Petri is here to tell us all about pyomo. This is a library that can solve all sorts of cool problems, linear programming, nonlinear equations, and many other things you can throw at it.

We're gonna solve a really fun diet problem: What is the most nutritious meal that you can eat for the least amount of money? The answer might surprise you a little bit! It's going to be a lot of fun. So listen in to hear about how Clark has used pyomo to do his work and how you might use it in yours.

Links from the show

Clark on Twitter: @clarkpetri
Center for Infrastructure Defense:
I’m not alone in my work post:
handcalcs package:
Diet optimization problem:

Talk Python [Pro Edition]:
Black Friday at Talk Python:


Talk Python Training
Nov 22, 2020
#290 Side Hustles for Data Scientists
Are you a data scientist looking to branch out on your own and start something new? Maybe you're just looking for a way to work with those exciting libraries that aren't yet in play at the day job. Rather than putting everything on the line, quitting your job, and hoping things work out, maybe you should start with a side-hustle.

On this episode, you'll meet Keith McCormick, a data scientist who has many irons in the fire and he's here to tell us about different types of side hustles and why you may want to try or avoid one.

Links from the show

Keith on Twitter: @kmccormickblog
Keith on LinkedIn:
Keith's courses:
Side Hustle Strategies for Data Science and Analytics Experts course:

Talk Python's Excel to Python course:


Talk Python Training
Nov 13, 2020
#289 Discovering exoplanets with Python
When I saw the headline "Machine learning algorithm confirms 50 new exoplanets in historic first" I knew the Python angle of this story had to be told! And that's how this episode was born. Join David Armstrong and Jev Gamper as they tell us how they use Python and machine learning to discover not 1, but 50 new exoplanets in pre-existing Keplar satellite data.

Links from the show

Jev Gamper on Twitter: @brutforcimag
Machine learning algorithm confirms 50 new exoplanets in historic first article:


Talk Python Training
Nov 09, 2020
#288 10 tips to move from Excel to Python
Excel is one of the most used and most empowering piece of software out there. But that doesn't make it a good fit for every data processing need. And when you outgrow Excel, a really good option for a next step is Python and the data science tech stack: Pandas, Jupyter, and friends.

Chris Moffitt is back on Talk Python to give us concrete tips and tricks for moving from Excel to Python!

Links from the show

Chris on Twitter: @chris1610
Practical Business Python:
Escaping Excel Hell with Python and Pandas Episode 200:
SideTable package:

Learn more and go deeper
Move from Excel to Python with Pandas Course:
Excel to Python webcast:


Voyager game
Talk Python Training
Oct 31, 2020
#287 Testing without dependencies, mocking in Python
We know our unit tests should be relatively independent from other parts of the system. For example, running a test shouldn't generally call a credit card possessing API and talk to a database when your goal is just to test the argument validation.

And yet, your method does all three of those and more. What do you do? Some languages use elaborate dependency passing frameworks that go under the banner of inversion of control (IoC) and dependency injections (DI). In Python, the most common fix is to temporarily redefine what those two functions do using patching and mocking.

On this episode, we welcome back Anna-Lena Pokes to talk us through the whole spectrum of test doubles, dummies, mocks, and more.

Links from the show

Anna-Lena's personal site:
100 Days of Code episode:
Anna-Lena on Github:
PyCon talk from Lisa Road (2018) - “Demystifying the patch function”:
PyCon talk from Edwin Jung (2019) - Mocking and Patching Pitfalls:
Keynote talk “Finding Magic in Python” (about magical universe
Blog post about mocking in Python:
Stackoverflow post on difference between stubs and mocks:
Freezegun project:
KI Macht Schule (AI goes to school):
Code Combat:


Talk Python Training
Oct 21, 2020