Sir, you are a fabulous teacher ,who can make familiar a new tool in project management in just 6 minutes !!! Its lesson on how to make learning simple, yet effective with time consciousness . Thank you & heartful respect from India. Looking for more such videos.
@Timnology-r4s3 ай бұрын
Thank you for your kind words!
@porlando122 ай бұрын
Amazing video! This channel is criminally underrated. It would be cool to see how you would migrate an existing project managed via poetry over to using uv in a future video!
@rodrigoagundez27185 ай бұрын
Great review Tim! thanks, already shared it with my team.
@majestif5 ай бұрын
Concise and to the point, many thanks for a great review!
@Timnology-r4s5 ай бұрын
Glad you liked it!
@blanky_nap4 ай бұрын
Great tool! Clean explanation. Would like to see more tutorials on uv
@AJXD22 ай бұрын
Its lowkey hard to tell that you have 600 subs. I got to 4:00 before I looked down by accident and saw it. Keep it up!
@70066082 ай бұрын
Tip: vertical flip your head video to point to the screen instead off screen thanks for the video!
@Timnology-r4s2 ай бұрын
Oh snap, that's a good tip. I've never even thought about that!
@akshayshinde85734 ай бұрын
Great work, really high quality content.
@Timnology-r4s4 ай бұрын
Glad you think so!
@sglbl2 ай бұрын
Thank you. One suggesstion; When you share the screen, there should be some space at the bottom of terminal text input place so that when we pause the video, youtube's bar will not block the input and we will still be able to see the input.
@Timnology-r4s2 ай бұрын
Good suggestion! I've incorporated that into my new video!
@0xBerto3 ай бұрын
Great explanation in the right amount of time sir. Thank you 🙏 subbed
@rikaminski3 ай бұрын
Thanks for easy share.
@vincentjean6756Ай бұрын
Thanks for that!
@bigoper2 ай бұрын
New SUB here Just flawless ❤
@modoudiao9660Ай бұрын
Thanks for sharing ❤️
@zuowang51852 ай бұрын
Is it fast on cold CI start? Does it generate cross platform lockfile?
@Timnology-r4s2 ай бұрын
Yes it is fast. If not fast enough you can enable caching: github.com/astral-sh/setup-uv?tab=readme-ov-file#enable-caching Yes, the lock file is cross platform compatible.
@vdr-sej514920 күн бұрын
Couldn‘t install PySide6 with uv 😢
@danbochman4 ай бұрын
Great video! Keep at it 💪
@mattiawatchingvideos-bg1ok29 күн бұрын
your terminal setup is gorgeous
@Timnology-r4s27 күн бұрын
Mostly Warp terminal with catppuccin color scheme and default Starship prompt :).
@samjiman3 ай бұрын
Most of my Python code only uses the standard library (theres a heck of a lot you can do with those batteries) and a lot of modules I prefer to implement my own classes/functions. Might try with my Flask apps though or maybe if I made some of my stuff libraries on PIP.
@rschalch3 ай бұрын
I used to have pyenv creating some venvs for my machine, not project related ... can uv do the same?
@Timnology-r4s3 ай бұрын
Yes, that is possible. Though you have to specify the path to the environment. docs.astral.sh/uv/pip/environments/#creating-a-virtual-environment
@0xBerto3 ай бұрын
Question, so I can run any of my already existing Python projects just preface the command with UV (after installing)?
@Timnology-r4s3 ай бұрын
Provided your toml file is setup correctly, yes.
@onun-22045 ай бұрын
Typing sound is great! Couldn't understand, is it captured by the microphone from the keyboard directly or is it a sound in the computer?
@Timnology-r4s5 ай бұрын
Thanks! I never gave it much thought though :). I have a mechanical keyboard with brown (silent) switches and a shure mv7. The mic picked up some muffled sounds from the keyboard.
@john-schumandrАй бұрын
wait, it installing interpreter inside of .env ?
@Timnology-r4sАй бұрын
UV reserves a folder within your home directory to store all python versions and links the env to that location. You have quite a bit control over this: docs.astral.sh/uv/guides/install-python/
@mrttsmn2 ай бұрын
Well this looks great but do i need to manually update and manually manage dependencies for every uv version?
@Timnology-r4s2 ай бұрын
Not precisely, like with requirements.txt, or Poetry, you need to manage your dependencies per project. The version of uv you are running doesn't matter. UV is there to resolve the complicated dependency tree that is pip.
@felipeadeildo2 ай бұрын
A thing that I really like at using poetry as my project dependency manager is that it's create the virtual environment folder outside the project, that's really a cool function So, how can I do the same thing with UV? I noticed that is has been created a .venv folder at the root project...
@Timnology-r4s2 ай бұрын
Personally, I really like having the .venv folder right where the code lives. However, uv does give you the option to specify a custom folder: docs.astral.sh/uv/pip/environments/#creating-a-virtual-environment
@2Tiny4U3 ай бұрын
Thank you for this introductory video. Your terminal has a very clean look. Would you mind sharing information about the terminal, theme, fonts and file/folder icons? I already found out about bat in the other comments.
@Timnology-r4s3 ай бұрын
Of course! The terminal in the video is Warp (www.warp.dev/), I go back and forth between it and WezTerm. I use the basic prompt from Starship (starship.rs/) and Catppuccin Mocha as theme. I also aliased `exa` (github.com/ogham/exa) to `ll` which, together with the Jetbrains Mono font, gives the nice icons and colored `ls` output.
@IshaqKhan010Ай бұрын
Can make video on pants compared to uv please please
@UTJK.4 ай бұрын
What kind of terminal or configuration (not sure) do you use to have syntax highlighting and "cat" being able to output with that structure?
@Timnology-r4s4 ай бұрын
Most modern terminals have nice colors, I personally switch occasionally between Warp and Wezterm, mostly using catppuccin or rosepine color schemes. For `cat` specifically I aliased `bat` to `cat`: github.com/sharkdp/bat
@imonlyonesam3 ай бұрын
The cat he's using in the video is `bat`, presumably just with `alias cat=bat`
@jarrettbullion15452 ай бұрын
partly why your dependencies installed so quick is because they are cached on your machine.
@Timnology-r4s2 ай бұрын
That is correct, though even after removing the cache the installation is single digit seconds. The power of UV really shines in its completeness as a tool, PEP compliancy and lightning fast dependency resolution.
@tridibbiswas33612 ай бұрын
Thank you for your video. I am newbie and learning. This was really helpful. Also, if you don’t mind a trivial ask , I liked your font and color scheme- could you share the names
@Timnology-r4s2 ай бұрын
Glad you found it useful. All questions are welcome! I use the open source Jetbrains Mono Nerd font (www.nerdfonts.com/font-downloads), and Catppuccin Mocha color scheme (catppuccin.com/)
@tomasemilio2 ай бұрын
works great, but my lsp is complaning when i install other packages, as though they weren't installed
@Timnology-r4s2 ай бұрын
99% chance your lsp is using the wrong interpreter. If you use neovim (or zed, or helix), there are plugins that allow you to easily switch venv, but what I found works great is: uv run nvim . That automatically launches vim with the correct venv. In vscode no clue, you probably have to setup a python interpreter by pointing to the .venv/bin/python script. The same holds true for Jetbrains products.
@tomasemilio2 ай бұрын
@@Timnology-r4s hero! haha amazing and yeah that is it. i will slowly transition to UV, it really looks amazing.
@noopurp1232 ай бұрын
What terminal are you using there?
@Timnology-r4s2 ай бұрын
www.warp.dev/ Fantastic terminal
@Anh_AI2 ай бұрын
Sir, 2 Q that I want to ask: 1. How can train/run Yolo with GPU (that Pytorch only install with pip?) 2. How to build uv python app to exe?
@Timnology-r4s2 ай бұрын
1. I never work with pytorch, but this github issue seems to have a solution running on GPU: github.com/astral-sh/uv/issues/7202#issuecomment-2447539317. 2. To get a python exe you can use pyinstaller.org/en/stable/. A simple `uv add --dev pyinstaller ` and `uv run pyinstaller` would do the trick :)
@BarryHarry25 ай бұрын
Can you share how you get that pretty cat output?
@Timnology-r4s5 ай бұрын
Of course! I aliased `bat` to `cat`: github.com/sharkdp/bat
@BarryHarry25 ай бұрын
@@Timnology-r4s Awesome, appreciate it
@DataScienceandAI-doanngoccuong2 ай бұрын
tui thấy giống npm install (package.js) trong javaScripts.
@1Docflash2 ай бұрын
lol. may be great tool but i followed your directions and only get error messages. bummer glad it worked for other people
@Timnology-r4s2 ай бұрын
What kind of error messages did you get?
@vidyesh4 ай бұрын
UV is malfunctioning on Jetbrains fleet.
@Timnology-r4s4 ай бұрын
In which way? UV is a cli tool.
@vidyesh4 ай бұрын
@@Timnology-r4s UV pip compile requirements in to requirements txt is writing in Chinese on Jetbrains fleet while in vscode not getting error.
@Timnology-r4s4 ай бұрын
That is not something I can help you with. Most likely an editor or OS language setting.
@vidyesh4 ай бұрын
@@Timnology-r4s No problem and thank you for your time. I just mentioned the error I am getting on fleet maybe because its still in beta.
@erfan_ops2 ай бұрын
i was expecting to see a 'K' by the subscribers count
@this-is-bioman2 ай бұрын
It does not look like any kind of breakthrough. Just another package manager on top of an existing one with even more new commands to learn.
@kamurashev2 ай бұрын
Cough npm cough… it might be good the only thing it must be adopted as a language standard first
@guidyouguy73062 ай бұрын
Poetry does the same thing
@Timnology-r4s2 ай бұрын
Some of it, yes. Though poetry isn't fully PEP compliant and is significantly slower on large projects.