Python Bytes

#441 It's Michaels All the Way Down


Listen Later

Topics covered in this episode:
  • * Distributed sqlite follow up: Turso and Litestream*
  • * PEP 792 – Project status markers in the simple index*
  • Run coverage on tests
  • docker2exe: Convert a Docker image to an executable
  • Extras
  • Joke
  • Watch on YouTube

    About the show

    Sponsored by Digital Ocean: pythonbytes.fm/digitalocean-gen-ai Use code DO4BYTES and get $200 in free credit

    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 10am 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.

      Michael #1: Distributed sqlite follow up: Turso and Litestream

      • Michael Booth:
        • Turso marries the familiarity and simplicity of SQLite with modern, scalable, and distributed features.
        • Seems to me that Turso is to SQLite what MotherDuck is to DuckDB.
        • Mike Fiedler
          • Continue to use the SQLite you love and care about (even the one inside Python runtime) and launch a daemon that watches the db for changes and replicates changes to an S3-type object store.
          • Deeper dive: Litestream: Revamped
          • Brian #2: PEP 792 – Project status markers in the simple index

            • Currently 3 status markers for packages
              • Trove Classifier status
              • Indices can be yanked
              • PyPI projects - admins can quarantine a project, owners can archive a project
              • Proposal is to have something that can have only one state
                • active
                • archived
                • quarantined
                • deprecated
                • This has been Approved, but not Implemented yet.
                • Brian #3: Run coverage on tests

                  • Hugo van Kemenade
                  • And apparently, run Ruff with at least F811 turned on
                  • Helps with copy/paste/modify mistakes, but also subtler bugs like consumed generators being reused.
                  • Michael #4: docker2exe: Convert a Docker image to an executable

                    • This tool can be used to convert a Docker image to an executable that you can send to your friends.
                    • Build with a simple command: $ docker2exe --name alpine --image alpine:3.9
                    • Requires docker on the client device
                    • Probably doesn’t map volumes/ports/etc, though could potentially be exposed in the dockerfile.
                    • Extras

                      Brian:

                      • Back catalog of Test & Code is now on YouTube under @TestAndCodePodcast
                        • So far 106 of 234 episodes are up. The rest are going up according to daily limits.
                        • Ordering is rather chaotic, according to upload time, not release ordering.
                        • There will be a new episode this week
                          • pytest-django with Adam Johnson
                          • Joke: If programmers were doctors

                            ...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
                            Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

                            Software Engineering Radio - the podcast for professional software developers

                            274 Listeners

                            The Changelog: Software Development, Open Source by Changelog Media

                            The Changelog: Software Development, Open Source

                            284 Listeners

                            Data Skeptic by Kyle Polich

                            Data Skeptic

                            481 Listeners

                            Talk Python To Me by Michael Kennedy

                            Talk Python To Me

                            590 Listeners

                            Software Engineering Daily by Software Engineering Daily

                            Software Engineering Daily

                            621 Listeners

                            Test & Code by Brian Okken

                            Test & Code

                            70 Listeners

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

                            Super Data Science: ML & AI Podcast with Jon Krohn

                            298 Listeners

                            Data Engineering Podcast by Tobias Macey

                            Data Engineering Podcast

                            141 Listeners

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

                            Syntax - Tasty Web Development Treats

                            987 Listeners

                            CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

                            CoRecursive: Coding Stories

                            189 Listeners

                            DataFramed by DataCamp

                            DataFramed

                            267 Listeners

                            Practical AI by Practical AI LLC

                            Practical AI

                            192 Listeners

                            The Stack Overflow Podcast by The Stack Overflow Podcast

                            The Stack Overflow Podcast

                            62 Listeners

                            The Real Python Podcast by Real Python

                            The Real Python Podcast

                            139 Listeners

                            Oxide and Friends by Oxide Computer Company

                            Oxide and Friends

                            47 Listeners