Is 'uv' the FUTURE of Python package management?

preview_player
Показать описание
Not satisfied with revolutionising the world of linting, the people behind Ruff are back once more to unleash "uv", Python's newest package manager, into the wild. (And I thought Ruff was a weird name...)

0:00 - Intro
1:15 - First impressions
1:34 - Installing uv
2:00 - Creating virtual environments
3:32 - Performance test with google-api-python-client
6:51 - --no-cache benchmark
7:12 - Performance test in a development environment
8:56 - Major difference between pip and uv
12:40 - Outro



If you enjoy my content, consider supporting me on Patreon or becoming a member!

If you need help with anything, feel free to join the Discord server:

I get a lot of people asking, so here's my Visual Studio Code setup!



If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.

#python #coding #howto
Рекомендации по теме
Комментарии
Автор

I've been told it's pronounced "yoo-vee" rather than "uvv". Not gonna lie, I was starting to get worried!

Carberra
Автор

1. We have 8 different package managers for Python
2. uv is here to supersede all of them
3. We now have 9 package managers for Python

TawaraboshiGenba
Автор

i believe it is pronounced "U.V." not "of".

chyldstudios
Автор

I would love to have this replace pip. It's so much faster and has cleaner outputs

poorlymadeedits
Автор

The Windows commands for installing are PowerShell: irm is an alias of the Invoke-RestMethod cmdlet and iex is an alias of Invoke-Expression

Bwanshoom
Автор

I tried it. The dependency resolution/management is just out of this world.

It’s still incomplete though, I’m looking forward towards this.

adithya_ps
Автор

I think the pronunciation is UV - as in the abbreviation for ulravioloet light - rather than literally "uv"

gavintillman
Автор

Sonatype released that the number of supply chain attacks at package level has increased substantially, how does UV or other tools can help to prevent this? If anyone can shed some light

prontomatias
Автор

Hmm... I mean, is really fixing a burning real world dev problem? You might pip install one of two things a week. I suppose there are probably people who spend all day, every day pip installing like crazy and the time it takes is the bane of their existance; people that set up servers probably. That's not most people but okay. I guess a requirements.txt on a big project can take a fair bit of time. Faster is better. Prettier console text? Ok sure. I just want to know if it worked or not and see which dependency failed and pip does that but okay, prettier is better.

Meh, an improvement is an improvement I guess. I'm struggling to get excited about it. Honestly, I doubt I'll bother with it. I guess if it becomes the default then I will like everyone else.

davidmurphy
Автор

I think uv is meant to be pronounced U V, short for ultraviolet

truthmatters
Автор

Coming from node.js side, I find pip to be very half-baked and not very organized. I'd love to use a better package manager.

akrishnadevotee
Автор

In the modelling space we just spell it out.

RealAPasz
Автор

Will they pay a some dime to creators of Pip, or do same thing which ruff did with projects like flake8? ;)

dstinYwOw
Автор

How many fucking python package management systems are there at this point? Ridiculous

DroolRockworm
Автор

Tbf ruff is also a garbage name for a linter/formatter. Did they fire the guy who came up with Astral?

DezXereanas
Автор

It's promising but nobody uses plain pip (either poetry or pipenv), uv is not a real replacement right now. Also it has the worst possible name ever, I'd rather stick with poetry

Blaxter
join shbcf.ru