#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 loca … | Continue reading


@talkpython.fm | 11 months ago

#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 c … | Continue reading


@talkpython.fm | 11 months ago

#417: Test-Driven Prompt Engineering for LLMs with Promptimize

Large language models and chat-based AIs are kind of mind blowing at the moment. Many of us are playing with them for working on code or just as a fun alternative to search. But others of us are building applications with AI at the core. And when doing that, the slightly unpredic … | Continue reading


@talkpython.fm | 11 months ago

#416: Open Source Sports Analytics with PySport

If you're looking for fun data sets for learning, for teaching, maybe a conference talk, or even if you're just really into them, sports offers up a continuous stream of rich data that many people can relate to. Yet, accessing that data can be tricky. Sometimes it's locked away i … | Continue reading


@talkpython.fm | 12 months ago

#415: Future of Pydantic and FastAPI

The release of Pydantic 2.0, its partial rewrite in Rust, and its refactoring into Pydantic core and top-level Pydantic in Python is big news. In fact, the alpha of Pydantic 2 was just released. Of course, these changes will have potentially wide ranging (and positive!) effects o … | Continue reading


@talkpython.fm | 1 year ago

#414: A Stroll Down Startup Lane

At PyCon 2023, there was a section of the expo floor dedicated to new Python-based companies called Startup Row. I wanted to bring their stories and the experience of talking with these new startups to you. So in this episode, we'll talk with founders from these companies for 5 t … | Continue reading


@talkpython.fm | 1 year ago

#413: Live from PyCon 2023

Did you make this year's PyCon event in the US? There was a lot of excitement this time around in Salt Lake City. In this episode I'll bring you a bunch of experiences we had this year. It starts where frequent guest Jay Miller turns the tables and interviews me at the Microsoft … | Continue reading


@talkpython.fm | 1 year ago

#412: PEP 711 - Distributing Python Binaries

What if we distributed CPython, the runtime, in the same way we distributed Python packages - as prebuilt binary wheels that only need to be downloaded and unzipped to run? For starters, that would mean we could ship and deploy Python apps without worrying whether Python itself i … | Continue reading


@talkpython.fm | 1 year ago

#411: Things I Wish Someone Had Explained To Me Sooner About Python

What advice would you give someone just getting into Python? What did you learn over time through hard work and a few tears that would have really helped you? It's a fun game to play and we have Jason McDonald on the podcast to give us his take. Enjoy! Links from the show Jason C … | Continue reading


@talkpython.fm | 1 year ago

#410: The Intersection of Tabular Data and Generative AI

AI has taken the world by storm. It's gone from near zero to amazing in just a few years. We have ChatGPT, we have Stable Diffusion. But what about Jupyter Notebooks and pandas? In this episode, we meet Justin Waugh, the creator of Sketch. Sketch adds the ability to have conversa … | Continue reading


@talkpython.fm | 1 year ago

#409: Privacy as Code with Fides

We all know that privacy regulations are getting more strict. And that many of our users no longer believe that 'privacy is dead'. But for even medium-sized organizations, actually tracking how we are using personal info in our myriad of applications and services is very tricky a … | Continue reading


@talkpython.fm | 1 year ago

#408: Hatch: A Modern Python Workflow

In recent years, there has been a lot of experimenting how we work with dependencies and external libraries for our Python code. There is pip, pip-tools, Poetry, pdm, pyenv, pipenv, Hatch and others workflows. We dove into this deeply back on episode 406: Reimagining Python's Pac … | Continue reading


@talkpython.fm | 1 year ago

#407: pytest tips and tricks for better testing

If you're like most people, the simplicity and easy of getting started is a big part of pytest's appeal. But beneath that simplicity, there is a lot of power and depth. We have Brian Okken on this episode to dive into his latest pytest tips and tricks for beginners and power user … | Continue reading


@talkpython.fm | 1 year ago

#406: Reimagining Python's Packaging Workflows

The great power of Python is its over 400,000 packages on PyPI to serve as building blocks for your app. How do you get those needed packages on to your dev machine and managed within your project? What about production and QA servers? I don't even know where to start if you're s … | Continue reading


@talkpython.fm | 1 year ago

#405: Testing in Radio Astronomy with Python and pytest

So you know about dependencies and testing, right? If you're talking to a DB in your app, you have to decide how to approach that with your tests. There are lots of solid options you might pick and they vary by goals. Do you mock out the DB layer for isolation or do you use a tes … | Continue reading


@talkpython.fm | 1 year ago

#404: Clean Code in Python

Clean code is one of those aspects of your programming career that's easy to put on the back burner (sometimes by management more than yourself). But it's important in the short term for writing more debuggable and readable code. And important in the long run for avoiding having … | Continue reading


@talkpython.fm | 1 year ago

#403: Fusion Ignition Breakthrough and Python

Imagine a world with free and unlimited clean energy. That's the musings of a great science fiction story. But nuclear fusion (the kind that powers the sun) has always been close at hand, we see the sun every day, and yet impossibly far away as a technology. We took a major step … | Continue reading


@talkpython.fm | 1 year ago

#402: Polars: A Lightning-fast DataFrame for Python [updated audio]

When you think about processing tabular data in Python, what library comes to mind? Pandas, I'd guess. But there are other libraries out there and Polars is one of the more exciting new ones. It's built in Rust, embraces parallelism, and can be 10-20x faster than Pandas out of th … | Continue reading


@talkpython.fm | 1 year ago

#401: Migrating 3.8 Million Lines of Python

At some point, you've probably migrated an app from one framework or major runtime version to another. For example, Django to Flask, Python 2 to Python 3, or even Angular to Vue.js. This can be a big challenge. If you had 100s of active devs and millions of lines of code, it's a … | Continue reading


@talkpython.fm | 1 year ago

#400: Ruff - The Fast, Rust-based Python Linter

Our code quality tools (linters, test frameworks, and others) play an important role in keeping our code error free and conforming to the rules our teams have chosen. But when these tools become sluggish and slow down development, we often avoid running them or even turn them off … | Continue reading


@talkpython.fm | 1 year ago

#399: Monorepos in Python

Monorepos are contrary to how many of us have been taught to use source control. To start a project or app, the first thing we do is create a git repo for it. This leads to many focused and small repositories. A quick check of my GitHub account shows there are 179 non-fork reposi … | Continue reading


@talkpython.fm | 1 year ago

#398: Imaging Black Holes with Python

The iconic and first ever image of a black hole was recently released. It took over a decade of work and is a major achievement for astronomy and broadens our understanding of the universe for all of us. Would it surprise you to know that Python played a major part in this discov … | Continue reading


@talkpython.fm | 1 year ago

#397: Evaluating New Open Source Tech Panel

The beauty of open source software and libraries is that you're not stuck with a single option some vendor is offering. This is especially true when that support is poor and antiquated. Almost any capability you think of has multiple options even for a single language such as Pyt … | Continue reading


@talkpython.fm | 1 year ago

#396: AI Goes on Trial For Writing Code (crossover)

For links and very detailed show notes, please view the original episode page over on Python Bytes. Thanks for listening! | Continue reading


@talkpython.fm | 1 year ago

#395: Tools for README.md Creation and Maintenance

If you maintain projects on places like GitHub, you know that having a classy readme is important and that maintaining a change log can be helpful for you and consumers of the project. It can also be a pain. That's why I'm excited to welcome back Ned Batchelder to the show. He ha … | Continue reading


@talkpython.fm | 1 year ago

#394: Awesome Jupyter Libraries and Extensions in 2022

Jupyter is an amazing environment for exploring data and generating executable reports with Python. But there are many external tools, extensions, and libraries to make it so much better and make you more productive. On this episode, we are going to cover a ton of them. We have M … | Continue reading


@talkpython.fm | 1 year ago

#393: Space Science with Python

Space science is one of the few sciences that can spark wonder and imagining in almost anyone. It also happens to be the domain of Python with many missions, telescopes, and analysis happening with Python playing a major role. On this episode we have Thomas Albin who has worked … | Continue reading


@talkpython.fm | 1 year ago

#392: Data Science from the Command Line

When you think data science, Jupyter notebooks and associated tools probably come to mind. But I want to broaden your toolset a bit and encourage you to look around at other tools that are literally at your fingertips. The terminal and shell command line tools. On this epi … | Continue reading


@talkpython.fm | 1 year ago

#391: Pyscript powered by MicroPython

No Python announcement of 2022 was met with more fanfare than pyscript. This project, announced at PyCon 2022, allows you to write Python files and run them in your browser in place of JavaScript or even with interactions between Python and JavaScript. There was just one catch: T … | Continue reading


@talkpython.fm | 1 year ago

#390: Mastodon for Python Devs

Wondering what Mastodon is all about? More importantly, what does it offer Python developers and other open source folks compared to Twitter? There is a huge amount of interest in the tech community about what's happening at Twitter and whether they should expand to or even move … | Continue reading


@talkpython.fm | 1 year ago

#389: 18 awesome asyncio packages in Python

If you're a fan of Python's async and await keywords and the powers they unlock, then this episode is for you. We have Timo Furrer here to share a whole bunch of asyncio related Python packages. Timo runs the awesome-asyncio list and he and I picked out some of our favorites to s … | Continue reading


@talkpython.fm | 1 year ago

#388: Python 3.11 is here and it's fast

Python 3.11 is here! Keeping with the annual release cycle, the Python core devs have released the latest version of Python. And this one is a big one. It has more friendly error messages and is massively faster than 3.10 (between 10 to 60% faster) which is a big deal for a year … | Continue reading


@talkpython.fm | 1 year ago

#387: Build All the Things with Pants Build System

Do you have a large or growing Python code base? If you struggle to run builds, tests, linting, and other quality checks regularly or quickly, you'll want to hear what Benjy Weinberger has to say. He's here to introduce Pants Build to us. Pants is a fast, scalable, user-friendly … | Continue reading


@talkpython.fm | 1 year ago

#386: Realtime Web Apps and Dashboards with H2O Wave

Python's data science and data visualization capabilities are certainly one of the reasons for Python's meteoric rise over the past 10 years. But often thens visuals have been corralled into notebooks used by data scientists themselves or into static web pages. Recently, a host o … | Continue reading


@talkpython.fm | 1 year ago

#385: Higher level Python asyncio with AnyIO

Do you love Python's async and await but feel that you could use more flexibility and higher-order constructs like running a group of tasks and child tasks as a single operation, or streaming data between tasks, combining async tasks with multiprocessing or threads, or even async … | Continue reading


@talkpython.fm | 1 year ago

#384: Python Data Visualization - Where To Start?

Do you struggle to know where to start in the wide range of Python's visualization frameworks? Not sure when to use Plotly vs. Matplotlib vs. Altair? Then this episode is for you. We have Chris Moffitt, a Talk Python course author and founder of Practical Business Python, back on … | Continue reading


@talkpython.fm | 1 year ago

#383: Textinator and Building macOS Apps with Python

For all the amazing powers of Python, deploying packaged apps that leverage native OS-level capabilities isn't one of them. But it can be done and we have a great guest, Rhet Turnbull, here to tell us how he built his distributable macOS app Textinator that uses macOS's native vi … | Continue reading


@talkpython.fm | 1 year ago

#382: Apache Superset: Modern Data Exploration Platform

When you think data exploration using Python, Jupyter notebooks likely come to mind. They are excellent for those of us who gravitate towards Python. But what about your everyday power user? Think of that person who is really good at Excel but has never written a line of code? Th … | Continue reading


@talkpython.fm | 1 year ago

#381: Python Perf: Specializing, Adaptive Interpreter

We are on the edge of a major jump in Python performance. With the work done by the Faster CPython team and Python 3.11 due out in around a month, your existing Python code might see an increase of well over 25% in speed with no changes. One of the main reasons is its new special … | Continue reading


@talkpython.fm | 1 year ago

#380: 7 lessons from building a modern TUI framework

Terminals seem like the very lowest common denominator for software platforms. They have to work over SSH. They only show text. You can't do much with them. Or can you? Will McGugan and team have been building Textual (based on Rich) which looks more like an animated web app than … | Continue reading


@talkpython.fm | 1 year ago

#379: 17 Libraries You Should Be Using in Django

Do you write web apps in Django? The framework has come a long way lately with versions 3 and 4 adopting many of the modern Python capabilities (async, for example). But there are so many other libraries and apps that you can use to do more with less code in plugin new functional … | Continue reading


@talkpython.fm | 1 year ago

#378: Flet: Flutter apps in Python

Have you heard of Flutter? It's a modern and polished UI framework to write mobile apps, desktop apps, and even web apps. While interesting, you may have kept your distance because Flutter is a Dart language-based framework. But with the project we're covering today, Flet, many F … | Continue reading


@talkpython.fm | 1 year ago

#377: Python Packaging and PyPI in 2022

PyPI has been in the news for a bunch of reasons lately. Many of them good. But also, some with a bit of drama or mixed reactions. On this episode, we have Dustin Ingram, one of the PyPI maintainers and one of the directors of the PSF, here to discuss the whole 2FA story, securin … | Continue reading


@talkpython.fm | 1 year ago

#376: Pydantic v2 - The Plan

Pydantic has become a core building block for many Python projects. After 5 years, it's time for a remake. With version 2, the plan is to rebuild the internals (with benchmarks already showing a 17x performance improvement) and clean up the API. Sounds great, but what does that m … | Continue reading


@talkpython.fm | 1 year ago

#375: Python Language Summit 2022

Every year, the Python core developers and a few other key players in the Python ecosystem meet to discuss the pressing issues and important advancements at an event called the Python Language Summit. While Python is a community known for openness, this meeting is typically held … | Continue reading


@talkpython.fm | 1 year ago

#374: PSF Survey in Review

Every year, the PSF and JetBrains team up to do a Python community survey. The most recent one was Fall of 2021. For this episode, I've gathered a great group of Python enthusiasts to discuss the results. I think you'll really enjoy the group discussion on this episode. | Continue reading


@talkpython.fm | 1 year ago

#373: Reinventing Azure's Python CLI

Deploying and managing your application after you create it can be a big challenge. Cloud platforms such as Azure have literally hundreds of services. Which ones should you choose? How do you link them together? In this episode, Anthony Shaw and Shayne Boyer share a new CLI tool … | Continue reading


@talkpython.fm | 1 year ago

#372: Applied mathematics with Python

Often when we learn about or work with Math, it's done so in a very detached style. You might learn the rules and techniques for differentiation, for example. But how often do you get to apply them to meaningful and interesting problems? In this episode, we have Vince Knight and … | Continue reading


@talkpython.fm | 1 year ago