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.

#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

#363: Python for .NET and C# developers

April 28, 2022 01:06:36 56.22 MB Downloads: 1

Are you coming to Python from another language and ecosystem? It can seem a bit daunting at first. But Python is very welcoming and has a massive array of tools and libraries. In this episode, I speak to my friend Cecil Philip who does both Python and .NET development. We discuss what it's like coming to Python from .NET as well as a whole bunch of compare and contrasts across the two ecosystems. Links from the show Cecil on Twitter: @cecilphillip Los Alamos Space Division Job: talkpython.fm/losalamos Stripe: stripe.com Python: python.org .NET/C#: dotnet.microsoft.com C#'s async/await: docs.microsoft.com Entity Framework: docs.microsoft.com Python's Packaging Ecosystem: pypi.org .NET's Packaging Ecosystem: nuget.org VS Code: code.visualstudio.com C# Lang Repo: github.com Blazor web framework: dotnet.microsoft.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 CAST AI AssemblyAI Talk Python Training

#362: Hypermodern Python Projects

April 20, 2022 01:06:14 55.91 MB Downloads: 0

What would a modern Python project look like? Maybe it would use Poetry rather than pip directly for its package management. Perhaps its test automation would be controlled with Nox. You might automate its release notes with Release Drafter. The list goes on and on. And that list is the topic of this episode. Join me and Claudio Jolowicz as we discuss his Hypermodern Python project and template. Links from the show Claudio on Twitter: @cjolowicz Hypermodern Python Article: cjolowicz.github.io Hypermodern Python Project: github.com Features: github.com Nox: github.com PEP 594: peps.python.org Music by Claudio: claudiojolowicz.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 RedHat Talk Python Training

#361: Pangeo Data Ecosystem

April 16, 2022 00:54:16 45.85 MB Downloads: 0

Python's place is climate research is an important one. In this episode, you'll meet Joe Hamman and Ryan Abernathy, two researchers using powerful cloud computing systems and Python to understand how the world around us is changing. They are both involved in the Pangeo project which brings a great set of tools for scaling complex compute with Python. Links from the show Ryan Abernathey: @rabernat Joe Hamman: @HammanHydro Pangeo.: pangeo.io xarray: xarray.dev Pangeo Forge: pangeo-forge.org fsspec: filesystem-spec.readthedocs.io Step-by-Step Guide to Building a Big Data Portal: medium.com Coiled: coiled.io Pangeo Gallery: gallery.pangeo.io Pangeo Quickstart: pangeo.io JupyterLite: jupyterlite.readthedocs.io Jupyter: jupyter.org Pangeo Packages: pangeo.io Pangeo Discourse: discourse.pangeo.io Watch this episode on YouTube: youtube.com --- Stay in touch with us --- Subscribe on YouTube: youtube.com Follow Talk Python on Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors SignalWire Sentry Error Monitoring, Code TALKPYTHON Talk Python Training

#360: Removing Python's Dead Batteries (in just 5 years)

April 08, 2022 01:20:03 67.51 MB Downloads: 0

Python has come a long way since it was released in 1991. It originally released when the Standard Library was primary the totality of functionality you could leverage when building your applications. With the addition of pip and the 368,000 packages on PyPI, it's a different world where what we need and expect from the Standard Library. Brett Cannon and Christian Heimes have introduced PEP 594 which is the first step in trimming outdated and unmaintained older modules from the Standard Library. Join us to dive into the history and future of Python's Standard Library. Links from the show Brett Cannon: @brettsky Christian Heimes: @ChristianHeimes PEP 594: peps.python.org PEP 594 deprecated modules: peps.python.org Python WebAssembly REPL: repl.ethanhs.me Pyodide: github.com JupyterLite: jupyterlite.readthedocs.io "How to run Python in the browser" - Katie Bell: youtube.com .NET's Blazor: dotnet.microsoft.com wasmtime: pypi.org Python 3.10.4 Release Notes: docs.python.org Watch this episode on YouTube: youtube.com --- Stay in touch with us --- Subscribe on YouTube: youtube.com Follow Talk Python on Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Microsoft FusionAuth Talk Python Training

#359: Lifecycle of a machine learning project

April 03, 2022 01:07:29 56.96 MB Downloads: 0

Are you working on or considering a machine learning project? On this episode, we'll meet three people from the MLOps community: Demetrios Brinkmann, Kate Kuznecova, and Vishnu Rachakonda. They are here to tell us about the lifecycle of a machine learning project. We'll talk about getting started with prototypes and choosing frameworks, the development process, and finally moving into deployment and production. Links from the show Demetrios Brinkmann: @DPBrinkm Kate Kuznecova: linkedin.com Vishnu Rachakonda: linkedin.com MLOps Community: mlops.community Feature stores: mlops.community Great Expectations: github.com source control: DVC: dvc.org StreamLit: streamlit.io MLOps Jobs: mlops.pallet.com Made With ML Apps: madewithml.com Banana.dev: banana.dev FastAPI: fastapi.tiangolo.com MLOps without too much Ops: towardsdatascience.com NBDev: nbdev.fast.ai The "Works on My Machine" Certification Program: codinghorror.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 Sentry Error Monitoring, Code TALKPYTHON Stack Overflow Talk Python Training

#358: Understanding Pandas visually with PandasTutor

March 25, 2022 00:46:48 39.58 MB Downloads: 0

Pandas is a great library that allows you to accomplish a ton of filtering and processing in condensed syntax. But how well do you understand what's happening? Sam Lau and Philip Guo built a great site to help use visually explore how Pandas is processing your dataset with your specific syntax. It's called PandasTutor, and Sam is here to tell us about it. Links from the show Sam Lau: samlau.me PandasTutor: pandastutor.com PythonTutor: pythontutor.com Principles and Techniques of Data Science book: textbook.ds100.org 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 SignalWire Stack Overflow Talk Python Training

#357: Python and the James Webb Space Telescope

March 21, 2022 01:02:30 52.77 MB Downloads: 0

Telescopes have been fundamental in our understanding of our place in the universe. And when you think about images that have shaped our modern view of space, you probably think about Hubble. But just this year, the JWST or James Web Space Telescope, was launch. JWST will go far beyond what Hubble has discovered. And did you know Python is used extensively in the whole data pipeline of JWST? We have two great guests here to tell us about it: Megan Sosey and Mike Swam. Links from the show James Web Space Telescope: webbtelescope.org JWST at NASA: jwst.nasa.gov JWST's YouTube channel: youtube.com JWST Repo on GitHub: github.com/spacetelescope/jwst STSci's AstroConda: ssb.stsci.edu/astroconda Telescope pointing: github.com/spacetelescope/gwcs Simulator: github.com/spacetelescope/webbpsf STSci's Archive and Tools: archive.stsci.edu htcondor: datasci.danforthcenter.org/htcondor Silly faker: github.com/cube-drone/silly Nancy Grace Roman Space Telescope: roman.gsfc.nasa.gov Myst Parser: myst-parser.readthedocs.io Watch this episode on YouTube: youtube.com --- Stay in touch with us --- Subscribe on YouTube: youtube.com Follow Talk Python on Twitter: @talkpython Follow Michael on Twitter: @mkennedy Sponsors Datadog Stack Overflow Talk Python Training

#356: Tips for ML / AI startups

March 14, 2022 01:06:27 56.1 MB Downloads: 0

Have you been considering launching a product or even a business based on Python's AI / ML stack? We have a great guest on the episode this week, Dylan Fox, who is the cofounder of AssemblyAI and has been building his startup successfully over the past few years. He has interesting stories of 100s of GPUs in the cloud, evolving ML models, and much more that I know you'll enjoy hearing. Links from the show Dylan Twitter: @YouveGotFox AssemblyAI: assemblyai.com TensorFlow: tensorflow.org PyTorch: pytorch.org hugging face: huggingface.co SciKit-Learn: scikit-learn.org GeForce Card: nvidia.com pLS: twitter.com This journalist’s Otter.ai scare is a reminder that cloud transcription isn’t completely private: theverge.com Programming language trends: insights.stackoverflow.com Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?: the-diy-life.com PyTorch vs TensorFlow in 2022: assemblyai.com/blog/pytorch-vs-tensorflow 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 Stack Overflow Sentry Error Monitoring, Code TALKPYTHON Talk Python Training

#355: EdgeDB - Building a database in Python

March 06, 2022 01:18:06 38.67 MB Downloads: 0

What database are you using in your apps these days? If you like most Python people, it's probably PostgreSQL. If you roll with NoSQL like me, you're probably using MongoDB. Maybe you're even using a graph database focused more on relationships. But there's a new Python database in town, and as you learn in during this episode, many critical Python libraries have come into existence because of it. This database is called EdgeDB. EdgeDB is built upon Postgres, implemented mostly in python, and is something of a marriage of a traditional relational database and an ORM. Python's async and await keywords, uvloop - the high performance asyncio event loop, and asyncpg all have ties back to the creation of EdgeDB. Yury Selivanov, the co-founder & CEO of EdgeDB, PSF fellow, and Python core developer is here to tell use about EdgeDB along with the history of many of these impactful language features and packages. Links from the show Yury Selivanov: @1st1 MagicPython: github.com/MagicStack/MagicPython uvloop: github.com/MagicStack/uvloop asyncpg: github.com/MagicStack/asyncpg TaskGroups and ExceptionGroups: twitter.com EdgeDB: edgedb.com Schema modeling: edgedb.com/showcase/data-modeling Easy EdgeDB book: edgedb.com/easy-edgedb Roadmap: edgedb.com/roadmap pgMustard: pgmustard.com PyBay: Building a Database with Python Talk: youtube.com Michael's course on async and await + Cython + uvloop: talkpython.fm/async Michael's PyBay talk: Flask + HTMX: youtube.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 Sentry Error Monitoring, Code TALKPYTHON SignalWire Talk Python Training

#354: Sphinx, MyST, and Python Docs in 2022

February 24, 2022 01:11:55 38.67 MB Downloads: 0

When you think about the power of Python, the clean language or powerful standard library may come to mind. You might certainly point to the external packages too. But what about the relative ease of picking up new libraries or even parts of the standard library? Documentation plays an important role there. And the tools in the Python space for building solid documentation and even publishing articles and books involving live code are huge assets. In this episode, we have Paul Everitt, Pradyun Gedam, Chris Holdgraf, and Chris Sewell to update us on Sphinx, MyST-Parser, ExecutableBooks, JupyerBook, Sphinx Themes, and much more. Links from the show Pradyun’s personal website: pradyunsg.me Chris’s personal website: predictablynoisy.com Paul Everitt: @paulweveritt Paul's free Sphinx and Markdown course: training.talkpython.fm Sphinx: sphinx-doc.org Python documentation: docs.python.org ExecutableBooks: executablebooks.org Jupyter Book: jupyterbook.org MyST parser: myst-parser.readthedocs.io Sphinx Book Theme: sphinx-book-theme.readthedocs.io PyData Sphinx Theme: pydata-sphinx-theme.readthedocs.io Sphinx Themes Gallery: sphinx-themes.org Furo Theme: pradyunsg.me sphinx-theme-builder: github.com Python Documentation WG issue tracker: github.com ReadTheDocs CZI: blog.readthedocs.com Pandoc: pandoc.org Google circa 1996: web.archive.org Python doc example: docs.python.org Tailwind doc example: tailwindcss.com/docs Typora app: typora.io CommonMark: commonmark.org 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 SignalWire Tonic Talk Python Training

#352: Running Python in Production

February 08, 2022 01:00:12 38.67 MB Downloads: 0

Do we talk about running Python in production enough? I can tell you that the Talk Python infrastructure (courses, podcasts, APIs, etc.) get a fair amount of traffic, but they look nothing like what Google, or Instagram, or insert [BIG TECH NAME] here's deployments do. Yet, mostly, we hear about interesting feats of engineering at massive scale that is impressive but often is also outside of the world most Python devs need for their companies and services. I have three great guests who do think we should talk more about small to medium-sized Python deployments: Emily Moorehouse, Hynek, and Glyph. I think you'll enjoy the conversation. They each bring their own interesting perspectives. Links from the show Emily on Twitter: @emilyemorehouse Hynek on Twitter: @hynek Glyph on Twitter: @glyph Main article by Hynek Python in Production Article: hynek.me Supporting articles Solid Snakes or: How to Take 5 Weeks of Vacation: hynek.me How to Write Deployment-friendly Applications: hynek.me Common Infrastructure Errors I've Made: matduggan.com Thoughts on Monoliths Give me back my monolith: craigkerstiens.com Goodbye Microservices: From 100s of problem children to 1 superstar: segment.com Configuring uWSGI for Production Deployment: techatbloomberg.com https://martinfowler.com/bliki/MicroservicePremium.html https://martinfowler.com/bliki/MonolithFirst.html More tools CuttleSoft: cuttlesoft.com pgMustard: Helps you review Postgres query plans quickly: pgmustard.com JSON:API: jsonapi.org Tenacity package: tenacity.readthedocs.io glom package: glom.readthedocs.io boltons package: boltons.readthedocs.io Joke: The Torture Never Stops: devops.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 SignalWire Tonic Talk Python Training

#351: Machine Learning Ethics and Laws Panel

February 03, 2022 01:10:28 38.67 MB Downloads: 0

The world of AI is changing fast. And the AI / ML space is a bit out of the ordinary for software developers. Typically in software, we can prove that given a certain situations, the code will always behave the same. We can point to where and why a decision is made. ML isn't like that. We set it up and then it takes on a life of its own. Regulators and governments are starting to step in and make rules over AI. The EU is one of the first to do so. That's why it's great to have Ines Montani and Katharine Jarmul, both awesome data scientists and EU residents, here to give us an overview of the coming regulations and other benefits and pitfalls of the AI / ML space. Links from the show Katharine Jarmul on Twitter: @kjam Katharine's site: kjamistan.com Ines Montani on Twitter: @_inesmontani Explosion AI: explosion.ai EU proposes new Artificial Intelligence Regulation: nortonrosefulbright.com The EU’s leaked AI regulation is ambitious but disappointingly vague: techmonitor.ai EU ARTIFICIAL INTELLIGENCE ACT: eur-lex.europa.eu/legal-content Facial Recognition Technology Ban Passed by King County Council: kingcounty.gov On the Opportunities and Risks of Foundation Models paper: arxiv.org thoughtworks: thoughtworks.com I don't care about cookies extension: chrome.google.com Everybody hates “FLoC,” Google’s tracking plan: arstechnica.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 Sentry Error Monitoring, Code TALKPYTHON SignalWire Talk Python Training

#350: Python Steering Council 2021 Retrospective

January 26, 2022 01:10:18 38.67 MB Downloads: 0

For 30 years, Python was overseen by Guide van Rossum since he created and released it around in 1990. When he retired in 2018 he left the creation of the new governing body up to the core developers. After a few stressful months, they concept of the steering council became the way forward. On this episode, I welcome the outgoing steering council to give us a look back and how this past year has gone. We welcome Barry Warsaw, Carol Willing, Brett Cannon, Pablo Galindo Salgado, and Thomas Wouters to the show. They are going to give us a rundown on of the important decisions for 2021. Links from the show Guests / Steering Council Members: Barry Warsaw: @pumpichank Carol Willing: @WillingCarol Brett Cannon: @brettsky Pablo Galindo Salgado: @pyblogsal Thomas Wouters: github.com/Yhg1s Python Steering Council: python.org Meet the Python Developer in Residence: Lukasz Langa episode: talkpython.fm/331 @PSF joke thread: twitter.com Do you even need loops #PythonShort video: 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 Research Affiliates SignalWire Talk Python Training