Artwork

内容由Michael Kennedy and Brian Okken提供。所有播客内容(包括剧集、图形和播客描述)均由 Michael Kennedy and Brian Okken 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

#458 I will install Linux on your computer

22:47
 
分享
 

Manage episode 519933560 series 1305988
内容由Michael Kennedy and Brian Okken提供。所有播客内容(包括剧集、图形和播客描述)均由 Michael Kennedy and Brian Okken 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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: Possibility of a new website for Django

Michael #2: aiosqlitepool

  • 🛡️A resilient, high-performance asynchronous connection pool layer for SQLite, designed for efficient and scalable database operations.
  • About 2x better than regular SQLite.
  • Pairs with aiosqlite
  • aiosqlitepool in three points:
    • Eliminates connection overhead: It avoids repeated database connection setup (syscalls, memory allocation) and teardown (syscalls, deallocation) by reusing long-lived connections.
    • Faster queries via "hot" cache: Long-lived connections keep SQLite's in-memory page cache "hot." This serves frequently requested data directly from memory, speeding up repetitive queries and reducing I/O operations.
    • Maximizes concurrent throughput: Allows your application to process significantly more database queries per second under heavy load.

Brian #3: deptry

  • “deptry is a command line tool to check for issues with dependencies in a Python project, such as unused or missing dependencies. It supports projects using Poetry, pip, PDM, uv, and more generally any project supporting PEP 621 specification.”
  • “Dependency issues are detected by scanning for imported modules within all Python files in a directory and its subdirectories, and comparing those to the dependencies listed in the project's requirements.”
  • Note if you use project.optional-dependencies

    [project.optional-dependencies] plot = ["matplotlib"] test = ["pytest"] 
  • you have to set a config setting to get it to work right:

    [tool.deptry] pep621_dev_dependency_groups = ["test", "docs"] 

Michael #4: browsr

  • browsr 🗂️ is a pleasant file explorer in your terminal. It's a command line TUI (text-based user interface) application that empowers you to browse the contents of local and remote filesystems with your keyboard or mouse.
  • You can quickly navigate through directories and peek at files whether they're hosted locally, in GitHub, over SSH, in AWS S3, Google Cloud Storage, or Azure Blob Storage.
  • View code files with syntax highlighting, format JSON files, render images, convert data files to navigable datatables, and more.

Extras

Brian:

  • Understanding the MICRO
  • TDD chapter coming out later today or maybe tomorrow, but it’s close.

Michael:

Joke: I will find you

  continue reading

464集单集

Artwork

#458 I will install Linux on your computer

Python Bytes

1,333 subscribers

published

icon分享
 
Manage episode 519933560 series 1305988
内容由Michael Kennedy and Brian Okken提供。所有播客内容(包括剧集、图形和播客描述)均由 Michael Kennedy and Brian Okken 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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: Possibility of a new website for Django

Michael #2: aiosqlitepool

  • 🛡️A resilient, high-performance asynchronous connection pool layer for SQLite, designed for efficient and scalable database operations.
  • About 2x better than regular SQLite.
  • Pairs with aiosqlite
  • aiosqlitepool in three points:
    • Eliminates connection overhead: It avoids repeated database connection setup (syscalls, memory allocation) and teardown (syscalls, deallocation) by reusing long-lived connections.
    • Faster queries via "hot" cache: Long-lived connections keep SQLite's in-memory page cache "hot." This serves frequently requested data directly from memory, speeding up repetitive queries and reducing I/O operations.
    • Maximizes concurrent throughput: Allows your application to process significantly more database queries per second under heavy load.

Brian #3: deptry

  • “deptry is a command line tool to check for issues with dependencies in a Python project, such as unused or missing dependencies. It supports projects using Poetry, pip, PDM, uv, and more generally any project supporting PEP 621 specification.”
  • “Dependency issues are detected by scanning for imported modules within all Python files in a directory and its subdirectories, and comparing those to the dependencies listed in the project's requirements.”
  • Note if you use project.optional-dependencies

    [project.optional-dependencies] plot = ["matplotlib"] test = ["pytest"] 
  • you have to set a config setting to get it to work right:

    [tool.deptry] pep621_dev_dependency_groups = ["test", "docs"] 

Michael #4: browsr

  • browsr 🗂️ is a pleasant file explorer in your terminal. It's a command line TUI (text-based user interface) application that empowers you to browse the contents of local and remote filesystems with your keyboard or mouse.
  • You can quickly navigate through directories and peek at files whether they're hosted locally, in GitHub, over SSH, in AWS S3, Google Cloud Storage, or Azure Blob Storage.
  • View code files with syntax highlighting, format JSON files, render images, convert data files to navigable datatables, and more.

Extras

Brian:

  • Understanding the MICRO
  • TDD chapter coming out later today or maybe tomorrow, but it’s close.

Michael:

Joke: I will find you

  continue reading

464集单集

所有剧集

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南

版权2025 | 隐私政策 | 服务条款 | | 版权
边探索边听这个节目
播放