Python Bytes

#472 Monorepos


Listen Later

Topics covered in this episode:
  • Setting up a Python monorepo with uv workspaces
  • cattrs: Flexible Object Serialization and Validation
  • Learning to program in the AI age
  • VS Code extension for FastAPI and friends
  • 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: Setting up a Python monorepo with uv workspaces

      • Dennis Traub
      • The 3 things
        • Give the Root a Distinct Name
        • Use workspace = true for Inter-Package Deps
        • Use importlib Mode for pytest
        • Michael #2: cattrs: Flexible Object Serialization and Validation

          • cattrs is a Swiss Army knife for (un)structuring and validating data in Python.
          • A natural alternative/follow on from DataClass Wizard
          • Converts to ←→ from dictionaries
          • cattrs also focuses on functional composition and not coupling your data model to its serialization and validation rules.
          • When you’re handed unstructured data (by your network, file system, database, …), cattrs helps to convert this data into trustworthy structured data.
          • Batteries Included: cattrs comes with pre-configured converters for a number of serialization libraries, including JSON (standard library, orjson, UltraJSON), msgpack, cbor2, bson, PyYAML, tomlkit and msgspec (supports only JSON at this time).
          • Brian #3: Learning to program in the AI age

            • Jose Blanca
            • “I teach a couple of introductory Python courses and I've been thinking about which advice to give to my students, that are studying how to program for the first time. I have collected my ideas in these blog posts”
              • Why learning to program is as useful as ever, even with powerful AI tools available.
              • How to use AI as a tutor rather than a shortcut, and why practice remains the key to real understanding.
              • What the real learning objectives are: mental models, managing complexity, and thinking like a software developer.
              • Michael #4: VS Code extension for FastAPI and friends

                • Enhances the FastAPI development experience in Visual Studio Code
                • Path Operation Explorer: Provides a hierarchical tree view of all FastAPI routes in your application.
                • Search for routes: Use the Command Palette and quickly search for routes by path, method, or name.
                • CodeLens links appear above HTTP client calls like client.get('/items'), letting you jump directly to the matching route definition.
                • Deploy your application directly to FastAPI Cloud from the status bar with zero config.
                • View real-time logs from your FastAPI Cloud deployed applications directly within VS Code.
                • Install from Marketplace.
                • Extras

                  Brian:

                  • Guido van Rossum interviews key Python developers from the first 25 years
                    • Interview with Brett Cannon
                    • Interview with Thomas Wouters
                    • Michael:
                    • IntelliJ IDEA: The Documentary | An origin story video
                    • Cursor Joined the ACP Registry and Is Now Live in Your JetBrains IDE
                    • What hyper-personal software looks like
                    • I’m doing in-person training again (limited scope):
                      • On-site, hands-on AI engineering enablement for software teams with Michael
                      • Joke: Saas is dead

                        ...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,107 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

                        629 Listeners

                        Talk Python To Me by Michael Kennedy

                        Talk Python To Me

                        584 Listeners

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

                        Super Data Science: ML & AI Podcast with Jon Krohn

                        308 Listeners

                        NVIDIA AI Podcast by NVIDIA

                        NVIDIA AI Podcast

                        347 Listeners

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

                        Syntax - Tasty Web Development Treats

                        991 Listeners

                        Tech Brew Ride Home by Morning Brew

                        Tech Brew Ride Home

                        970 Listeners

                        Practical AI by Practical AI LLC

                        Practical AI

                        211 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

                        145 Listeners

                        Latent Space: The AI Engineer Podcast by Latent.Space

                        Latent Space: The AI Engineer Podcast

                        102 Listeners

                        This Day in AI Podcast by Michael Sharkey, Chris Sharkey

                        This Day in AI Podcast

                        227 Listeners

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

                        The AI Daily Brief: Artificial Intelligence News and Analysis

                        680 Listeners