#477 Lazy, Frozen, and 31% Lighter copertina

#477 Lazy, Frozen, and 31% Lighter

#477 Lazy, Frozen, and 31% Lighter

Ascolta gratuitamente

Vedi i dettagli del titolo

A proposito di questo titolo

Topics covered in this episode: Django Modern RestAlready playing with Python 3.15Cutting Python Web App Memory Over 31%tryke - A Rust-based Ptyhon test runner with a Jest-style APIExtrasJokeWatch on YouTube About the show Sponsored by us! Support our work through: Our courses at Talk Python TrainingThe Complete pytest CoursePatreon Supporters Connect with the hostsMichael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)Brian: @brianokken@fosstodon.org / @brianokken.bsky.socialShow: @pythonbytes@fosstodon.org / @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. Michael #1: Django Modern Rest Modern REST framework for Django with types and async supportSupports Pydantic, Attrs, and msgspecHas ai coding support with llms.txtSee an example at the “showcase” section Brian #2: Already playing with Python 3.15 3.15.0a8, 2.14.4 and 3.13.13 are out Hugo von Kemenadebeta comes in May, CRs in Sept, and Final planned for OctoberBut still, there’s awesome stuff here already, here’s what I’m looking forward to: PEP 810: Explicit lazy importsPEP 814: frozendict built-in typePEP 798: Unpacking in comprehensions with * and **PEP 686: Python now uses UTF-8 as the default encoding Michael #3: Cutting Python Web App Memory Over 31% I cut 3.2 GB of memory usage from our Python web apps using five techniques: async workersimport isolationthe Raw+DC database patternlocal imports for heavy librariesdisk-based cachingSee the full article for details. Brian #4: tryke - A Rust-based Ptyhon test runner with a Jest-style API Justin ChapmanWatch mode, Native async support, Fast test discovery, In-source testing, Support for doctests, Client/server mode for fast editor integrations, Pretty, per-assertion diagnostics, Filtering and marks, Changed mode (like pytest-picked), Concurrent tests, Soft assertions,JSON, JUnit, Dot, and LLM reportersHonestly haven’t tried it yet, but you know, I’m kinda a fan of thinking outside the box with testing strategies so I welcome new ideas. Extras Brian: Why are’t we uv yet? Interesting take on the “agents prefer pip”Problem with analysis. Many projects are libraries and don’t publish uv.lock fileEven with uv, it still often seen as a developer preference for non-libarries. You can sitll use uv with requirements.txtPyCon US 2026 talks schedule is up Interesting that there’s an AI track now. I won’t be attending, but I might have a bot watch the videos and summarize for me. :)What has technology done to us? Justin JacksonLean TDD new cover Also, 0.6.1 is so ready for me to start f-ing reading the audio book and get on with this shipping the actual f-ing book and yes I realize I seem like I’m old because I use “f-ing” while typing. Michael:Python 3.14.4 is outBeanie 2.1 release Joke: HumanDB - Blazingly slow. Emotionally consistent.
Ancora nessuna recensione