Bölümler

  • Have you heard about HTMX? We've discussed it a time or two on this show. We're back with another episode on HTMX, this time with a real-world success story and lessons learned. We have Sheena O'Connell on to tell us how she moved from a React-Django app to pure Django with HTMX.

    Episode sponsors

    Posit
    Bluehost
    Talk Python Courses

    Links from the show

    Sheena O'Connell: sheenaoc.com
    An HTMX success story essay: sheenaoc.com
    Sheena's HTMX Workshop: prelude.tech - discount code: talk_python

    Talk Python's HTMX Courses
    HTMX + Flask course: training.talkpython.fm
    HTMX + Django course: training.talkpython.fm
    Build An Audio AI App course: training.talkpython.fm

    HTMX: htmx.org
    Playwright: playwright.dev
    django-template-partials: github.com
    Michael's jinja_partials: github.com
    django-guardian: github.com
    Talk Python Courses HTMX Example: training.talkpython.fm/courses/all
    Alpine.js: alpinejs.dev
    David Guillot SaaS video: youtube.com
    awesome-htmx: github.com
    Guild of Educators: guildofeducators.org
    The big rewrite song: 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

  • Let's say you want to create a web app and you know Python really well. Your first thought might be Flask or Django or even FastAPI? All good choices but there is a lot to get a full web app into production. The framework we'll talk about today, Reflex, allows you to just write Python code and it turns it into a full web app running FastAPI, NextJS, React and more plus it handles the deployment for you. It's a cool idea. Let's talk to Elvis Kahoro and Nikhil Rao from Reflex.dev.

    Episode sponsors

    Posit
    Bluehost
    Talk Python Courses

    Links from the show

    Elvis: github.com
    Nikhil: github.com

    Reflex Framework: reflex.dev
    Reflex source: github.com
    Reflex docs: reflex.dev
    Reflex Roadmap: github.com
    AG Grid: ag-grid.com

    Warp terminal: warp.dev
    A Stroll Down Startup Lane episode: talkpython.fm
    PuePy: Reactive frontend framework in Python 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 Mastodon: talkpython
    Follow Michael on Mastodon: mkennedy

  • Eksik bölüm mü var?

    Akışı yenilemek için buraya tıklayın.

  • Do you struggle to make sure your code is always correct before you check it in? What about your team members' code? That one person who never wants to run the linter? Tired of dealing with tons of conflicts and spurious git changes? You need git pre-commit hooks. We're lucky to have Stefanie Molin on this episode who has done a bunch of writing and teaching of git hooks.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    Bluehost
    Talk Python Courses

    Links from the show

    Stefanie Molin: stefaniemolin.com

    Talk Python Blog: talkpython.fm/blog

    How to Set Up Pre-Commit Hooks: stefaniemolin.com
    Common Pre-Commit Errors and How to Solve Them: stefaniemolin.com
    A Behind-the-Scenes Look at How Pre-Commit Works: stefaniemolin.com
    Pre-Commit Hook Creation Guide: stefaniemolin.com
    (Pre-)Commit to Better Code Workshop: stefaniemolin.com
    exif-stripper: stefaniemolin.com
    exif-stripper on GitHub: github.com
    docstring-validation-using-pre-commit-hook: numpydoc.readthedocs.io
    Data Morph: Moving Beyond the Datasaurus Dozen: stefaniemolin.com
    Data Morph on GitHub: 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

  • Hynek has been writing and speaking on some of the most significant topics in the Python space and I've enjoyed his takes. So I invited him on the show to share them with all of us. This episode really epitomizes one of the reasons I launched Talk Python 9 years ago. It's as if we run into each other at a bar during a conference and I ask Hynek, "So what are your thoughts on ..." and we dive down the rabbit hole for an hour. I hope you enjoy it.

    Episode sponsors

    WorkOS
    Bluehost
    Talk Python Courses

    Links from the show

    Hynek Schlawack on Mastodon: @hynek

    Why I Still Use Python Virtual Environments in Docker: hynek.me
    Production-ready Python Docker Containers with uv: hynek.me
    Attrs: github.com
    uv: astral.sh
    What’s New In Python 4: python.org
    BusyBox: busybox.net
    Hynek's YouTube Channel: youtube.com
    MOPUp for macOS: github.com
    Homebrew Python Is Not For You: justinmayer.com
    argon2-cffi: Argon2 for Python: github.com
    pytest-freethreaded: github.com
    LM Studio: lmstudio.ai
    StackOverflow Trends Graph: trends.stackoverflow.co
    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

  • If you work in data science, you definitely know about data frame libraries. Pandas is certainly the most popular, but there are others such as cuDF, Modin, Polars, Dask, and more. They are all similar but definitely not the same APIs and Polars is quite different. But here's the problem. If you want to write a library that is for users of more than one of these data frame frameworks, how do you do that? Or if you want to leave open the possibility of changing yours after the app is built, same problem. That's the problem that Narwhals solves. We have Marco Gorelli on the show to tell us all about it.

    Episode sponsors

    WorkOS
    Talk Python Courses

    Links from the show

    Marco Gorelli: @marcogorelli
    Marco on LinkedIn: linkedin.com
    Narwhals: github.io
    Narwhals on Github: github.com

    DuckDB: duckdb.org
    Ibis: ibis-project.org
    modin: readthedocs.io
    Pandas and Beyond with Wes McKinney: talkpython.fm
    Polars: A Lightning-fast DataFrame for Python: talkpython.fm
    Polars: pola.rs
    Pandas: pandas.pydata.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

  • You're about to launch your new app or API, or even just a big refactor of your current project. Will it stand up and deliver when you put it into production or when that big promotion goes live? Or will it wither and collapse? How would you know? Well you would test that of course. We have Anthony Shaw back on the podcast to dive into a wide range of tools and techniques for performance and loading testing of web apps.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    WorkOS
    Talk Python Courses

    Links from the show

    Anthony on Twitter: @anthonypjshaw
    Anthony's PyCon Au Talk: youtube.com
    locust load testing tool: locust.io
    playwright: playwright.dev
    mimesis: github.com
    mimesis providers: mimesis.name
    vscode pets: marketplace.visualstudio.com
    vscode power-mode: marketplace.visualstudio.com
    opentelemetry: opentelemetry.io
    uptime-kuma: github.com
    Talk Python uptime / status: talkpython.fm/status
    when your serverless computing bill goes parabolic...: 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

  • Do you have kids? Maybe nieces and nephews? Or maybe you work in a school environment? Maybe it's just friend's who know you're a programmer and ask about how they should go about introducing programming concepts with them. Anna-Lena Popkes is back on the show to share her research on when and how to teach kids programming. We spend the second half of the episode talking about concrete apps and toys you might consider for each age group. Plus, some of these things are fun for adults too. ;)

    Episode sponsors

    WorkOS
    Talk Python Courses

    Links from the show

    Anna-Lena: alpopkes.com

    Magical universe repo: github.com
    Machine learning basics repo: github.com

    PyData recording "when and how to start coding with kids": youtube.com

    Robots and devices
    Bee Bot: terrapinlogo.com
    Cubelets: modrobotics.com
    BBC Microbit: microbit.org
    RaspberryPi: raspberrypi.com
    Adafruit Qualia ESP32 for CircuitPython: adafruit.com
    Zumi: robolink.com

    Board games
    Think Fun Robot Turtles Board Game: amazon.com

    Visual programming:
    Scratch Jr.: scratchjr.org
    Scratch: scratch.org
    Blocky: google.com
    Microbit's Make Code: microbit.org
    Code Club: codeclubworld.org

    Textual programming
    Code Combat: codecombat.com
    Hedy: hedycode.com
    Anvil: anvil.works

    Coding classes / summer camps (US)
    Portland Community College Summer Teen Program: pcc.edu
    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

  • Do you have text that you want to process automatically? Maybe you want to pull out key products or topics of conversation? Maybe you want to get the sentiment? The possibilities are many with this week's topic: NLP with spaCy and Python. Our guest, Vincent D. Warmerdam, has worked on spaCy and other tools at Explosion AI and he's here to give us his tips and tricks for working with text from Python.

    Episode sponsors

    Posit
    Talk Python Courses

    Links from the show

    Course: Getting Started with NLP and spaCy: talkpython.fm

    Vincent on X: @fishnets88
    Vincent on Mastodon: @koaning

    Programmable Keyboards on CalmCode: youtube.com
    Sample Space Podcast: youtube.com

    spaCy: spacy.io
    Course: Build An Audio AI App: talkpython.fm
    Lemma example: github.com
    Code for spaCy course: github.com

    Python Bytes transcripts: github.com
    scikit-lego: github.com
    Projects that import "this": calmcode.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

  • A couple of weeks ago, Charlie Marsh and the folks at Astral made another big splash with a major release of uv called "uv: Unified Python packaging" which has many far reaching features. We had to have Charlie on the show to give us the inside look into this development. Let's get to it.

    Episode sponsors

    Posit
    Talk Python Courses

    Links from the show

    Charlie Marsh on Twitter: @charliermarsh
    Charlie Marsh on Mastodon: @charliermarsh

    Episode follow up: Wrote up how we use uv at Talk Python: mkennedy.codes

    uv: Unified Python packaging: astral.sh
    Python executable management: astral.sh
    Projects: astral.sh
    Tools: astral.sh
    Scripts: astral.sh
    Rye and uv: August is Harvest Season for Python Packaging: lucumr.pocoo.org
    Python Build Standalone releases: github.com
    Rules: astral.sh
    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

  • Every year the core developers meet to discuss and propose the major changes and trends in Python itself. This invite-only conference of about 50 people happens inside PyCon in the US. Because it's private, we rarely get detailed looks inside this event. On this episode, we have Seth Michael Larson here to give us his account of the sessions and proposals. It's a unique look into the zeitgeist of CPython.

    Episode sponsors

    Posit
    Talk Python Courses

    Links from the show

    Seth on Mastodon: @[email protected]
    Seth on Twitter: @sethmlarson
    Seth on Github: github.com

    The Python Language Summit 2024: blogspot.com
    PEP 2026: Calendar versioning for Python: github.com
    PSF authorized as a CVE Numbering Authority: python.org
    Recommends Memory-Safe Programming Languages: blogspot.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

  • Python performance has come a long way in recent times. And it's often the data scientists, with their computational algorithms and large quantities of data, who care the most about this form of performance. It's great to have Stan Seibert back on the show to talk about Python's performance for data scientists. We cover a wide range of tools and techniques that will be valuable for many Python developers and data scientists.

    Episode sponsors

    Posit
    Talk Python Courses

    Links from the show

    Stan on Twitter: @seibert
    Anaconda: anaconda.com
    High Performance Python with Numba training: learning.anaconda.cloud
    PEP 0703: peps.python.org
    Python 3.13 gets a JIT: tonybaloney.github.io
    Numba: numba.pydata.org
    LanceDB: lancedb.com
    Profiling tips: docs.python.org
    Memray: github.com
    Fil: a Python memory profiler for data scientists and scientists: pythonspeed.com
    Rust: rust-lang.org
    Granian Server: github.com
    PIXIE at SciPy 2024: github.com
    Free threading Progress: py-free-threading.github.io
    Free Threading Compatibility: py-free-threading.github.io
    caniuse.com: caniuse.com
    SPy, presented at PyCon 2024: 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

  • Do you feel like ADHD is holding you back? Maybe you don't personally have ADHD but you work with folks who do and you'd like to support them better. Either way, how ADHD interplays with programming and programmers is pretty fascinating. On this episode we have Chris Ferdinandi who himself has ADHD and has written a lot about it to share his journey and his advice for thriving with ADHD as a programmer or data scientist.

    Episode sponsors

    Posit
    Talk Python Courses

    Links from the show

    Chris on Mastodon: @cferdinandi
    ADHD FTW Talk Python Page: adhdftw.com
    Building a Second Brain: buildingasecondbrain.com
    Building a Second Brain Book: buildingasecondbrain.com
    White Collar Jobs are Just Meetings: theatlantic.com
    Article with Fighting Duck-Sized Horses Agile: mensurdurakovic.com
    Nothing Phone: nothing.tech
    Apple Watch: apple.com
    Todoist: todoist.com
    Anytype (open source Notion): anytype.io
    Obsidian: obsidian.md
    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

  • Flask is one of the most important Python web frameworks and powers a bunch of the internet. David Lord, Flask's lead maintainer is here to give us an update on the state of Flask and Pallets in 2024. If you care about where Flask is and where it's going, you'll definitely want to listen in.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    Talk Python Courses

    Links from the show

    David on Mastodon: @davidism
    David on X: @davidism
    State of Pallets 2024 FlaskCon Talk: youtube.com
    FlaskCon: flaskcon.com
    FlaskCon 2024 Talks: youtube.com
    Pallets Discord: discord.com
    Pallets Eco: github.com
    JazzBand: jazzband.co
    Pallets Github Org: github.com
    Jinja: github.com
    Click: github.com
    Werkzeug: github.com
    MarkupSafe: github.com
    ItsDangerous: github.com
    Quart: github.com
    pypistats: pypistats.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

  • If you want to get better at something, often times the path is pretty clear. If you get better at swimming, you go to the pool and practice your strokes and put in time doing the laps. If you want to get better at mountain biking, hit the trails and work on drills focusing on different aspects of riding. You can do the same for programming. Reuven Lerner is back on the podcast to talk about his book Pandas Workout. We dive into strategies for learning Pandas and Python as well as some of his workout exercises.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    Scalable Path
    Talk Python Courses

    Links from the show

    Reuven Lerner on Twitter: @reuvenmlerner
    Pandas Workout Book: manning.com
    Bamboo Weekly: Solar eclipse: bambooweekly.com
    Bamboo Weekly: Avocado hand: bambooweekly.com
    Scaling data science across Python and R: 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

  • Python is special. It's used by the big tech companies but also by those you would rarely classify as developers. On this episode, we get a look inside how Python is being used at a Children's Hospital to speed and improve patient care. We have Dr. Somak Roy here to share how he's using Python in his day to day job to help kids get well a little bit faster.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    Posit
    Talk Python Courses

    Links from the show

    Somak Roy: linkedin.com
    Cincinnati Children's Hospital: cincinnatichildrens.org
    CNVkit: Genome-wide copy number: readthedocs.io
    cnaplotr: github.com
    hgvs: readthedocs.io
    openpyxl: readthedocs.io
    Hera is an Argo Python SDK: github.com
    insiM: in silico Mutator software for bioinformatics: github.com
    Bamsurgeon: github.com
    pysam - An interface for reading and writing SAM files: readthedocs.io
    Scientists rename human genes to stop Microsoft Excel from misreading them as dates: theverge.com
    BioPython: biopython.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

  • Python is one of the most popular languages of the current era. It dominates data science, it an incredible choice for web development, and its many people's first language. But it's not super great on front-end programing, is it? Frameworks like React, Vue and other JavaScript frameworks rule the browser and few other languages even get a chance to play there. But with pyscript, which I've covered several times on this show, we have the possibility of Python on the front end. Yet it's not really a front end framework, just a runtime in the browser. That's why I'm excited to have Ken Kinder on the podcast to talk about his project PuePy, a reactive frontend framework in Python.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    Code Comments
    Talk Python Courses

    Links from the show

    Michael's Code in a Castle Course: talkpython.fm/castle

    Ken Kinder: @[email protected]
    PuePy: puepy.dev
    PuePy Docs: docs.puepy.dev
    PuePy on Github: github.com
    pyscript: pyscript.net
    VueJS: vuejs.org
    Hello World example: docs.puepy.dev
    Tutorial: docs.puepy.dev
    Tutorial running at pyscript.com: pyscript.com
    Micropython: micropython.org
    Pyodide: pyodide.org
    PgQueuer: github.com
    Writerside: jetbrains.com

    Michael's PWA pyscript app: github.com
    Michael's demo of a PWA pyscript app: youtube.com
    Python iOS Web App with pyscript and offline PWAs 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 Mastodon: talkpython
    Follow Michael on Mastodon: mkennedy

  • I've gathered a group of Python experts who have been thinking deeply about where Python is going and who have lived through where it has been. This episode is all about near-term Python trends and things we each believe will be important to focus on as Python continues to grow. Our panelists are Jodie Burchell, Carol Willing, and Paul Everett.

    Episode sponsors

    Code Comments
    Posit
    Talk Python Courses

    Links from the show

    Shiny course at Talk Python: talkpython.fm/shiny

    Jodie Burchell: @t_redactyl
    Carol on Mastodon: @[email protected]
    Paul Everitt: @paulweveritt
    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

  • I have a special episode for you this time around. We're coming to you live from PyCon 2024. I had the chance to sit down with some amazing people from the data science side of things: Jodie Burchell, Maria Jose Molina-Contreras, and Jessica Greene. We cover a whole set of recent topics from a data science perspective. Though we did have to cut the conversation a bit short as they were coming from and go to talks they were all giving but it was still a pretty deep conversation.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    Code Comments
    Talk Python Courses

    Links from the show

    Jodie Burchell: @t_redactyl
    Jessica Greene: linkedin.com
    Maria Jose Molina-Contreras: linkedin.com

    Talk Python's free Shiny course: talkpython.fm/shiny
    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

  • You're using Pydantic and it seems pretty straightforward, right? But could you adopt some simple changes to your code that would make it a lot faster and more efficient? Chances are, you'll find a couple of the tips from Sydney Runkle that will do just that. Join us to talk about Pydantic performance tips here on Talk Python.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    Code Comments
    Talk Python Courses

    Links from the show

    Sydney Runkle: linkedin.com
    Pydantic: pydantic.dev
    Performance docs: docs.pydantic.dev
    Union tips: docs.pydantic.dev
    Sydney's presentation slides: docs.google.com
    JSON to Pydantic: jsontopydantic.com
    Samuel talking FastUI: talkpython.fm

    CodeFlash: codeflash.ai
    Codspeed: codspeed.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

  • There hasn't been a boom like the AI boom since the .com days. And it may look like a space destined to be controlled by a couple of tech giants. But Ines Montani thinks open source will play an important role in the future of AI. I hope you join us for this excellent conversation about the future of AI and open source.

    Episode sponsors

    Sentry Error Monitoring, Code TALKPYTHON
    Porkbun
    Talk Python Courses

    Links from the show

    Ines Montani on Twitter: @_inesmontani
    spaCy: spacy.io
    Prodigy App: prodi.gy
    Ines' presentation at PyCon Lithuania: youtube.com
    LM Studio: lmstudio.ai
    Little Bobby Tables: xkcd.com

    spaCy and NLP course: talkpython.fm

    Use my link to get your .app, .dev, or .foo domain for just $1 right now at Porkbun: talkpython.fm/porkbun
    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