Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.
#403 A machine learning algorithm walks into a bar…
- uv under discussion on Mastodon
- erdantic: Entity Relationship Diagrams
- Extra, Extra, Extra
- Django Extra, Extra, Extra
- Extras
- Joke
About the show
Sponsored by us! Support our work through:
Connect with the hosts
- Michael: @mkennedy@fosstodon.org
- Brian: @brianokken@fosstodon.org
- Show: @pythonbytes@fosstodon.org
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: uv under discussion on Mastodon
- It’s interesting that uv is slightly controversial
As enthusiastic as I am about the direction uv is going, I haven't adopted them anywhere - because I want very much to understand Astral’s intended business model before I hook my wagon to their tools.
As much as I hate VC, [...] FOSS projects flame out all the time too. … To me uv looks like a genius sting to trick VCs into paying to fix packaging. We’ll be better off either way.
Rust is more expensive and difficult to maintain, not to mention "non-native" to the average customer here. … it can burn out all the other projects in the ecosystem simultaneously, creating a risk of monoculture
I don’t think y’all quite grok what uv makes so special due to your seniority. The speed is really cool, but the reason Rust is elemental is that it’s one compiled blob that can be used to bootstrap and maintain a Python development.
Just dropping in here to say that corporate capture of the Python ecosystem is the #1 keeps-me-up-at-night subject in my community work, so I watch Astral with interest, even if I'm not yet too worried.
What uv is doing, even in the worst possible future this is a very forkable and maintainable thing.
Finally, see the comment at the end by Charlie Marsh
Brian #2: erdantic: Entity Relationship Diagrams
- “erdantic is a simple tool for drawing entity relationship diagrams (ERDs) for Python data model classes. Diagrams are rendered using the venerable Graphviz library.”
- Supported data modeling frameworks are:
- Pydantic V2
- Pydantic V1 legacy
- attrs
- dataclasses
Michael #3: Extra, Extra, Extra
- Added Python Bytes Search as a custom search engine.
- Along came passkeys. A cool idea that quickly turned evil.
- Follow up from post and my conversation last week: vaultwarden (via Pablo)
- uv publish
- Trying the tabs on bottom lifestyle inspired by Arc
- Adding Python Bytes (and Talk Python) as custom search engines.
- PyCon 2025 dates: From 14 May through 22 May, 2025
Brian #4: Django Extra, Extra, Extra
- Django Project Ideas
- Evgenia Verbina
- Project ideas with list of tech stack stuff you’ll learn and/or work on with the project
- Ex: Recipe organizer
- tech stack: Django templates, Django ORM, Optional JavaScript
- “Familiarize yourself with Django’s ORM (object-relational mapper) and database support by building an app to keep track of your favorite recipes. Add a web-based frontend with options to filter recipes by category, ingredients, and user ratings so you can easily browse for inspiration.”
- DjangoTV
- Jeff Triplett
- Django conference videos and tutorials.
- Django Commons
- Heard about from Lacey Henschel
- “Django Commons is an organization dedicated to supporting the community's efforts to maintain packages. It seeks to improve the maintenance experience for all contributors; reducing the barrier to entry for new contributors and reducing overhead for existing maintainers.”
- Django 5 has simplified templates for better form field rendering
- But if you want a completely different take on forms, maybe try iommi forms
- They wrote about it on Why we wrote a new form library for Django
- Djade: a Django template formatter
- Adam Johnson
- Like black or ruff, but for Django templates.
Extras
Brian:
- The Open Source Project Maintainer's Guide
- Suggested by Rafael Weingartner