『Python Bytes』のカバーアート

Python Bytes

Python Bytes

著者: Michael Kennedy and Brian Okken
無料で聴く

このコンテンツについて

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.Copyright 2016-2025 政治・政府
エピソード
  • #431 Nerd Gas
    2025/05/05
    Topics covered in this episode: pirel: Python release cycle in your terminalFastAPI CloudPython's new t-stringsExtrasJokeWatch on YouTube About the show Sponsored by NordLayer: pythonbytes.fm/nordlayer Connect with the hosts Michael: @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 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: pirel: Python release cycle in your terminal pirel check shows release information about your active Python interpreter.If the active version is end-of-life, the program exits with code 1. If no active Python interpreter is found, the program exits with code 2.pirel list lists all Python releases in a table. Your active Python interpreter is highlighted.A picture is worth many words Brian #2: FastAPI Cloud Sebastián Ramírez, creator of FastAPI, announced today the formation of a new Company, FastAPI Cloud.Here’s the announcement blog post: FastAPI Cloud - By The Same Team Behind FastAPIThere’s a wait list to try it out.Promises to turns deployment into fastapi login; fastapi deploySide note: announcement includes quote from Daft Punk: Build Harder, Better, Faster, Stronger I just included this in a talk I’m gave last week (and will again next week), where I modify this to “Build Easier, Better, Faster, Stronger”Sebastian and I are both fans of the rocket emoji.BTW, we first covered FastAPI on episode 123 in 2019 Brian #3: Python's new t-strings Dave Peck, one of the authors of PEP 750, which will go into Python 3.14We covered t-strings in ep 428In article t-strings security benefits over f-stringsHow to work with t-stringsA Pig Latin example Also, I think I have always done this wrongIs it the first consonant to the end? or the first consonant cluster?So… Brian → Rianbay? or Ianbray?BTW, this is an example of nerdgassingWhat’s next once t-strings ship?On thing that’s next (in Python 3.15, maybe, is using t-strings in shlex and subprocess) PEP 787 – Safer subprocess usage using t-strings deferred to 3.15 Michael #4: zev A simple CLI tool to help you remember terminal commands.Examples: # Find running processes zev 'show all running python processes' # File operations zev 'find all .py files modified in the last 24 hours' # System information zev 'show disk usage for current directory' # Network commands zev 'check if google.com is reachable' # Git operations zev 'show uncommitted changes in git' Again, picture worth many words: Extras Brian: Holy Grail turns 50nerdgassing Michael: Transcripts are a bit better now.Zen is better now Joke: Can my friend come in?
    続きを読む 一部表示
    29 分
  • #430 Or you go to jail
    2025/04/28
    Topics covered in this episode: pip 25.1 has dependency groups, pylock.toml, plus moreaiohttp goes free threadeduv 0.6.15 supports pylock.tomlWheneverExtrasJokeWatch on YouTube About the show Sponsored by Porkbun! Use our link pythonbytes.fm/porkbun and get a .app or .dev domain for $5.99 at Porkbun. Connect with the hosts Michael: @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 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: pip 25.1 has dependency groups, pylock.toml, plus more post What's new in pip 25.1 - Dependency groups!Richard SiDiscovered this through Hugo van KemenadeDependency groups, PEP 735, supported # pyproject.toml [dependency-groups] test = ["pytest", "pytest-xdist"] lint = ["mypy", "isort"] # Dependency Groups can include other groups! ✨ dev = [ {include-group = "test"}, {include-group = "lint"} ] Package installation progress barResumable downloadsExperimental lockfile generation, PEP 751, with pip lock so coolpip index versions is stable, no longer experimental use this to get a list of available versionsex: python3 -m pip index versions pytest-checkcombine with --json to get a nice script readable output Michael #2: aiohttp goes free threaded Thanks to months of consistent contributions by Lysandros Nikolaou, all of the mandatory dependencies of #aiohttp now ship free-threaded variants of #wheels!This unlocks the same in aiohttp! Brian #3: uv 0.6.15 supports pylock.toml Discovered through Brett CannonSo far, these projects support pylock.toml pippip-auditpdmuvWith uv To export a uv.lock to the pylock.toml format, run: uv export -o pylock.tomlTo generate a pylock.toml file from a set of requirements, run: uv pip compile -o pylock.toml -r requirements.inTo install from a pylock.toml file, run: uv pip sync pylock.toml or uv pip install -r pylock.toml Michael #4: Whenever via Pat DeckerTyped and DST-safe datetimes for Python, available in Rust or pure Python.Whenever helps you write correct and type checked datetime code.It's also way faster than other third-party libraries—and usually the standard library as well. Extras Brian: Every UUID Michael: New Vulnerability in GitHub Copilot and Cursor: How Hackers Can Weaponize Code Agents via Brian SkinnAnd typosquatting in the AI ageFirefox Send alternatives file.pizza via @rafaelwo bitwarden send Joke: Can you Vibe? Interview with Vibe Coder in 2025Senior Engineer tries Vibe Coding
    続きを読む 一部表示
    29 分
  • #429 Nitpicking Python
    2025/04/21
    Topics covered in this episode: HulyCVE Foundation formed to take over CVE program from MITREdrawdb14 Advanced Python FeaturesExtrasJokeWatch on YouTube About the show Sponsored by Posit Workbench: pythonbytes.fm/workbench Connect with the hosts Michael: @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 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: Huly All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion) If you're primarily interested in self-hosting Huly without the intention to modify or contribute to its development, please use huly-selfhost.Manage your tasks efficiently with Huly's bidirectional GitHub synchronization. Use Huly as an advanced front-end for GitHub Issues and GitHub Projects.Connect every element of your workflow to build a dynamic knowledge base.Everything you need for productive team work: Team Planner • Project Management • Virtual Office • Chat • Documents • InboxSelf hosting as a service: elest.io Brian #2: CVE Foundation formed to take over CVE program from MITRE Back story: CVE, global source of cybersecurity info, was hours from being cut by DHS The 25-year-old CVE program, an essential part of global cybersecurity, is cited in nearly any discussion or response to a computer security issue.CVE was at real risk of closure after its contract was set to expire on April 16.The nonprofit MITRE runs CVE on a contract with the DHS.A letter last Tuesday sent Tuesday by Yosry Barsoum, vice president of MITRE, gave notice of the potential halt to operations.Another possible victim of the current administration.CVE Foundation Launched to Secure the Future of the CVE Program CVE Board members have spent the past year developing a strategy to transition CVE to a dedicated, non-profit foundation. The new CVE Foundation will focus solely on continuing the mission of delivering high-quality vulnerability identification and maintaining the integrity and availability of CVE data for defenders worldwide.Over the coming days, the Foundation will release more information about its structure, transition planning, and opportunities for involvement from the broader community. Michael #3: drawdb Free and open source, simple, and intuitive database design editor, data-modeler, and SQL generator.Great drag-drop relationship managerDefine your DB visually, export as SQL create scriptsOr import existing SQL to kickstart the diagramming. Brian #4: 14 Advanced Python Features Edward LiPicking some favorites 1. Typing Overloads2. Keyword-only and Positional-only Arguments9. Python Nitpicks For-else statementsWalrus operatorShort Circuit EvaluationOperator Chaining Extras Michael: Thunderbird send / other firefox things. Joke: Python Tariffs Thanks wagenraceThanks Campfire Tales
    続きを読む 一部表示
    27 分

Python Bytesに寄せられたリスナーの声

カスタマーレビュー:以下のタブを選択することで、他のサイトのレビューをご覧になれます。