1,828 subscribers
Treceți offline cu aplicația Player FM !
Podcasturi care merită ascultate
SPONSORIZAT


#414 Because we are not monsters
Manage episode 455851349 series 1305988
- New project to shorten django-admin to django because we are not monsters
- django-unicorn: The magical reactive component framework for Django
- Testing some tidbits
- The State of Python 2024 article
- Extras
- Joke
About the show
Sponsored by us! Support our work through:
Connect with the hosts
- Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)
- Brian: @brianokken@fosstodon.org / @brianokken.bsky.social
- Show: @pythonbytes@fosstodon.org / @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.
Brian #1: New project to shorten django-admin to django because we are not monsters
- Jeff Tripplet has created django-cli-no-admin to shorten django-admin to just django.
- “One of the biggest mysteries in Django is why I have to run django-admin from my terminal instead of just running django. Confusingly, django-admin has nothing to do with Django’s admin app.”
- Instead of typing things like: django-admin startproject mysite projectname
- We can type the shorter: django startproject mysite projectname
- I love this kind of developer speedup / comfort improvements
- And yes, Jeff wants Django to eventually include this as the default way to run the command line utilities.
Michael #2: django-unicorn: The magical reactive component framework for Django
- Add modern site functionality: Quickly add in simple interactions to regular Django templates without learning a new templating language.
- Skip the JavaScript build tools
- No API required: Skip creating a bunch of serializers and just use Django.
Brian #3: Testing some tidbits
- Ned Batchelder
- Different ways to test to see if a string has only 0 or 1 in it.
- And also, a way to check all the different ways to make sure they work.
- Fun post, and I learned about
- cleandoc - a way to strip leading blank space and maintain code block indentation
- I usually use textwrap.dedent()
- partition - splitting strings based on a substring
- Using | to pass imports to eval() - I don't use eval much.
- cleandoc - a way to strip leading blank space and maintain code block indentation
- However, no pytest!
- Here’s a way to check all this with pytest:
Michael #4: The State of Python 2024 article
- Python usage with other languages drops as general adoption grows
- 41% of Python developers have under 2 years of experience
- Python learning expands through diverse channels
- The Python 2 vs. 3 divide is in the distant past
- Flask, Django, and FastAPI remain top Python web frameworks
- Most Python web apps run on hyperscale clouds
- Containers over VMs over hardware
- uv takes Python packaging by storm
Extras
Brian:
- More Django: Dracula Theme for Django Admin
Michael:
- Zen Browser update
- Office refresh
- Transcripts (in some players)
Joke:
425 episoade
Manage episode 455851349 series 1305988
- New project to shorten django-admin to django because we are not monsters
- django-unicorn: The magical reactive component framework for Django
- Testing some tidbits
- The State of Python 2024 article
- Extras
- Joke
About the show
Sponsored by us! Support our work through:
Connect with the hosts
- Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)
- Brian: @brianokken@fosstodon.org / @brianokken.bsky.social
- Show: @pythonbytes@fosstodon.org / @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.
Brian #1: New project to shorten django-admin to django because we are not monsters
- Jeff Tripplet has created django-cli-no-admin to shorten django-admin to just django.
- “One of the biggest mysteries in Django is why I have to run django-admin from my terminal instead of just running django. Confusingly, django-admin has nothing to do with Django’s admin app.”
- Instead of typing things like: django-admin startproject mysite projectname
- We can type the shorter: django startproject mysite projectname
- I love this kind of developer speedup / comfort improvements
- And yes, Jeff wants Django to eventually include this as the default way to run the command line utilities.
Michael #2: django-unicorn: The magical reactive component framework for Django
- Add modern site functionality: Quickly add in simple interactions to regular Django templates without learning a new templating language.
- Skip the JavaScript build tools
- No API required: Skip creating a bunch of serializers and just use Django.
Brian #3: Testing some tidbits
- Ned Batchelder
- Different ways to test to see if a string has only 0 or 1 in it.
- And also, a way to check all the different ways to make sure they work.
- Fun post, and I learned about
- cleandoc - a way to strip leading blank space and maintain code block indentation
- I usually use textwrap.dedent()
- partition - splitting strings based on a substring
- Using | to pass imports to eval() - I don't use eval much.
- cleandoc - a way to strip leading blank space and maintain code block indentation
- However, no pytest!
- Here’s a way to check all this with pytest:
Michael #4: The State of Python 2024 article
- Python usage with other languages drops as general adoption grows
- 41% of Python developers have under 2 years of experience
- Python learning expands through diverse channels
- The Python 2 vs. 3 divide is in the distant past
- Flask, Django, and FastAPI remain top Python web frameworks
- Most Python web apps run on hyperscale clouds
- Containers over VMs over hardware
- uv takes Python packaging by storm
Extras
Brian:
- More Django: Dracula Theme for Django Admin
Michael:
- Zen Browser update
- Office refresh
- Transcripts (in some players)
Joke:
425 episoade
すべてのエピソード
×
1 #420 90% Done in 50% of the Available Time 27:47

1 #419 Is your back end popular? 30:06

1 #417 Bugs hide from the light 23:35

1 #415 Just put the fries in the bag bro 32:59

1 #414 Because we are not monsters 29:45

1 #413 python-build-standalone finds a home 30:39

1 #410 Entering the Django core 30:42

1 #409 We've moved to Hetzner write-up 35:07

1 #408 python-preference only-managed 3.13t 31:16

1 #407 Back to the future, destination 3.14 28:26
Bun venit la Player FM!
Player FM scanează web-ul pentru podcast-uri de înaltă calitate pentru a vă putea bucura acum. Este cea mai bună aplicație pentru podcast și funcționează pe Android, iPhone și pe web. Înscrieți-vă pentru a sincroniza abonamentele pe toate dispozitivele.