Artwork

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

Python Thread Safety & Managing Projects With uv

34:48
 
공유
 

Manage episode 485796091 series 2637014
Real Python에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Real Python 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.

What are the ways you can manage multithreaded code in Python? What synchronization techniques are available within Python’s threading module? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

Christopher discusses his recent Real Python video course about thread safety. The course provides a quick overview of race conditions and how to use locks in your code. It then goes on to share a collection of additional synchronization primitives to make your code thread-safe.

We dig into a tutorial by Leodanis Pozo Ramos about managing Python projects with uv. The tutorial shows you how to quickly initialize a project, build the directory structure, add dependencies, and publish your package while practicing the commands inside uv.

We also share several other articles and projects from the Python community, including a news roundup, unraveling t-strings, what’s new in pip 25.1, an SVG-first plotting library, and a data modeling tool built on top of Polars and Pydantic.

Course Spotlight: Thread Safety in Python: Locks and Other Techniques

In this video course, you’ll learn about the issues that can occur when your code is run in a multithreaded environment. Then you’ll explore the various synchronization primitives available in Python’s threading module, such as locks, which help you make your code safe.

Topics:

  • 00:00:00 – Introduction
  • 00:02:23 – PEP 773: A Python Installation Manager for Windows
  • 00:03:09 – PEP 784: Adding Zstandard to the Standard Library
  • 00:03:28 – Python Insider: Python 3.14.0 Beta 1 Is Here!
  • 00:03:48 – Django Security Releases Issued: 5.2.1, 5.1.9 and 4.2.2
  • 00:04:09 – ty: New Type Checker and Language Server by Astral
  • 00:05:01 – pyrefly: A Fast Type Checker and IDE for Python
  • 00:06:03 – The Future of Textualize
  • 00:07:08 – Managing Python Projects With uv
  • 00:12:20 – pre-commit: Install With uv
  • 00:13:03 – Python’s New t-strings
  • 00:16:38 – Unraveling t-strings
  • 00:18:33 – Video Course Spotlight
  • 00:19:50 – What’s New in Pip 25.1
  • 00:24:30 – Thread Safety in Python: Locks and Other Techniques
  • 00:28:40 – glyphx: SVG-first Plotting Library
  • 00:31:20 – patito: A data modeling layer built on top of Polars and Pydantic
  • 00:34:02 – Thanks and goodbye

News:

Show Links:

  • Managing Python Projects With uv – In this tutorial, you’ll learn how to create and manage your Python projects using uv, an extremely fast Python package and project manager written in Rust.
  • pre-commit: Install With uv – pre-commit is Adam’s favorite Git-integrated “run things on commit” tool. It acts as a kind of package manager, installing tools as necessary from their Git repositories. This post explains how to use it with uv.
  • Python’s New t-strings – Using f-strings is a readable way of building output, but there are situations where they can’t be used because the contents need to be verified before being string-ified. The new t-strings, coming in 3.14, are a solution to this problem.
  • Unraveling t-strings – PEP 750 introduced t-strings for Python 3.14. These are a template string mechanism similar to f-strings. Although they are in 3.14.0b1, there isn’t any documentation yet, so this post explains what they are how they can be used.
  • What’s New in Pip 25.1 – pip 25.1 introduces support for Dependency Groups (PEP 735), resumable downloads, and an installation progress bar. Dependency resolution has also received a raft of bugfixes and improvements.
  • Thread Safety in Python: Locks and Other Techniques – In this video course, you’ll learn about the issues that can occur when your code is run in a multithreaded environment. Then you’ll explore the various synchronization primitives available in Python’s threading module, such as locks, which help you make your code safe.

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

265 에피소드

Artwork
icon공유
 
Manage episode 485796091 series 2637014
Real Python에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Real Python 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.

What are the ways you can manage multithreaded code in Python? What synchronization techniques are available within Python’s threading module? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

Christopher discusses his recent Real Python video course about thread safety. The course provides a quick overview of race conditions and how to use locks in your code. It then goes on to share a collection of additional synchronization primitives to make your code thread-safe.

We dig into a tutorial by Leodanis Pozo Ramos about managing Python projects with uv. The tutorial shows you how to quickly initialize a project, build the directory structure, add dependencies, and publish your package while practicing the commands inside uv.

We also share several other articles and projects from the Python community, including a news roundup, unraveling t-strings, what’s new in pip 25.1, an SVG-first plotting library, and a data modeling tool built on top of Polars and Pydantic.

Course Spotlight: Thread Safety in Python: Locks and Other Techniques

In this video course, you’ll learn about the issues that can occur when your code is run in a multithreaded environment. Then you’ll explore the various synchronization primitives available in Python’s threading module, such as locks, which help you make your code safe.

Topics:

  • 00:00:00 – Introduction
  • 00:02:23 – PEP 773: A Python Installation Manager for Windows
  • 00:03:09 – PEP 784: Adding Zstandard to the Standard Library
  • 00:03:28 – Python Insider: Python 3.14.0 Beta 1 Is Here!
  • 00:03:48 – Django Security Releases Issued: 5.2.1, 5.1.9 and 4.2.2
  • 00:04:09 – ty: New Type Checker and Language Server by Astral
  • 00:05:01 – pyrefly: A Fast Type Checker and IDE for Python
  • 00:06:03 – The Future of Textualize
  • 00:07:08 – Managing Python Projects With uv
  • 00:12:20 – pre-commit: Install With uv
  • 00:13:03 – Python’s New t-strings
  • 00:16:38 – Unraveling t-strings
  • 00:18:33 – Video Course Spotlight
  • 00:19:50 – What’s New in Pip 25.1
  • 00:24:30 – Thread Safety in Python: Locks and Other Techniques
  • 00:28:40 – glyphx: SVG-first Plotting Library
  • 00:31:20 – patito: A data modeling layer built on top of Polars and Pydantic
  • 00:34:02 – Thanks and goodbye

News:

Show Links:

  • Managing Python Projects With uv – In this tutorial, you’ll learn how to create and manage your Python projects using uv, an extremely fast Python package and project manager written in Rust.
  • pre-commit: Install With uv – pre-commit is Adam’s favorite Git-integrated “run things on commit” tool. It acts as a kind of package manager, installing tools as necessary from their Git repositories. This post explains how to use it with uv.
  • Python’s New t-strings – Using f-strings is a readable way of building output, but there are situations where they can’t be used because the contents need to be verified before being string-ified. The new t-strings, coming in 3.14, are a solution to this problem.
  • Unraveling t-strings – PEP 750 introduced t-strings for Python 3.14. These are a template string mechanism similar to f-strings. Although they are in 3.14.0b1, there isn’t any documentation yet, so this post explains what they are how they can be used.
  • What’s New in Pip 25.1 – pip 25.1 introduces support for Dependency Groups (PEP 735), resumable downloads, and an installation progress bar. Dependency resolution has also received a raft of bugfixes and improvements.
  • Thread Safety in Python: Locks and Other Techniques – In this video course, you’ll learn about the issues that can occur when your code is run in a multithreaded environment. Then you’ll explore the various synchronization primitives available in Python’s threading module, such as locks, which help you make your code safe.

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

265 에피소드

All episodes

×
 
Loading …

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

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

 

빠른 참조 가이드

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