Friday, June 20, 2025
HomePythonPython Thread Security & Managing Tasks With uv – The Actual Python...

Python Thread Security & Managing Tasks With uv – The Actual Python Podcast



Could 30, 2025 34m

Christopher Bailey
Christopher Trudeau

What are the methods you’ll be able to handle multithreaded code in Python? What synchronization strategies can be found inside Python’s threading module? Christopher Trudeau is again on the present this week, bringing one other batch of PyCoder’s Weekly articles and initiatives.

Christopher discusses his current Actual Python video course about thread security. The course gives a fast overview of race circumstances and the best way to use locks in your code. It then goes on to share a set of further synchronization primitives to make your code thread-safe.

We dig right into a tutorial by Leodanis Pozo Ramos about managing Python initiatives with uv. The tutorial reveals you the best way to rapidly initialize a mission, construct the listing construction, add dependencies, and publish your package deal whereas practising the instructions inside uv.

We additionally share a number of different articles and initiatives from the Python neighborhood, together with a information roundup, unraveling t-strings, what’s new in pip 25.1, an SVG-first plotting library, and a knowledge modeling device constructed on prime of Polars and Pydantic.

Subjects:

  • 00:00:00 – Introduction
  • 00:02:23 – PEP 773: A Python Set up Supervisor for Home windows
  • 00:03:09 – PEP 784: Including Zstandard to the Commonplace Library
  • 00:03:28 – Python Insider: Python 3.14.0 Beta 1 Is Right here!
  • 00:03:48 – Django Safety Releases Issued: 5.2.1, 5.1.9 and 4.2.2
  • 00:04:09 – ty: New Sort Checker and Language Server by Astral
  • 00:05:01 – pyrefly: A Quick Sort Checker and IDE for Python
  • 00:06:03 – The Way forward for Textualize
  • 00:07:08 – Managing Python Tasks With uv
  • 00:12:20 – pre-commit: Set up With uv
  • 00:13:03 – Python’s New t-strings
  • 00:16:38 – Unraveling t-strings
  • 00:18:33 – Video Course Highlight
  • 00:19:50 – What’s New in Pip 25.1
  • 00:24:30 – Thread Security in Python: Locks and Different Methods
  • 00:28:40 – glyphx: SVG-first Plotting Library
  • 00:31:20 – patito: An information modeling layer constructed on prime of Polars and Pydantic
  • 00:34:02 – Thanks and goodbye

Information:

Present Hyperlinks:

  • Managing Python Tasks With uv – On this tutorial, you’ll discover ways to create and handle your Python initiatives utilizing uv, a particularly quick Python package deal and mission supervisor written in Rust.
  • pre-commit: Set up With uv – pre-commit is Adam’s favourite Git-integrated “run issues on commit” device. It acts as a type of package deal supervisor, putting in instruments as vital from their Git repositories. This submit explains the best way to use it with uv.
  • Python’s New t-strings – Utilizing f-strings is a readable means of constructing output, however there are conditions the place they’ll’t be used as a result of the contents should be verified earlier than being string-ified. The brand new t-strings, coming in 3.14, are an answer to this downside.
  • Unraveling t-strings – PEP 750 launched t-strings for Python 3.14. These are a template string mechanism just like f-strings. Though they’re in 3.14.0b1, there isn’t any documentation but, so this submit explains what they’re how they can be utilized.
  • What’s New in Pip 25.1 – pip 25.1 introduces assist for Dependency Teams (PEP 735), resumable downloads, and an set up progress bar. Dependency decision has additionally obtained a raft of bugfixes and enhancements.
  • Thread Security in Python: Locks and Different Methods – On this video course, you’ll be taught concerning the points that may happen when your code is run in a multithreaded setting. Then you definitely’ll discover the assorted synchronization primitives obtainable in Python’s threading module, equivalent to locks, which aid you make your code protected.

Tasks:

Further Hyperlinks:

Stage Up Your Python Expertise With These Programs:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments