Talk Python to Me is a weekly podcast hosted by Michael Kennedy. The show covers a wide array of Python topics as well as many related topics. Our goal is to bring you the human story behind the Python packages and frameworks you know and love.
#447: Parallel Python Apps with Sub Interpreters
It's an exciting time for the capabilities of Python. We have the Faster CPython initiative going strong, the recent async work, the adoption of typing and on this episode we discuss a new isolation and parallelization capability coming to Python through sub-interpreters. We have Eric Snow who spearheaded the work to get them added to Python 3.12 and is working on the Python API for 3.13 along with Anthony Shaw who has been pushing the boundaries of what you can already do with subinterpreters.
Episode sponsors
Pybites PDM
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Courses
Links from the show
Guests
Anthony Shaw: @tonybaloney@fosstodon.org
Eric Snow: /@ericsnowcurrently@mastodon.social
PEP 684 – A Per-Interpreter GIL: peps.python.org
PEP 734 – Multiple Interpreters in the Stdlib: peps.python.org
Running Python Parallel Applications with Sub Interpreters: fosstodon.org
pytest subinterpreters: fosstodon.org
Long-Term Vision for a Parallel Python Programming Model?: fosstodon.org
Hypercorn Server: github.com
msgspec: jcristharif.com
Dill package: pypi.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
2/3/2024 • 1 hour, 11 minutes, 9 seconds
#446: Python in Excel
Why is Python so popular? There is plenty of room for debate on this but one solid reason is it's easy to adopt, easy to use, and caters to people who are not quite developers/data scientists but need to do some computing. Do you know where there largest untapped set of that group hang out? Excel. That's why it's super exciting that Python is now going to be built directly into Excel. Just go into a cell and type =PY and you're off writing full Python 3 code that is backed by a lite Anaconda distribution of Python. And we have Dr. Sarah Kaiser here to give us the rundown on Python in Excel.
Episode sponsors
Posit
Pybites PDM
Talk Python Courses
Links from the show
Sarah's website: sckaiser.com
Sarah on Mastodon: @crazy4pi314@mathstodon.xyz
Get started with Python in Excel: microsoft.com
Python in SQL Server: microsoft.com
8 of the Biggest Excel Mistakes of All Time: blog.hurree.co
Security and Python in Excel: microsoft.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
1/26/2024 • 48 minutes, 9 seconds
#445: Inside Azure Data Centers with Mark Russinovich
When you run your code in the cloud, how much do you know about where it runs? I mean, the hardware it runs on and the data center it runs in? There are just a couple of hyper-scale cloud providers in the world. This episode is a very unique chance to get a deep look inside one of them: Microsoft Azure. Azure is comprised of over 200 physical data centers, each with 100,000s of servers. A look into how code runs on them is fascinating. Our guide for this journey will be Mark Russinovich. Mark is the CTO of Microsoft Azure and a Technical Fellow, Microsoft's senior-most technical position. He's also a bit of a programming hero of mine. Even if you don't host your code in the cloud, I think you'll enjoy this conversation. Let's dive in.
Episode sponsors
Posit
Pybites PDM
Talk Python Courses
Links from the show
Mark Russinovich: @markrussinovich
Mark Russinovich on LinkedIn: linkedin.com
SysInternals: learn.microsoft.com
Zero Day: A Jeff Aiken Novel: amazon.com
Inside Azure Datacenters: youtube.com
What runs chatgpt?: youtube.com
Azure Cobalt ARM chip: servethehome.com
Closing talk by Mark at Ignite 2023: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
1/19/2024 • 42 minutes, 25 seconds
#444: The Young Coder's Blueprint to Success
Are you early in your software dev or data science career? Maybe it hasn't even really started yet and you're still in school. On this episode we have Sydney Runkle who has had a ton of success in the Python space and she hasn't even graduated yet. We sit down to talk about what she's done and might do differently again to achieve that success. It's "The Young Coder's Blueprint to Success" on episode 444 of Talk Python To Me.
Links from the show
Sydney Runkle: linkedin.com
Pydantic: pydantic.dev
Code Combat: codecombat.com
Humanitarian Toolbox: www.htbox.org
PyCon 2024: pycon.org
Good first issue example: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
--- Episode sponsors ---
Talk Python Training
1/2/2024 • 54 minutes, 59 seconds
#443: Python Bytes Crossover 2023
Special crossover episode of Python Bytes to wrap up 2023. Topics include:
Michael #1: Hatch v1.8 Brian #2: svcs : A Flexible Service Locator for Python Michael #3: Steering Council 2024 Term Election Results Brian #4: Python protocols. When to use them in your projects to abstract and decoupling ExtrasJoke: Joke: The dream is dead?
--- Episode sponsors ---
Posit
Talk Python Training
12/29/2023 • 35 minutes, 15 seconds
#442: Ultra High Speed Message Parsing with msgspec
If you're a fan of Pydantic or dataclasses, you'll definitely be interested in this episode. We are talking about a super fast data modeling and validation framework called msgspec. Some of the types in here might even be better for general purpose use than Python's native classes. Join me and Jim Crist-Harif to talk about his data exchange framework, mspspec.
Links from the show
Jim Crist-Harif: jcristharif.com
Jim @ GitHub: github.com
Jim @ Mastdon: @jcristharif@hachyderm.io
msgspec: github.com
Projects using msgspec: github.com
msgspec on Conda Forge: anaconda.org
msgspec on PyPI: pypi.org
Litestar web framework: litestar.dev
Litestar episode: talkpython.fm
Pydantic V2 episode: talkpython.fm
JSON parsing with msgspec article: pythonspeed.com
msgspec bencharmks: jcristharif.com
msgspec vs. pydantic v1 and pydantic v2: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
--- Episode sponsors ---
Posit
Talk Python Training
12/14/2023 • 1 hour, 1 second
#441: Python = Syntactic Sugar?
You've probably heard the term "syntactic sugar", that is, syntax within a programming language that is designed to make things easier to read or to express. It makes the language "sweeter" for human use. It turns out Brett Cannon has spent 2 years diving into and writing about Python's sweet language features and how they really work down inside CPython. He joins me on the show today to dive into a few of the more relevant posts he's written about it.
Links from the show
Brett Cannon: @brettcannon@fosstodon.org
Syntactic sugar series: snarky.ca
Syntactic sugar: wikipedia.org
Unravelling attribute access in Python: snarky.ca
Unravelling binary arithmetic operations: snarky.ca
Unravelling the import statement: snarky.ca
record-type: pypi.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
--- Episode sponsors ---
Talk Python Training
12/6/2023 • 1 hour, 7 minutes, 14 seconds
#440: Talking to Notebooks with Jupyter AI
We all know that LLMs and generative AI has been working its way into many products. It's Jupyter's turn to get a really awesome integration. We have David Qiu here to tell us about Jupyter AI. Jupyter AI provides a user-friendly and powerful way to apply generative AI to your notebooks. It lets you choose from many different LLM providers and models to get just the help you're looking for. And it does way more than just a chat pane in the UI. Listen to find out.
Links from the show
David Qiu: linkedin.com
Jupyter AI: jupyter-ai.readthedocs.io
Asking about something in your notebook: jupyter-ai.readthedocs.io
Generating a new notebook: jupyter-ai.readthedocs.io
Learning about local data: jupyter-ai.readthedocs.io
Formatting the output: jupyter-ai.readthedocs.io
Interpolating in prompts: jupyter-ai.readthedocs.io
JupyterCon 2023 Talk: youtube.com
PyData Seattle 2023 Talk: youtube.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Posit
Talk Python Training
11/30/2023 • 58 minutes, 52 seconds
#439: Pixi, A Fast Package Manager
On this episode we have Wolf Vollprecht and Ruben Arts from the pixi project here to talk about pixi, a high performance package manager for Python and other languages that actually manages Python itself too. They have a lot of interesting ideas on where Python packaging should go and are putting their time and effort behind them. Will pixi become your next package manager? Listen in to find out.
Links from the show
Black Friday at Talk Python: talkpython.fm/blackfriday
Guests
Wolf Vollprecht: github.com/wolfv
Ruben Arts: github.com/ruben-arts
pixi: prefix.dev
Prefix: prefix.dev
Launching pixi: prefix.dev
Conda: docs.conda.io
Conda Forge: conda-forge.org
NixOS: nixos.org
Packaging Con 2023: packaging-con.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Posit
Python Tutor
Talk Python Training
11/22/2023 • 59 minutes, 4 seconds
#438: Celebrating JupyterLab 4 and Jupyter 7 Releases
Jupyter Notebooks and Jupyter Lab have to be one of the most important parts of Python when it comes to bring new users to the Python ecosystem and certainly for the day to day work of data scientists and general scientists who have made some of the biggest discoveries of recent times. And that platform has recently gotten a major upgrade with JupyterLab 4 released and Jupyter Notebook being significantly reworked to be based on the changes from JupyterLab as well. We have an excellent panel of guests, Sylvain Corlay, Frederic Collonval, Jeremy Tuloup, and Afshin Darian here to tell us what's new in these and other parts of the Jupyter ecosystem.
Links from the show
Guests
Sylvain Corlay
Frederic Collonval
Jeremy Tuloup
Afshin Darian
JupyterLab 4.0 is Here: blog.jupyter.org
Announcing Jupyter Notebook 7: blog.jupyter.org
JupyterCon 2023 Videos: youtube.com
Jupyterlite: github.com
Download JupyterLab Desktop: github.com
Mythical Man Month Book: wikipedia.org
Blender in Jupyter: twitter.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Phylum
Python Tutor
Talk Python Training
11/16/2023 • 1 hour, 4 minutes, 55 seconds
#437: HTMX for Django Developers (And All of Us)
Are you considering or struggling with replacing much of the interactivity of your Django app with frontend JavaScript frameworks? After all, your users do expect an interactive and modern app, right? Before you make a rash decision, you owe it to yourself to check out HTMX. It goes well with Django. We have Christopher Trudeau to run through a whole awesome list of HTMX and Python and tell us about his new HTMX + Django course.
Links from the show
Chris on ExTwitter: @cltrudeau
Django in Action book: manning.com
Django: djangoproject.com
HTMX + Django course: talkpython.fm
HTMX: htmx.org
awesome-htmx: github.com
awesome-python-htmx: github.com
django-js-lib-htmx: github.com
htmxflask: github.com
fastapi-sse-htmx: github.com
django-htmx-patterns: github.com
jinja2-fragments: github.com
jinja_partials: github.com
chameleon_partials: github.com
django-render-block: github.com
flask-htmx: github.com
htmx-flask: github.com
asgi-htmx: github.com
hx-requests: github.com
django-dashboards: github.com
A Real World React -> htmx Port: htmx.org
3 IRL use cases for Python and HTMX: bitecode.dev
owela-club: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
IRL Podcast
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
11/7/2023 • 1 hour, 4 minutes, 50 seconds
#436: An Unbiased Evaluation of Environment and Packaging Tools
How well do you know your Python packaging tools? These are things like pip which install your project's dependencies and their dependencies and so on. In this mix, we have more modern tools such as Poetry, Flit, Hatch and others. And even tools outside of Python itself which may attempt to manage Python itself in addition to the libraries. To make sense of all of this, we welcome back Anna-Lena Popkes for an unbiased evaluation of environment and packaging tools.
Links from the show
Anna-Lena's website: alpopkes.com
Anna-Lena on GitHub: github.com
Accompanying Blog Post: alpopkes.com
Talk from PyCon DE: youtube.com
Talk from EuroPython: youtube.com
Talk Python's Data Science Jumpstart with 10 Projects course: talkpython.fm
Rye: github.com
Poetry: python-poetry.org
Material for MkDocs: squidfunk.github.io
100 Days of Python in a Magical Universe Episode: talkpython.fm
pip-tools: pip-tools.readthedocs.io
Hatch: hatch.pypa.io
PDM: pdm.fming.dev
Flit: flit.pypa.io
Conda: docs.conda.io
Pipenv: pipenv.pypa.io
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
IRL Podcast
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
11/1/2023 • 58 minutes, 32 seconds
#435: PyPI Security
Do you worry about your developer / data science supply chain safety? All the packages for the Python ecosystem are much of what makes Python awesome. But the are also a bit of an open door to your code and machine. Luckily the PSF is taking this seriously and hired Mike Fiedler as the full time PyPI Safety & Security Engineer (not to be confused with the Security Developer in Residence staffed by Seth Michael Larson). Mike is here to give us the state of the PyPI security and plans for the future.
Links from the show
Mike on Twitter: @mikefiedler
Mike on Mastodon: @miketheman@hachyderm.io
Supply Chain examples
SolarWinds: csoonline.com
XcodeGhost: wikipedia.org
Google Ad Malware: medium.com
PyPI: pypi.org
OWASP Top 10: owasp.org
Trusted Publishers: docs.pypi.org
libraries.io: libraries.io
GitHub Full 2FA: github.blog
Mike's Latest Blog Post: blog.pypi.org
pprintpp package: github.com
ICDiff: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
10/25/2023 • 1 hour, 3 minutes, 23 seconds
#434: Building Mobile Apps Backed with Python
Are you building a mobile app and wondering where Python fits in the mix? Are you support others building these apps with backend APIs written in Python? Can you write your entire app, end to end, in Python? I have a great panel put together to discuss exactly this. And they all have a different and unique take on the options. Welcome to Loren Aguey, Harout Boujakjian, Andréas Kühne, Jeyfrin and, Joshua.
Links from the show
Guests
Loren Aguey: linkedin.com
Harout Boujakjian: linkedin.com
Andréas Kühne: linkedin.com
Jeyfrin, Joshua
Talk Python Mobile App: training.talkpython.fm/apps
Epic Skies App: play.google.com
PinPlanet App: pinplanetapp.com
My Club App: apps.apple.com
vid3d App: play.google.com
Flutter: flutter.dev
Flutter Showcase: flutter.dev
pub.dev, Flutter's PyPI: pub.dev
FastAPI: fastapi.tiangolo.com
Litestar: litestar.dev
Pyramid Web Framework: trypyramid.com
Flask: flask.palletsprojects.com
Django: djangoproject.com
Django REST Framework: django-rest-framework.org
Kivy: kivy.org
Swift: developer.apple.com
Ionic Framework: ionicframework.com
Ionic Source: github.com
Flutter Source: github.com
Kivy Source: github.com
Bloc: State management for Dart: bloclibrary.dev
Swift Package Manager (SwiftPM): swift.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
We all know about Flask and Django. And of course FastAPI made a huge splash when it came on the scene a few years ago. But new web frameworks are being creating all the time. And they have these earlier frameworks to borrow from as well. On this episode we dive into a new framework gaining a lot of traction called Litestar. Will it be the foundation of your next project? Join me as I get to know Litestar with its maintainers: Jacob Coffee, Janek Nouvertné, and Cody Fincher.
Links from the show
Guests
Jacob Coffee
Jacob on Github: github.com
Jacob on Twitter: @_scriptr
Jacob on Mastodon: @Monorepo
Cody Fincher
Cody on LinkedIn: linkedin.com
Cody on GitHub: github.com
Email: cody.fincher@gmail.com
Janek Nouvertné
Janek on GitHub: github.com
Email: j.a.nouvertne@posteo.de
Litestar: litestar.dev
Litestar Documentation: litestar.dev
Litestar on Twitter: @LitestarAPI
Litestar on Mastodon: @litestar
Litestar Blog: blog.litestar.dev
Discord: discord.gg
Reddit r/Litestar: eddit.com
Litestar on PyPI: pypi.org
Benchmarks: docs.litestar.dev
v2.0 Release: github.com
gunicorn: gunicorn.org
msgspec: github.com
httpx-sse: github.com
duckdb: duckdb.org
rich-click: github.com
blacksheep server: neoteroi.dev
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
10/15/2023 • 1 hour, 4 minutes, 46 seconds
#432: Migrating to Pydantic 2.0: Beanie for MongoDB
By now, surely you've heard how awesome Pydantic version 2 is. The team led by Samual Colvin spent almost a year refactoring and reworking the core into a high-performance Rust version while keeping the public API in Python and largely unchanged. The main benefit of this has been massive speed ups for frameworks and devs using Pydantic.
But just how much work is it to take a framework deeply built on Pydantic and make that migration? What are some of the pitfalls? On this episode, we welcome back Roman Right to talk about his experience converting Beanie, the popular MongoDB async framework based on Pydantic, from Pydantic v1 to v2. And we'll have some fun talking MongoDB as well while we are at it.
Links from the show
Beanie: beanie-odm.dev
Beanie on GitHub: github.com
Roman on Twitter: @roman_the_right
Beanie Release 1.21.0: github.com
Talk Python's MongoDB with Async Python Course: talkpython.fm
Pydantic Migration Guide: docs.pydantic.dev
Customizing validation with __get_pydantic_core_schema__: docs.pydantic.dev
Bunnet (Sync Beanie): github.com
Generic `typing.ForwardRef` to support generic recursive types: discuss.python.org
Pydantic v2 - The Plan Episode: talkpython.fm
Future of Pydantic and FastAPI episode: talkpython.fm
Beanie Lazy Parsing: beanie-odm.dev
Beanie Relationships: beanie-odm.dev
Locust Load Testing: locust.io
motor package: pypi.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Studio 3T
Talk Python Training
10/6/2023 • 53 minutes, 54 seconds
#431: Visualizing CPython Release Process
Every year Python has a new major release. This year it's Python 3.12 and it'll come out on October 2, 2023. That's 4 days from when this episode was published. There is quite process involved to test, build, and ship Python across many platforms and channels. We have Seth Michael Larson here to give us a detailed rundown on what exactly is involved in releasing CPython.
Links from the show
Seth on Mastodon: fosstodon.org/@sethmlarson
Seth on Twitter: @sethmlarson
Seth on Github: github.com
Announcing Security Developer-in-Residence: sethmlarson.dev
Visualizing the CPython Release Process: sethmlarson.dev
PEP 101: peps.python.org
CPython on Github: github.com
Best Open SSF: best.openssf.org
pip-audit: github.com
PyPA Advisory Database: github.com
Omnivore App: omnivore.app
What's New in 3.12: docs.python.org
release-tools package: github.com
Talk Python's HTMX + Django course: talkpython.fm/htmx-django
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
PyCharm
Talk Python Training
9/29/2023 • 1 hour, 2 minutes, 12 seconds
#430: Delightful Machine Learning Apps with Gradio
So, you've got this amazing machine learning model you created. And you want to share it and let your colleagues and users experiment with it on the web. How do you get started? Learning Flask or Django? Great frameworks, but you might consider Gradio which is a rapid development UI framework for ML models. On this episode, we have Freddy Boulton, to introduce us all to Gradio.
Links from the show
Freddy on Twitter: @freddy_alfonso_
Gradio: gradio.app
Use as API Example: huggingface.co
Components: gradio.app
Svelte: svelte.dev
Flutter UI/Code structure: docs.flutter.dev
XKCD Matplotlib Theme: matplotlib.org
Gradio XKCD Full Theme: huggingface.co
PrivateGPT: ai.meta.com
Langchain: docs.langchain.com
pipdeptree: pypi.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
PyCharm
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
9/19/2023 • 59 minutes, 43 seconds
#429: Taming Flaky Tests
We write tests to show us when there are problems with our code. But what if there are intermittent problems with the tests themselves? That can be big hassle. In this episode, we have Gregory Kapfhammer and Owain Parry on the show to share their research and advice for taming flaky tests.
Links from the show
Gregory Kapfhammer: gregorykapfhammer.com
Owain Parry on Twitter: @oparry9
Radon: pypi.org
pytest-xdist: github.com
awesome-pytest: github.com
Tenacity: readthedocs.io
Stamina: github.com
Flaky Test Management: docs.cypress.io
Flaky Test Management (Datadog): datadoghq.com
Flaky Test Management (Spotify): engineering.atspotify.com
Flaky Test Management (Google): testing.googleblog.com
Detecting Test Pollution: github.com
Surveying the developer experience of flaky tests paper: www.gregorykapfhammer.com
Build Kite CI/CD: buildkite.com
Flake It: Finding and Fixing Flaky Test Cases: github.com
Unflakable: unflakable.com
CircleCI Test Detection: circleci.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
PyCharm
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
9/11/2023 • 1 hour, 9 minutes
#428: Django Trends in 2023
Have you heard of Django? It's this little web framework that, well, kicked off much of Python's significance in the web space back in 2005. And that makes Django officially an adult. That's right, Django is now 18. And Django continues to lead the way on how community should be done for individual projects such as web frameworks. We have Carlton Gibson and Will Vincent back on the show this episode to discuss a bit of the Django history, Django trends in 2023, a little HTMX + Django, and lots more.
Links from the show
Guests
Will Vincent: wsvincent.com
Carlton Gibson: @carlton@fosstodon.org
Button.dev: btn.dev
Learn Django: learndjango.com
Django News: django-news.com
Yak-Shaving to Where the Puck is Going to Be Talk: youtube.com
Open Source for the Long Haul: fosstodon.org
Django 4.2: docs.djangoproject.com
Django 5: docs.djangoproject.com
Environs: github.com
Neapolitan: github.com
Django Template Paritals: github.com
Jinja Partials: github.com
Django Chat Podcast: djangochat.com
Locality of Behavior Essay: htmx.org
HTMX: htmx.org
You're Fullstack Now Meme: twitter.com
Deployment Checklist: docs.djangoproject.com
Django-HTMX: github.com
Django @Instagram DjangoChat: djangochat.com
Talk Python HTMX Course: talkpython.fm
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
8/29/2023 • 1 hour, 9 minutes, 50 seconds
#427: 10 Tips and Ideas for the Beginner to Expert Python Journey
Getting started in Python is pretty easy. There's even a t-shirt that jokes about it: I learned Python, it was a good weekend. But to go from know how to create variables and writing loops, to building amazing things like FastAPI or Instagram, well there is this little gap between those two things. On this episode we welcome Eric Matthes to the show. He has thought a lot about teaching Python and comes to share his 10 tips for going from Python beginner to expert.
Links from the show
Eric on LinkedIn: linkedin.com
Mostly Python Newsletter: mostlypython.substack.com
Python Crash Course Book: nostarch.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
GlareDB
Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training
8/19/2023 • 1 hour, 6 minutes, 6 seconds
#426: What's New in PyScript [August 2023]
One of the most exciting initiatives in the Python space these days is pyscript which enables Python running natively in your browser. With consistent support from the folks at Anaconda, this project has been making solid strides since its initial release. On this episode we catch up with Fabio Pliger and Nicholas Tollervey to see where they are with the pyscript project.
Links from the show
Guests and Host Links
Nicholas Tollervey: @ntoll@mastodon.social
Fabio Pliger: @b_smoke
Michael Kennedy: @mkennedy@fosstodon.org
pyscript: pyscript.net
pyscript on Github: github.com
Tic Tac Toe Example App: pyscriptapps.com
PyperCard: github.com
MicroPython: micropython.org
pyscript core: pyscript.net
Nich's PyScript gets Python anywhere there's a browser video: youtube.com
HTMX: htmx.org
Birth and Death of JavaScript: destroyallsoftware.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
PyCharm
Sentry Error Tracing, Code TALKPYTHON
Talk Python Training
8/9/2023 • 1 hour, 5 minutes
#425: Memray: The endgame Python memory profiler
Understanding how your Python application is using memory can be tough. First, Python has it's own layer of reused memory (arenas, pools, and blocks) to help it be more efficient. And many important Python packages are built in natively compiled languages like C and Rust often times making that section of your memory opaque. But with Memray, you can way deeper insight into your memory usage. We have Pablo Galindo Salgado and Matt Wozniski back on the show to dive into Memray, the sister project to their pystack one we recently covered.
Links from the show
Pablo Galindo Salgado: @pyblogsal
Matt Wozniski: github.com
pytest-memray: github.com
PEP 669 – Low Impact Monitoring for CPython: peps.python.org
Memray discussions: github.com
Mandlebrot Flamegraph example: bloomberg.github.io
Python allocators: bloomberg.github.io
Profiling in Python: docs.python.org
PEP 693 – Python 3.12 Release Schedule: peps.python.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
PyCharm
influxdata
Talk Python Training
8/4/2023 • 1 hour, 10 minutes, 28 seconds
#424: Shiny for Python
If you want to share your data science results as interactive web apps, you could learn Flask or Django and a bunch of other web technologies. Or, you could pick up one of the powerful frameworks for deploying data science specifically. And if you're searching through that space, you've likely hear of Shiny -- but that's just for the R side of data science, right? Not any longer. Joe Cheng is here to introduce us to the recently released Shiny for Python. And it looks like a very solid new framework on the block.
Links from the show
Joe on Twitter: @jcheng
Shiny: shiny.posit.co
Shiny for Python code: github.com
Discord community for Shiny: discord.gg
Reactive programming inside Shiny: shiny.posit.co
Shiny Gallery: shiny.posit.co
Examples: shiny.posit.co
Orbital mechanics in Shiny: shiny.posit.co
Wordle in Shiny: shiny.posit.co
Keynote introducing Shiny for Python: youtube.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
influxdata
GlareDB
Talk Python Training
7/27/2023 • 1 hour, 4 minutes, 22 seconds
#423: Solving 10 different simulation problems with Python
Python is used for a wide variety of software projects. One area it's really gained a huge amount of momentum is in the computational space (including data science). On this episode we welcome back Allen Downey to dive into a particular slice of this space: simulation problems and Python in Physics and Engineering in general.
Links from the show
Allen’s web page: allendowney.com
Allen’s blog (Probably Overthinking It): allendowney.com/blog
Allen on Twitter: @allendowney
Allen on Mastodon: @allendowney@fosstodon.org
Modeling and Simulation in Python book: allendowney.github.io
Programming as a Way of Thinking: blogs.scientificamerican.com
Think Python book: greenteapress.com
Think OS book: greenteapress.com
Pint package: pint.readthedocs.io
Free version of the book and Jupyter notebooks: allendowney.github.io
Published version: nostarch.com
Elm programming language: elm-lang.org
SymPy examples: docs.sympy.org
Guinness World Record won for bungee 'dunk' into cup of tea: youtube.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
influxdata
Pybites PDM
Talk Python Training
7/24/2023 • 1 hour, 6 minutes, 32 seconds
#422: How data scientists use Python
Regardless of which side of Python, software developer or data scientist, you sit on, you surely know that data scientists and software devs seem to have different styles and priorities. But why? And what are the benefits as well as the pitfalls of this separation. That's the topic of conversation with our guest, Dr. Jodie Burchell, data science developer advocate at JetBrains.
Links from the show
Jodie on Twitter: @t_redactyl
Jodie's PyCon Talk: youtube.com
Deep Learning with Python book: manning.com
Keras: keras.io
scikit-learn: scikit-learn.org
Matplotlib: matplotlib.org
XKCD Matplotlib: matplotlib.org
Pandas: pandas.pydata.org
Polars: pola.rs
Polars on Talk Python: talkpython.fm
Jupyter: jupyter.org
Ponder: ponder.io
Dask: dask.org
Explosion AI's Prodigy discount code: get a personal license for 25% off using the discount code TALKPYTHON.
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
PyCharm
Prodigy
Talk Python Training
7/7/2023 • 1 hour, 2 minutes, 16 seconds
#421: Python at Netflix
When you think of Netflix (as a technology company), you probably imagine them as cloud innovators. They were one of the first companies to go all-in on a massive scale for cloud computing as well as throwing that pesky chaos monkey into the servers. But they have become a hive of amazing Python activity. From their CDN, demand predictions and failover, security, machine learning, executable notebooks and lots more, the Python at play is super interesting. On this episode, we have Zoran Simic and Amjith Ramanujam on the show to give us this rare inside look.
Links from the show
Zoran on Twitter: @zsimic
Amjith on Mastodon: @amjith@fosstodon.org
Python at Netflix blog post: netflixtechblog.com
pdb++: github.com
Pickley: github.com
Pickley vs. pipx: github.com
DB CLI: dbcli.com
Learn you a Haskell: learnyouahaskell.com
How Much of the Internet's Bandwidth Does Netflix Use?: makeuseof.com
PtPython: github.com
BPython: bpython-interpreter.org
Flask REST-Plus: readthedocs.io
RustUp: rustup.rs
Rye: github.com
PEP 711 - Distributing Python Binaries episode: talkpython.fm
Portable Python: github.com
Python Build Standalone: github.com
How Netflix does failovers in 7 minutes flat: opensource.com
Security Monkey: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
PyCharm
influxdata
Talk Python Training
7/2/2023 • 1 hour, 4 minutes, 6 seconds
#420: Database Consistency & Isolation for Python Devs
When you use a SQL database like Postgres, you have to understand the subtleties of isolation levels from "read committed" to "serializable." And distributed databases like MongoDB offer a range of consistency levels, from "eventually consistent" to "linearizable" and many options in between. Plus, it's easy enough to confuse "isolation" with "consistency!" We have A. Jesse Jiryu Davis from MongoDB back on the podcast to break it all down for us.
Links from the show
Jesse on Twitter: @jessejiryudavis
Jesse on Mastodon: @jessejiryudavis@mas.to
Files related to PyCon Talk: github.com
Consistency and Isolation for Python Programmers blog post: emptysqua.re
Consistency Models and Visuals: jepsen.io
MongoDB Replication: mongodb.com
MongoDB Transactions: mongodb.com
Jesse's PyCon Talk: youtube.com
Database Types: mongodb.com
MongoDB Labs: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Sentry Error Monitoring, Code TALKPYTHON
influxdata
Talk Python Training
6/26/2023 • 56 minutes, 2 seconds
#419: Debugging Python in Production with PyStack
Here's the situation. You have a Python app that is locked or even has completely crashed and all you're left with is a core dump on the server. Now what? It's time for PyStack! You can capture a view of your app as if you've set a breakpoint and even view the callstack and locals across language calls (for example from Python to C++ and back). We have the maintainers, Pablo Galindo Salgado and Matt Wozniski, here to dive into PyStack. You'll definitely want to have this tool in your toolbox.
Links from the show
Pablo Galindo Salgado: @pyblogsal
Matt Wozniski: github.com
pystack: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
Sentry Error Monitoring, Code TALKPYTHON
RedHat
Talk Python Training
6/14/2023 • 1 hour, 12 minutes, 23 seconds
#418: How To Keep A Secret in Python Apps
Think about the different APIs and databases your application works with. Every one of them requires either an API key or a database connection string that itself contains a password. How do you let your application access this sensitive information without storing it in source code or putting in other compromising locations? We have Glyph Lefkowitz on the show to share his security fable as well as just good advice for keeping secrets out of Python code.
Links from the show
Glyph on Mastodon: @glyph@mastodon.social
ShhGit: github.com
Encrust: github.com
GitHub Security Alerts: github.com
CIA Triad: fortinet.com
pinpal: github.com
XKCD Authorization: xkcd.com
Tokenring: github.com
AWS Vault: github.com
Gimme-AWS-creds: github.com
Secrets in GitHub Actions: github.com
Python Client for HashiCorp Vault: python-hvac.org
Pomodouroboros app: github.com
DateType: pypi.org
Haveibeenpwned: haveibeenpwned.com
PEP 541: peps.python.org
Glyph's security talk at PyCon: us.pycon.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Sponsors
PyCharm
RedHat
Talk Python Training
6/2/2023 • 1 hour, 7 minutes, 11 seconds
#417: Test-Driven Prompt Engineering for LLMs with Promptimize
See the full show notes for this episode on the website at talkpython.fm/417
5/30/2023 • 1 hour, 13 minutes, 41 seconds
#416: Open Source Sports Analytics with PySport
See the full show notes for this episode on the website at talkpython.fm/416
5/22/2023 • 57 minutes, 29 seconds
#415: Future of Pydantic and FastAPI
See the full show notes for this episode on the website at talkpython.fm/415
5/15/2023 • 50 minutes, 5 seconds
#414: A Stroll Down Startup Lane
See the full show notes for this episode on the website at talkpython.fm/414
5/7/2023 • 52 minutes, 47 seconds
#413: Live from PyCon 2023
See the full show notes for this episode on the website at talkpython.fm/413
4/26/2023 • 47 minutes, 20 seconds
#412: PEP 711 - Distributing Python Binaries
See the full show notes for this episode on the website at talkpython.fm/412
4/19/2023 • 1 hour, 18 minutes, 20 seconds
#411: Things I Wish Someone Had Explained To Me Sooner About Python
See the full show notes for this episode on the website at talkpython.fm/411
4/14/2023 • 1 hour, 3 minutes, 45 seconds
#410: The Intersection of Tabular Data and Generative AI
See the full show notes for this episode on the website at talkpython.fm/410
4/6/2023 • 1 hour, 5 minutes, 38 seconds
#409: Privacy as Code with Fides
See the full show notes for this episode on the website at talkpython.fm/409
4/1/2023 • 1 hour, 8 minutes, 1 second
#408: Hatch: A Modern Python Workflow
See the full show notes for this episode on the website at talkpython.fm/408
3/24/2023 • 1 hour, 2 minutes, 59 seconds
#407: pytest tips and tricks for better testing
See the full show notes for this episode on the website at talkpython.fm/407
3/18/2023 • 56 minutes, 22 seconds
#406: Reimagining Python's Packaging Workflows
See the full show notes for this episode on the website at talkpython.fm/406
3/12/2023 • 1 hour, 6 minutes, 41 seconds
#405: Testing in Radio Astronomy with Python and pytest
See the full show notes for this episode on the website at talkpython.fm/405
3/3/2023 • 59 minutes, 21 seconds
#404: Clean Code in Python
See the full show notes for this episode on the website at talkpython.fm/404
2/20/2023 • 1 hour, 4 minutes, 42 seconds
#403: Fusion Ignition Breakthrough and Python
See the full show notes for this episode on the website at talkpython.fm/403
2/13/2023 • 1 hour, 4 minutes, 42 seconds
#402: Polars: A Lightning-fast DataFrame for Python [updated audio]
See the full show notes for this episode on the website at talkpython.fm/402
2/8/2023 • 58 minutes, 48 seconds
#401: Migrating 3.8 Million Lines of Python
See the full show notes for this episode on the website at talkpython.fm/401
2/2/2023 • 1 hour, 57 seconds
#400: Ruff - The Fast, Rust-based Python Linter
See the full show notes for this episode on the website at talkpython.fm/400
1/25/2023 • 1 hour, 3 minutes, 45 seconds
#399: Monorepos in Python
See the full show notes for this episode on the website at talkpython.fm/399
1/18/2023 • 1 hour, 10 minutes, 31 seconds
#398: Imaging Black Holes with Python
See the full show notes for this episode on the website at talkpython.fm/398
1/14/2023 • 58 minutes, 13 seconds
#397: Evaluating New Open Source Tech Panel
See the full show notes for this episode on the website at talkpython.fm/397
1/5/2023 • 1 hour, 3 minutes, 25 seconds
#396: AI Goes on Trial For Writing Code (crossover)
See the full show notes for this episode on the website at talkpython.fm/396
12/30/2022 • 37 minutes, 32 seconds
#395: Tools for README.md Creation and Maintenance
See the full show notes for this episode on the website at talkpython.fm/395
12/22/2022 • 1 hour, 13 minutes, 31 seconds
#394: Awesome Jupyter Libraries and Extensions in 2022
See the full show notes for this episode on the website at talkpython.fm/394
12/15/2022 • 1 hour, 2 minutes, 22 seconds
#393: Space Science with Python
See the full show notes for this episode on the website at talkpython.fm/393
12/8/2022 • 1 hour, 3 minutes, 29 seconds
#392: Data Science from the Command Line
See the full show notes for this episode on the website at talkpython.fm/392
12/2/2022 • 1 hour, 11 minutes, 4 seconds
#391: Pyscript powered by MicroPython
See the full show notes for this episode on the website at talkpython.fm/391
11/29/2022 • 1 hour, 11 minutes, 4 seconds
#390: Mastodon for Python Devs
See the full show notes for this episode on the website at talkpython.fm/390
11/15/2022 • 1 hour, 8 minutes, 41 seconds
#389: 18 awesome asyncio packages in Python
See the full show notes for this episode on the website at talkpython.fm/389
11/9/2022 • 57 minutes, 28 seconds
#388: Python 3.11 is here and it's fast
See the full show notes for this episode on the website at talkpython.fm/388
11/2/2022 • 1 hour, 6 minutes, 29 seconds
#387: Build All the Things with Pants Build System
See the full show notes for this episode on the website at talkpython.fm/387
10/27/2022 • 1 hour, 7 minutes, 50 seconds
#386: Realtime Web Apps and Dashboards with H2O Wave
See the full show notes for this episode on the website at talkpython.fm/386
10/19/2022 • 1 hour, 5 minutes, 37 seconds
#385: Higher level Python asyncio with AnyIO
See the full show notes for this episode on the website at talkpython.fm/385
10/15/2022 • 59 minutes, 55 seconds
#384: Python Data Visualization - Where To Start?
See the full show notes for this episode on the website at talkpython.fm/384
10/4/2022 • 1 hour, 13 minutes, 16 seconds
#383: Textinator and Building macOS Apps with Python
See the full show notes for this episode on the website at talkpython.fm/383
9/28/2022 • 1 hour, 6 minutes, 8 seconds
#382: Apache Superset: Modern Data Exploration Platform
See the full show notes for this episode on the website at talkpython.fm/382