Artwork

Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Player FM -팟 캐스트 앱
Player FM 앱으로 오프라인으로 전환하세요!

#413 python-build-standalone finds a home

30:39
 
공유
 

Manage episode 454692729 series 1305988
Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.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: jiter

  • Fast iterable JSON parser.
  • About to be the backend for Pydantic and Logfire.
  • Currently powers OpenAI / ChatGPT (along with Pydantic itself), at least their Python library, maybe more.
  • jiter has three interfaces:
    • JsonValue an enum representing JSON data
    • Jiter an iterator over JSON data
    • PythonParse which parses a JSON string into a Python object
  • jiter-python - This is a standalone version of the JSON parser used in pydantic-core. The recommendation is to only use this package directly if you do not use pydantic

Brian #2: A new home for python-build-standalone

Michael #3: moka-py

  • A high performance caching library for Python written in Rust
  • moka-py is a Python binding for the highly efficient Moka caching library written in Rust.
  • This library allows you to leverage the power of Moka's high-performance, feature-rich cache in your Python projects.
  • Features
    • Synchronous Cache: Supports thread-safe, in-memory caching for Python applications.
    • TTL Support: Automatically evicts entries after a configurable time-to-live (TTL).
    • TTI Support: Automatically evicts entries after a configurable time-to-idle (TTI).
    • Size-based Eviction: Automatically removes items when the cache exceeds its size limit using the TinyLFU policy.
    • Concurrency: Optimized for high-performance, concurrent access in multi-threaded environments.

Brian #4: uv: An In-Depth Guide

  • On SaaS Pegasus blog, so presumably by Cory Zue
  • Good intro to uv
  • Also a nice list of everyday commands
    • Install python: uv python install 3.12
      • I don’t really use this anymore, as uv venv .venv --python 3.12 or uv sync install if necessary
    • create a virtual env: uv venv .venv --python 3.12
    • install stuff: uv pip install django
    • add project dependencies
    • build pinned dependencies
  • Also discussion about adopting the new workflow

Extras

Brian:

Michael:

Joke: Inf

  continue reading

419 에피소드

Artwork

#413 python-build-standalone finds a home

Python Bytes

1,826 subscribers

published

icon공유
 
Manage episode 454692729 series 1305988
Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.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: jiter

  • Fast iterable JSON parser.
  • About to be the backend for Pydantic and Logfire.
  • Currently powers OpenAI / ChatGPT (along with Pydantic itself), at least their Python library, maybe more.
  • jiter has three interfaces:
    • JsonValue an enum representing JSON data
    • Jiter an iterator over JSON data
    • PythonParse which parses a JSON string into a Python object
  • jiter-python - This is a standalone version of the JSON parser used in pydantic-core. The recommendation is to only use this package directly if you do not use pydantic

Brian #2: A new home for python-build-standalone

Michael #3: moka-py

  • A high performance caching library for Python written in Rust
  • moka-py is a Python binding for the highly efficient Moka caching library written in Rust.
  • This library allows you to leverage the power of Moka's high-performance, feature-rich cache in your Python projects.
  • Features
    • Synchronous Cache: Supports thread-safe, in-memory caching for Python applications.
    • TTL Support: Automatically evicts entries after a configurable time-to-live (TTL).
    • TTI Support: Automatically evicts entries after a configurable time-to-idle (TTI).
    • Size-based Eviction: Automatically removes items when the cache exceeds its size limit using the TinyLFU policy.
    • Concurrency: Optimized for high-performance, concurrent access in multi-threaded environments.

Brian #4: uv: An In-Depth Guide

  • On SaaS Pegasus blog, so presumably by Cory Zue
  • Good intro to uv
  • Also a nice list of everyday commands
    • Install python: uv python install 3.12
      • I don’t really use this anymore, as uv venv .venv --python 3.12 or uv sync install if necessary
    • create a virtual env: uv venv .venv --python 3.12
    • install stuff: uv pip install django
    • add project dependencies
    • build pinned dependencies
  • Also discussion about adopting the new workflow

Extras

Brian:

Michael:

Joke: Inf

  continue reading

419 에피소드

모든 에피소드

×
 
Loading …

플레이어 FM에 오신것을 환영합니다!

플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.

 

빠른 참조 가이드

탐색하는 동안 이 프로그램을 들어보세요.
재생