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.

#378: Flet: Flutter apps in Python

August 21, 2022 01:00:21 50.97 MB Downloads: 0

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 Flutter UIs can now be written in pure Python. Flet is a very exciting development in the GUI space for Python devs. And we have the creator, Feodor Fitsner, here to take us through it. Links from the show Feodor on GitHub: github.com Flet: flet.dev Flutter: flutter.dev Dart: dart.dev Flet Tutorials: flet.dev It's All Widgets Showcase: itsallwidgets.com Roadmap: flet.dev pglet: pglet.io Flutter Flow Designer: flutterflow.io Fluent UI for Flutter Showcase App: bdlukaa.github.io macOS UI: pub.dev Flet Mobile Strategy: flet.dev Michael's flutter doctor output: flutter-doctor.png Pyscript: pyscript.net 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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Sentry's DEX Conference IRL Podcast AssemblyAI Talk Python Training

#377: Python Packaging and PyPI in 2022

August 13, 2022 01:08:11 57.55 MB Downloads: 0

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, securing the supply chain, and plenty more related topics. This is another important episode that people deeply committed to the Python space will want to hear. Links from the show Dustin on Twitter: @di_codes Hardware key giveaway: pypi.org OpenSSF funds PyPI: openssf.org James Bennet's take: b-list.org Atomicwrites (left-pad on PyPI): reddit.com 2FA PyPI Dashboard: datadoghq.com github 2FA - all users that contribute code by end of 2023: github.blog GPG - not the holy grail: caremad.io Sigstore for Python: pypi.org pip-audit: pypi.org PEP 691: peps.python.org PEP 694: peps.python.org Watch this episode on YouTube: youtube.com --- Stay in touch with us --- Subscribe to us on YouTube: youtube.com Follow Talk Python on Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors RedHat IRL Podcast AssemblyAI Talk Python Training

#376: Pydantic v2 - The Plan

August 04, 2022 01:18:53 66.54 MB Downloads: 0

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 mean for us? Samuel Colvin, the creator of Pydantic, is here to share his plan for Pydantic v2. Links from the show Samuel on Twitter: @samuel_colvin Pydantic v2 plan: pydantic-docs.helpmanual.io Py03: pyo3.rs FastAPI: fastapi.tiangolo.com Beanie: github.com SQLModel: sqlmodel.tiangolo.com Speedate: docs.rs Pytests running on Pydantic in browser: githubproxy.samuelcolvin.workers.dev JSON to Pydantic tool: jsontopydantic.com Pyscript: pyscript.net Michael's Pyscript + WebAssembly: Python Web Apps video: 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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors RedHat Microsoft AssemblyAI Talk Python Training

#375: Python Language Summit 2022

July 30, 2022 00:58:31 49.43 MB Downloads: 0

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 behind closed doors mostly for efficiency's sake. On this episode, we'll give you a look behind that door. We have Alex Waygood here on this episode to break it down for us and give a look inside the summit. Links from the show Alex on Twitter: @alexwaygood 2022 Python Language Summit: pyfound.blogspot.com Individual Talks Python without the GIL: pyfound.blogspot.com Reaching a per-interpreter GIL: pyfound.blogspot.com The "Faster CPython" project: 3.12 and beyond: pyfound.blogspot.com WebAssembly: Python in the browser and beyond: pyfound.blogspot.com F-strings in the grammar: pyfound.blogspot.com Cinder Async Optimizations: pyfound.blogspot.com The issue and PR backlog: pyfound.blogspot.com The path forward for immortal objects: pyfound.blogspot.com Sponsor: Reflect.run demo video: youtube.com Sponsor: Reflect.run sign up: app.reflect.run Sponsor: Microsoft for Startups Founder's Hub: startups.microsoft.com Watch this episode on YouTube: youtube.com --- Stay in touch with us --- Subscribe to us on YouTube: youtube.com Follow Talk Python on Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Reflect.run Microsoft AssemblyAI Talk Python Training

#374: PSF Survey in Review

July 20, 2022 01:02:16 52.58 MB Downloads: 0

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. Links from the show Guests Gina Häußge: @foosel Emily Morehouse-Valcarcel: @emilyemorehouse Tonya Sims: @TonyaSims Brett Cannon: @brettsky Jay Miller: @kjaymiller Paul Everitt: @paulweveritt 2021 Survey Results: jetbrains.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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Sentry Error Monitoring, Code TALKPYTHON RedHat AssemblyAI Talk Python Training

#373: Reinventing Azure's Python CLI

July 12, 2022 01:06:30 56.14 MB Downloads: 0

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 and template they've created for jump starting you use of modern Python apps and deploying them to Azure. We're talking FastAPI, Beanie and MongoDB, async and await, Bicep DevOps, automated CI/CD pipelines and more. Plus we catch up on other Python work happening that Anthony is involved with. If you're interested in deploying or structuring modern Python apps, you'll find some interesting take aways from our conversation. Links from the show Anthony on Twitter: @anthonypjshaw Shayne Boyer: @spboyer Azure azd CLI tools: aka.ms Beanie ODM: github.io Pydantic: helpmanual.io Give me back my monolith article: craigkerstiens.com Python creator Guido van Rossum joins Microsoft: techcrunch.com Making Python Faster with Guido and Mark episode: 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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Sentry Error Monitoring, Code TALKPYTHON NordVPN AssemblyAI Talk Python Training

#372: Applied mathematics with Python

July 08, 2022 01:15:44 38.67 MB Downloads: 0

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 Geraint Palmer on to discuss solving a wide variety of applied and approachable math problems using Python. Whether you're deeply into math or not so much, I think there is a lot to enjoy from this episode. Links from the show Applied Mathematics with Open-Source Software: taylorfrancis.com Book source files: ithub.com Vince on Twitter: @drvinceknight Geraint on Twitter: @geraintpalmer Traces Package: traces.readthedocs.io A Beautiful Mind: wikipedia.org Nashpy: github.com e: The Story of a Number: amazon.com SymPy episode: talkpython.fm 8451: 8451.com Stack Overflow Trends: stackoverflow.com PYCON UK 2017: Python for conducting operational research in healthcare: youtube.com Ciw package: github.com Python ternary: github.com Michael's in-person FastAPI course: maven.com Reimbursement templates for our courses Expense a Course at Talk Python: zoho.com Expense Course Bundle at Talk Python: zoho.com Expense Cohort Course at Talk Python: zoho.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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors RedHat Python at Scale AssemblyAI Talk Python Training

#371: pipx - Installable, Isolated Python Applications

June 30, 2022 00:58:43 49.59 MB Downloads: 0

I'm sure you're familiar with package managers for your OS even if you don't use them. On macOS we have Homebrew, Chocolatey on Windows, and apt, yum, and others on Linux. But if you want to install Python applications, you typically have to fallback to managing them with pip. Maybe you install them for your account with the --user flag. But with pipx you get a clean, isolated install for every Python application that you use. And if you distribute Python apps, pipx is a definitely worth considering as a channel. Links from the show Chad Smith: @cs01_software Pipx: github.com Entry Points: dev.to Python Packaging Dashboard: chadsmith.dev MKDocStrings: mkdocstrings.github.io gdbgui: github.com termpair: github.com httpie: httpie.io pls (ls-replacement): dhruvkb.github.io Glances: nicolargo.github.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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Mergify Python at Scale AssemblyAI Talk Python Training

#370: OpenBB: Python's Open-source Investment Platform

June 22, 2022 00:54:28 46.03 MB Downloads: 0

You may have heard of the Bloomberg terminal. It's expensive software that can monitor and analyze real-time financial market data and place trades on the electronic trading platform. But have you heard of OpenBB? It's similar software for real-time and long term analysis for finance and investing. The difference is it's open source and built entirely with Python and gives you access to analyze a massive amount of real-time and historical data using the full Python data science stack. On this episode, we have one of the cofounders, James Maslek here to give us a look inside this cool piece of Python-based software. Links from the show James Maslek: linkedin.com OpenBB: openbb.co OpenBB Feature Gallery: openbb.co $8.5M seed funding announcement: openbb.co/blog How to get rich talk by Naval (less money-focused than the title implies): 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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Sentry Error Monitoring, Code TALKPYTHON Python at Scale AssemblyAI Talk Python Training

#369: Getting Lazy with Python Imports and PEP 690

June 16, 2022 00:56:26 47.68 MB Downloads: 0

Python is undergoing a performance renaissance. We already have Python 3.11 20-40% faster than even Python 3.10. On this episode, we'll dive into a new proposal to make Python even more efficient using lazy imports laid out in PEP 690. We have all three folks involved on the episode: Carl Meyer, Germán Méndez Bravo, and Barry Warsaw. Are you ready to get into making Python faster still? Let's dive in. Links from the show Guests Barry Warsaw: @pumpichank Germán Méndez Bravo: @germbravo Carl Meyer: @carljm PEP 690: peps.python.org PEP 690 Discussion: discuss.python.org Cinder project: github.com Python Lazy Imports With Cinder on the Meta blog: developers.facebook.com Python performance renaissance: #339: Making Python Faster: talkpython.fm Performance benchmarks for Python 3.11 are amazing: phoronix.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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Sentry Error Monitoring, Code TALKPYTHON Talk Python Training AssemblyAI

#368: End-to-End Web Testing with Playwright

June 03, 2022 01:13:19 61.86 MB Downloads: 0

How do you test whether your web sites are working well? Unit tests are great. But for web apps, the number of pieces that have to click together "just so" are many. You have databases, server code (such as a Flask app), server templates (Jinja for example), CSS, Javascript, and even deployment topologies (think nginx + uvicorn). Unit tests won't cover all of that integration. But Playwright does. Playwright is a modern, Pythonic take on testing webs apps using code driving a browser core to interact with web apps the way real users and API clients do. I think you'll find a lot to like there. And we have Pandy Knight from Automation Panda here to break it down for us. Links from the show Pandy's Twitter: @AutomationPanda Pandy's blog: automationpanda.com Playwright: playwright.dev Pandy's Playwright tutorial: github.com pytest: pytest.org applitools: applitools.com Screenplay package: pypi.org/project/screenplay 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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Microsoft RedHat AssemblyAI Talk Python Training

#367: Say Hello to PyScript (WebAssembly Python)

May 25, 2022 01:13:41 62.17 MB Downloads: 0

Despite Python being overwhelmingly popular and positive, there are major areas of computing where Python is not present. Most notably on mobile and on the frontend side of the web. PyScript, a new project launched by Fabio Pliger from Anaconda, just might change that. It was made public and announced at PyCon just two weeks ago by Peter Wang and now has over 10,000 GitHub stars. But what is hype vs. reality vs. projected hopes and dreams? We're going to find out on this episode. Fabio is here to tell us all about his new project. Links from the show Fabio on Twitter: @b_smoke PyScript: pyscript.net Birth and Death of Javascript: destroyallsoftware.com Power On: The Story of Xbox: xbox.com PyScript source: github.com JupyterLite: jupyterlite.readthedocs.io Compiling CPython for WebAssembly: python.org Space WebGL Demo: pyscript.net/examples Antigravity Demo: pyscript.net/examples D3 Demo: pyscript.net/examples Most examples: pyscript.net/examples Michael's pyscript PWA YouTube video: youtube.com Watch this episode on YouTube: youtube.com --- Stay in touch with us --- Subscribe to us on YouTube: youtube.com Follow Talk Python on Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Microsoft Talk Python Training AssemblyAI

#366: Optimizing PostgreSQL DB Queries with pgMustard

May 20, 2022 01:14:06 62.52 MB Downloads: 0

Does your app have a database? Does that database play an important role in how the app operations and users perceive its quality? Most of you probably said yes to the first, and definitely to the second. But what if your DB isn't doing as well as it should? How would you know? And once you know, what do you do about it? On this episode, we're joined by Michael Christofides, co-creator of pgMustard, to discuss and explore the EXPLAIN command for Postgres and other databases as well as all the recommendations you might dig into as a result of understanding exactly what's happening with you queries. Links from the show Michael Christofides: @michristofides Datagrip: jetbrains.com pgMustard: pgmustard.com pgMustard example 1: app.pgmustard.com pgMustard example 2: app.pgmustard.com pgMustard example 3: app.pgmustard.com Arctype: arctype.com Postico: eggerapps.at/postico Laetitia Avrot Secrets of 'psql'— Video: youtube.com Beekeeper Studio: beekeeperstudio.io DBeaver: dbeaver.io SQLite Browser: sqlitebrowser.org Michael's new Up and Running with Git course: talkpython.fm/git 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 Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Sentry Error Monitoring, Code TALKPYTHON Talk Python Training AssemblyAI

#365: Solving Negative Engineering Problems with Prefect

May 12, 2022 01:04:10 54.18 MB Downloads: 0

How much time do you spend solving negative engineering problems? And can a framework solve them for you? Think of negative engineering as things you do to avoid bad outcomes in software. At the lowest level, this can be writing good error handling with try / except. But it's broader than that: logging, observability (like Sentry tools), retries, failover (as in what you might get from Kubernetes), and so on. We have a great chat with Chris White about Prefect, a tool for data engineers and data scientists meaning to solve many of these problems automatically. But it's a conversation applicable to a broader software development community as well. Links from the show Chris White: @markov_gainz Prefect: prefect.io Fermat's Enigma Book (mentioned by Michael): amazon.com Prefect Docs (2.0): orion-docs.prefect.io Prefect source code: github.com A Brief History of Dataflow Automation: prefect.io/blog Watch this episode on YouTube: youtube.com Episode transcripts: talkpython.fm --- Stay in touch with us --- Subscribe on YouTube: youtube.com Follow Talk Python on Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Microsoft Talk Python Training AssemblyAI

#364: Symbolic Math with Python using SymPy

May 07, 2022 01:07:52 57.28 MB Downloads: 0

We're all familiar with the data science tools like numpy, pandas, and others. These are numerical tools working with floating point numbers, often to represent real-world systems. But what if you exactly specify the equations, symbolically like many of us did back in Calculus and Differential Equations courses? With SymPy, you can do exactly that. Create equations, integrate, differentiate, and solve them. Then you can convert those solutions into Python (or even C++ and Fortran code). We're here with two of the core maintainer: Ondřej Čertík and Aaron Meurer to learn all about SymPy. Links from the show Ondrej Certik: @OndrejCertik Aaron Meurer: @asmeurer SymPy: sympy.org SymPy Docs: docs.sympy.org/dev Tutorials: docs.sympy.org The SymPy/HackerRank DMCA Incident: asmeurer.com SymEngine: github.com SymPy Gamma: gamma.sympy.org Sovled derivative problem - wait for derivative steps to appear: gamma.sympy.org Github Takedown Repo: github.com e: The Story of a Number book: amazon.com Watch this episode on YouTube: youtube.com Episode transcripts: talkpython.fm --- Stay in touch with us --- Subscribe on YouTube: youtube.com Follow Talk Python on Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Microsoft Sentry Error Monitoring, Code TALKPYTHON AssemblyAI Talk Python Training