Artwork

Kandungan disediakan oleh Michael Kennedy and Brian Okken. Semua kandungan podcast termasuk episod, grafik dan perihalan podcast dimuat naik dan disediakan terus oleh Michael Kennedy and Brian Okken atau rakan kongsi platform podcast mereka. Jika anda percaya seseorang menggunakan karya berhak cipta anda tanpa kebenaran anda, anda boleh mengikuti proses yang digariskan di sini https://ms.player.fm/legal.
Player FM - Aplikasi Podcast
Pergi ke luar talian dengan aplikasi Player FM !

#399 C will watch you in silence

42:37
 
Kongsi
 

Manage episode 437949262 series 1305988
Kandungan disediakan oleh Michael Kennedy and Brian Okken. Semua kandungan podcast termasuk episod, grafik dan perihalan podcast dimuat naik dan disediakan terus oleh Michael Kennedy and Brian Okken atau rakan kongsi platform podcast mereka. Jika anda percaya seseorang menggunakan karya berhak cipta anda tanpa kebenaran anda, anda boleh mengikuti proses yang digariskan di sini https://ms.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.

Michael #1: Why I Still Use Python Virtual Environments in Docker

  • by Hynek Schlawack
  • I 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 Everitt
  • 37% 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 & Code
  • Usage
    • “Data analysis” down, but I think that’s because “data engineering” is added.
    • Data, Web dev, ML, devops, academic,
    • Testing is down disappointed face 23%
  • Python Versions
    • Still some 2 out there
    • Most folks on 3.10-3.12
  • Install from: mostly python.org
  • Frameworks
    • 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% NumPy
  • OS: Windows still at 55%
  • Packaging:
    • venv up to 55%
    • I imaging uv will be on the list next year
    • requirements.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-in
  • Powered by PyScript, an Anaconda supported open source project that runs Python locally without install and setup
  • Features
    • Cells Run Independently
    • Range to Multiple Types
    • init.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 Lord
  • Interesting discussion of as they happen or batching of upsates to dependencies
  • dependencies come in
    • requirements files
    • GH Actions in CI workflows
    • pre-commit hooks
  • David 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 dependencies
  • New 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:

Michael:

Joke: C will watch in silence

  continue reading

412 episod

Artwork

#399 C will watch you in silence

Python Bytes

1,826 subscribers

published

iconKongsi
 
Manage episode 437949262 series 1305988
Kandungan disediakan oleh Michael Kennedy and Brian Okken. Semua kandungan podcast termasuk episod, grafik dan perihalan podcast dimuat naik dan disediakan terus oleh Michael Kennedy and Brian Okken atau rakan kongsi platform podcast mereka. Jika anda percaya seseorang menggunakan karya berhak cipta anda tanpa kebenaran anda, anda boleh mengikuti proses yang digariskan di sini https://ms.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.

Michael #1: Why I Still Use Python Virtual Environments in Docker

  • by Hynek Schlawack
  • I 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 Everitt
  • 37% 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 & Code
  • Usage
    • “Data analysis” down, but I think that’s because “data engineering” is added.
    • Data, Web dev, ML, devops, academic,
    • Testing is down disappointed face 23%
  • Python Versions
    • Still some 2 out there
    • Most folks on 3.10-3.12
  • Install from: mostly python.org
  • Frameworks
    • 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% NumPy
  • OS: Windows still at 55%
  • Packaging:
    • venv up to 55%
    • I imaging uv will be on the list next year
    • requirements.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-in
  • Powered by PyScript, an Anaconda supported open source project that runs Python locally without install and setup
  • Features
    • Cells Run Independently
    • Range to Multiple Types
    • init.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 Lord
  • Interesting discussion of as they happen or batching of upsates to dependencies
  • dependencies come in
    • requirements files
    • GH Actions in CI workflows
    • pre-commit hooks
  • David 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 dependencies
  • New 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:

Michael:

Joke: C will watch in silence

  continue reading

412 episod

Semua episod

×
 
Loading …

Selamat datang ke Player FM

Player FM mengimbas laman-laman web bagi podcast berkualiti tinggi untuk anda nikmati sekarang. Ia merupakan aplikasi podcast terbaik dan berfungsi untuk Android, iPhone, dan web. Daftar untuk melaraskan langganan merentasi peranti.

 

Panduan Rujukan Pantas

Podcast Teratas