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.
#364 Holy Match-Cases Batman!
December 12, 2023
00:27:09
39.72 MB
Downloads: 0
Topics covered in this episode:
- A Python/Django Advent calendar
- Dropbase helps you build internal web apps with Python
- Real-world match/case
- Extra, extra, extra, so many extras!
- 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 Tuesdays at 11am PT. Older video versions available there too.
Brian #1: A Python/Django Advent calendar
- James Bennett’s take on an Advent Calendar
- “I’m going to try to publish one short blog post each day of Advent 2023, each covering a small but hopefully useful tip or bit of information for Python and/or Django developers”
- First post also discusses using enums
- A couple cool testing posts
- Don’t mock Python’s HTTPX
- I didn’t know HTTPX had built in transport mocking, very cool
- Test your documentation
- doctest discussion
- Don’t mock Python’s HTTPX
Michael #2: Dropbase helps you build internal web apps with Python
- Build fullstack web apps for your internal teams.
- Import existing Python scripts
- Quickly layer UIs and granular permissions on top.
- Turn any SQL SELECT into an admin panel with Smart Tables.
- Watch the video for the zen of it.
- Freemium model
Brian #3: Real-world match/case
- Ned Batchelder
- Structural pattern matching example taken from a GitHub bot
- Matching nested dictionaries, pulling out bits of data
- The examples of not just matching but using
case [structure] if [test on component]
are neat.
Michael #4: Extra, extra, extra, so many extras!
- WAY better DNS with Bunny.net DNS
- Terminal Secrets essay
- Meet the Supporting Developer in Residence (via Pycoders)
- Songs in Python code
- PyCascades 2024
- Project names blocked on PyPI to avoid name collision for downstream free-threaded Python distributions
- An Open Letter to the Python Software Foundation
- https://discuss.python.org/t/python-3-12-1-now-available/40603
- https://discuss.python.org/t/python-3-11-7-is-available/40778
- Obfuscated Python winning (via Johannes Lippmann)
Extras
Brian:
- Python for VSCode, Dec 2023 release, rolls out better test discovery to everyone.
- Forcing pip to use virtualenv
- Advent of Code
Joke: Too many open tabs