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-2024
    続きを読む 一部表示
activate_samplebutton_t1
エピソード
  • #399 C will watch you in silence
    2024/09/03
    Topics covered in this episode: Why I Still Use Python Virtual Environments in DockerPython Developer Survey ResultsAnaconda Code add-in for Microsoft ExcelDisabling Scheduled Dependency UpdatesExtrasJokeWatch on YouTube About the show Sponsored by us! Support our work through Our courses at Talk Python TrainingHello, pytest! CoursePatreon Supporters Connect with the hosts Michael: @mkennedy@fosstodon.orgBrian: @brianokken@fosstodon.orgShow: @pythonbytes@fosstodon.org 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: Why I Still Use Python Virtual Environments in Docker by Hynek SchlawackI was going to cover Production-ready Docker Containers with uv but decided to take this diversion instead.Spend a lot of time thinking about the secondary effects of what you do.venvs are well known and well documented. Let’s use them. Brian #2: Python Developer Survey Results “… official Python Developers Survey, conducted as a collaborative effort between the Python Software Foundation and JetBrains.”Python w/ Rust rising, but still only 7%““The drop in HTML/CSS/JS might show that data science is increasing its share of Python.” - Paul Everitt37% contribute to open source. Awesome.Favorite Resources: Podcasts Lots of familiar faces there. Awesome. Perhaps I shouldn’t have decided to move “Python Test” back to Test & CodeUsage “Data analysis” down, but I think that’s because “data engineering” is added.Data, Web dev, ML, devops, academic, Testing is down 23%Python Versions Still some 2 out thereMost folks on 3.10-3.12Install from: mostly python.orgFrameworks web: Flask, Django, Requests, FastAPI …testing: pytest, unittest, mock, doctest, tox, hypothesis, nose (2% might be the Python 2 people)Data science 77% use pandas, 72% NumPyOS: Windows still at 55% Packaging: venv up to 55%I imaging uv will be on the list next yearrequirements.txt 63%, pyproject.toml 32%virtual env in containers? 47% say no Michael #3: Anaconda Code add-in for Microsoft Excel Run their Python-powered projects in Excel locally with the Anaconda Code add-inPowered by PyScript, an Anaconda supported open source project that runs Python locally without install and setupFeatures Cells Run IndependentlyRange to Multiple Typesinit.py file is static and cannot be edited, with Anaconda Code, users have the ability to access and edit imports and definitions, allowing you to write top-level functions and classes and reuse them wherever you need. A Customizable Environment Brian #4: Disabling Scheduled Dependency Updates David LordInteresting discussion of as they happen or batching of upsates to dependenciesdependencies come in requirements filesGH Actions in CI workflowspre-commit hooksDavid was seeing 60 PRs per month when set up on monthly updates (3 ecosystems * 20 projects)new tool for updating GH actions: gha-update, allows for local updating of GH dependenciesNew process Run pip-compile, gha-update, and pre-commit locally.Update a project’s dependencies when actively working on the project, not just whenever a dependency updates.Note that this works fine for dev dependencies, less so for security updates from run time dependencies. But for libraries, runtime dependencies are usually not pinned. Extras Brian: Test & Code coming back this week Michael: Code in a Castle eventPython Bytes badge spottingGuido’s post removed for moderation Joke: C will watch in silence
    続きを読む 一部表示
    43 分
  • #398 Open source makes you rich? (and other myths)
    2024/08/26
    Topics covered in this episode: Open Source Mythsuv 0.3.0 and all the excitementTop pytest PluginsA comparison of hosts / providers for Python serverless functions (aka Faas)ExtrasJokeWatch on YouTube About the show Sponsored by us! Support our work through: Our courses at Talk Python Trainingpytest courses and community at PythonTest.comPatreon Supporters Connect with the hosts Michael: @mkennedy@fosstodon.orgBrian: @brianokken@fosstodon.orgShow: @pythonbytes@fosstodon.org 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: Open Source Myths Josh BressersMastodon post kicking off a list of open source mythsFeedback and additional myths compiled to a docSome favorites All open source developers live in NebraskaIt’s all run by hippiesEverything is being rewritten in rustFeatures are plannedIf the source code is available, it’s open sourceA project with no commits for 12 months is abandonedMany eyes make all bugs shallowOpen source has worse UXOpen source has better UXOpen source makes you rich Michael #2: uv 0.3.0 and all the excitement Thanks to Skyler Kasko and John Hagen for the emails.Additional write up by Simon WillisonAdditional write up by Armin RonacherEnd-to-end project management: uv run, uv lock, and uv syncTool management: uv tool install and uv tool run (aliased to uvx)Python installation: uv python installScript execution: uv can now manage hermetic, single-file Python scripts with inline dependency metadata based on PEP 723. Brian #3: Top pytest Plugins Inspired by (and assisted by) Hugo’s Top PyPI PackagesWrite up for Finding the top pytest pluginsBTW, pytest-check has made it to 25.Same day, Jeff Triplett throws my code into Claude 3.5 Sonnet and refactors itThanks Jeff Triplett & Hugo for answering how to add Summary and other info Michael #4: A comparison of hosts / providers for Python serverless functions (aka Faas) Nice feature matrix of all the options, frameworks, costs, and moreThe WASM ones look particularly interesting to me. Extras Brian: When is the next live episode of Python Bytes? - via arewemeetingyet.com Thanks to Hugo van KemenadeSome more cool projects by Hugo Python LogosPyPI Downloads by Python version for various Python tools, in pretty colorsPython Core Developers over time Michael: Code in a Castle Course event - just a couple of weeks leftLadybird: A truly independent browser“I'm also interested in your video recording setup, would be nice to have that in the extras too :D” OBS StudioElgato StreamdeckElgato Key lightDaVinci Resolve Joke: DevOps Support Group via Blaise Hi, my name is BobGroup: Hi BobI's been 42 days since I last ssh'd into production.Group: ApplauseBut only 4 days since I accidentally took down the websiteSomeone in back: Oh Bob…
    続きを読む 一部表示
    42 分
  • #397 So many PyCon videos
    2024/08/20
    Topics covered in this episode: pyawaitableAnnotated area charts with plotnineDeltaDBPyCon US 2024 Recap + Videos are upExtrasJokeWatch 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 hosts Michael: @mkennedy@fosstodon.orgBrian: @brianokken@fosstodon.orgShow: @pythonbytes@fosstodon.org Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays 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: pyawaitable CPython API for asynchronous functions.by Peter BiermaIt was originally designed to be directly part of CPython - you can read the scrapped PEP about it. Since this library only uses the public ABI, it's better fit outside of CPython, as a library. Brian #2: Annotated area charts with plotnine Nicola RennieThis is a marvelous, very professional looking plot, and a tutorial for how to achieve it.Uses plotline, which is “.. an implementation of a grammar of graphics in Python based on ggplot2” I actually didn’t know the gg in ggplot came from “grammar of graphics”. TIL Michael #3: DeltaDB A lightweight, comprehensive solution for managing delta tables built on polars and deltalake.Deltalake: Delta Lake is an open-source storage format that runs on top of existing data lakes. Polars: Dataframes powered by a multithreaded, vectorized query engine, written in Rust (aka fluent, rust-based pandas)See the docs. Brian #4: PyCon US 2024 Recap + Videos are up 95 countries attendedtotal attendance of 2,991 2,551 in person440 remoteVideos available PyConUS I recommend Playlist → 2024 → view full playlist, as it’s easier to see the talk titles.I’ve got Paul Gannsle’s pytest for unittesters and Amitosh Swain’s Testing Data Pipelines queued up Extras Brian: Hello, pytest! course available as of last Friday. Now the fastest way to get started using pytest. 16 lessons (really 12 + intro, outro, code download, pytest flag cheat sheet)The whole shebang is about 90 min. (faster if you bump up the video speed. :) Michael: Cutting back on digital distractions, trying Dumb Phone for iPhone. See screenshotCode in a Castle Event Joke: The Tao of Programming: 4.3 A master was explaining the nature of Tao of to one of his novices, "The Tao is embodied in all software -- regardless of how insignificant," said the master. "Is the Tao in a hand-held calculator?" asked the novice. "It is," came the reply. "Is the Tao in a video game?" continued the novice. "It is even in a video game," said the master. "And is the Tao in the DOS for a personal computer?" The master coughed and shifted his position slightly. "The lesson is over for today," he said.
    続きを読む 一部表示
    22 分

あらすじ・解説

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-2024

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

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