Artwork

Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Player FM -팟 캐스트 앱
Player FM 앱으로 오프라인으로 전환하세요!

#414 Because we are not monsters

29:45
 
공유
 

Manage episode 455851349 series 1305988
Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Topics covered in this episode:
Watch on YouTube
About the show

Sponsored by us! Support our work through:

Connect with the hosts

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 sparkles

  • 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.
  • However, no pytest!
  • Here’s a way to check all this with pytest:

Michael #4: The State of Python 2024 article

  1. Python usage with other languages drops as general adoption grows
  2. 41% of Python developers have under 2 years of experience
  3. Python learning expands through diverse channels
  4. The Python 2 vs. 3 divide is in the distant past
  5. Flask, Django, and FastAPI remain top Python web frameworks
  6. Most Python web apps run on hyperscale clouds
  7. Containers over VMs over hardware
  8. uv takes Python packaging by storm

Extras

Brian:

Michael:

Joke:

  continue reading

419 에피소드

Artwork

#414 Because we are not monsters

Python Bytes

1,826 subscribers

published

icon공유
 
Manage episode 455851349 series 1305988
Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Topics covered in this episode:
Watch on YouTube
About the show

Sponsored by us! Support our work through:

Connect with the hosts

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 sparkles

  • 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.
  • However, no pytest!
  • Here’s a way to check all this with pytest:

Michael #4: The State of Python 2024 article

  1. Python usage with other languages drops as general adoption grows
  2. 41% of Python developers have under 2 years of experience
  3. Python learning expands through diverse channels
  4. The Python 2 vs. 3 divide is in the distant past
  5. Flask, Django, and FastAPI remain top Python web frameworks
  6. Most Python web apps run on hyperscale clouds
  7. Containers over VMs over hardware
  8. uv takes Python packaging by storm

Extras

Brian:

Michael:

Joke:

  continue reading

419 에피소드

All episodes

×
 
Loading …

플레이어 FM에 오신것을 환영합니다!

플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.

 

빠른 참조 가이드

탐색하는 동안 이 프로그램을 들어보세요.
재생