Python Bytes

#468 A bolt of Django


Listen Later

Topics covered in this episode:
  • django-bolt: Faster than FastAPI, but with Django ORM, Django Admin, and Django packages
  • pyleak
  • More Django (three articles)
  • Datastar
  • Extras
  • Joke
  • Watch on YouTube

    About the show

    Sponsored by us! Support our work through:

    • Our courses at Talk Python Training
    • The Complete pytest Course
    • Patreon Supporters
    • Connect with the hosts

      • Michael: @[email protected] / @mkennedy.codes (bsky)
      • Brian: @[email protected] / @brianokken.bsky.social
      • Show: @[email protected] / @pythonbytes.fm (bsky)
      • Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 11am PT. Older video versions available there too.

        Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

        Brian #1: django-bolt : Faster than FastAPI, but with Django ORM, Django Admin, and Django packages

        • Farhan Ali Raza
        • High-Performance Fully Typed API Framework for Django
        • Inspired by DRF, FastAPI, Litestar, and Robyn
        • Django-Bolt docs
        • Interview with Farhan on Django Chat Podcast
        • And a walkthrough video
        • Michael #2: pyleak

          • Detect leaked asyncio tasks, threads, and event loop blocking with stack trace in Python. Inspired by goleak.
          • Has patterns for
            • Context managers
            • decorators
            • Checks for
              • Unawaited asyncio tasks
              • Threads
              • Blocking of an asyncio loop
              • Includes a pytest plugin so you can do @pytest.mark.no_leaks
              • Brian #3: More Django (three articles)

                • Migrating From Celery to Django Tasks
                  • Paul Taylor
                  • Nice intro of how easy it is to get started with Django Tasks
                  • Some notes on starting to use Django
                    • Julia Evans
                    • A handful of reasons why Django is a great choice for a web framework
                      • less magic than Rails
                      • a built-in admin
                      • nice ORM
                      • automatic migrations
                      • nice docs
                      • you can use sqlite in production
                      • built in email
                      • The definitive guide to using Django with SQLite in production
                        • I’m gonna have to study this a bit.
                        • The conclusion states one of the benefits is “reduced complexity”, but, it still seems like quite a bit to me.
                        • Michael #4: Datastar

                          • Sent to us by Forrest Lanier

                          • Lots of work by Chris May

                          • Out on Talk Python soon.

                          • Official Datastar Python SDK

                          • Datastar is a little like HTMX, but

                            • The single source of truth is your server

                            • Events can be sent from server automatically (using SSE)

                              • e.g
                              • yield SSE.patch_elements(
                                f"""{(#HTML#)}{datetime.now().isoformat()}"""
                                )
                              • Why I switched from HTMX to Datastar article

                              • Extras

                                Brian:

                                • Django Chat: Inverting the Testing Pyramid - Brian Okken
                                  • Quite a fun interview
                                  • PEP 686 – Make UTF-8 mode default
                                    • Now with status “Final” and slated for Python 3.15
                                    • Michael:

                                      • Prayson Daniel’s Paper tracker
                                      • Ice Cubes (open source Mastodon client for macOS)
                                      • Rumdl for PyCharm, et. al
                                      • cURL Gets Rid of Its Bug Bounty Program Over AI Slop Overrun
                                      • Python Developers Survey 2026
                                      • Joke: Pushed to prod

                                        ...more
                                        View all episodesView all episodes
                                        Download on the App Store

                                        Python BytesBy Michael Kennedy and Brian Okken

                                        • 4.7
                                        • 4.7
                                        • 4.7
                                        • 4.7
                                        • 4.7

                                        4.7

                                        212 ratings


                                        More shows like Python Bytes

                                        View all
                                        The Changelog: Software Development, Open Source by Changelog Media

                                        The Changelog: Software Development, Open Source

                                        288 Listeners

                                        The a16z Show by Andreessen Horowitz

                                        The a16z Show

                                        1,103 Listeners

                                        Daily Tech News Show by Tom Merritt

                                        Daily Tech News Show

                                        1,392 Listeners

                                        Software Engineering Daily by Software Engineering Daily

                                        Software Engineering Daily

                                        627 Listeners

                                        Talk Python To Me by Michael Kennedy

                                        Talk Python To Me

                                        583 Listeners

                                        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

                                        Super Data Science: ML & AI Podcast with Jon Krohn

                                        302 Listeners

                                        NVIDIA AI Podcast by NVIDIA

                                        NVIDIA AI Podcast

                                        348 Listeners

                                        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

                                        Syntax - Tasty Web Development Treats

                                        990 Listeners

                                        Tech Brew Ride Home by Morning Brew

                                        Tech Brew Ride Home

                                        972 Listeners

                                        Practical AI by Practical AI LLC

                                        Practical AI

                                        215 Listeners

                                        The Real Python Podcast by Real Python

                                        The Real Python Podcast

                                        140 Listeners

                                        No Priors: Artificial Intelligence | Technology | Startups by Conviction

                                        No Priors: Artificial Intelligence | Technology | Startups

                                        142 Listeners

                                        Latent Space: The AI Engineer Podcast by Latent.Space

                                        Latent Space: The AI Engineer Podcast

                                        99 Listeners

                                        This Day in AI Podcast by Michael Sharkey, Chris Sharkey

                                        This Day in AI Podcast

                                        228 Listeners

                                        The AI Daily Brief: Artificial Intelligence News and Analysis by Nathaniel Whittemore

                                        The AI Daily Brief: Artificial Intelligence News and Analysis

                                        670 Listeners