uv - Python package and project management | Inline Script Metadata

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 96

  • @bugbytes3923
    @bugbytes3923  2 місяці тому +6

    ☕ Buy a coffee: ko-fi.com/bugbytes
    ⭐Top resource to learn Python - datacamp.pxf.io/kOjKkV ⭐
    Follow-up with Docker usage: ua-cam.com/video/DA6gywtTLL8/v-deo.html
    Video on Ruff: ua-cam.com/video/yLYaQq6KbKs/v-deo.html

  • @GeorgeInTech
    @GeorgeInTech Місяць тому +3

    This was the best hands on tutorial on uv I came across so far, very concise and just the right pace

    • @bugbytes3923
      @bugbytes3923  Місяць тому

      Thanks for the comment, brilliant to hear that - cheers!

  • @ThiênLong-m4n
    @ThiênLong-m4n 15 днів тому +1

    Best hands-on uv that I've seen so far, good job bro😊

    • @bugbytes3923
      @bugbytes3923  14 днів тому +1

      @@ThiênLong-m4n thanks a lot bro!

  • @freenrg888
    @freenrg888 19 днів тому +1

    The best video I've found on YT about uv.
    Question: What is the uv equivalent of pip install -r requirements.txt ?
    EDIT: Found it. It's uv sync.

    • @bugbytes3923
      @bugbytes3923  14 днів тому

      @@freenrg888 thanks and sorry for the late reply - glad you found the solution!

  • @rickhoro
    @rickhoro Місяць тому +1

    This was the best uv tutorial I've seen. I'm quite new to Python and this has helped me over the hump to using uv. Question: when using uv in vscode, how do I run the vscode python debugger for a uv project, and use the venv created for that project?

  • @VigneshPadmanabhan-k7r
    @VigneshPadmanabhan-k7r Місяць тому +1

    Thanks for making this video. I knew UV to an extend where i can install packages at speed and use it quickly but video gave a lot more useful information. Been watching your videos and I appreciate everything you have made.

    • @bugbytes3923
      @bugbytes3923  Місяць тому

      Glad to hear that - thanks for watching!

  • @ecqmjr
    @ecqmjr 26 днів тому +1

    many thanks, most comprehensive video about uv I bumped into so far, much appreciated

    • @bugbytes3923
      @bugbytes3923  26 днів тому

      @@ecqmjr cheers, great to hear that, thanks for your comment!

  • @martinsteele2576
    @martinsteele2576 29 днів тому +1

    Superb. Thank you sooo much. You're presentation style is top-notch and always hits the mark perfectly. Am hoping the follow-up will be on your radar.

    • @bugbytes3923
      @bugbytes3923  27 днів тому

      Thanks a lot! There's a few extra videos (see below):
      uv/Docker/FastAPI: ua-cam.com/video/DA6gywtTLL8/v-deo.html
      uv Tool Management: ua-cam.com/video/ph_XLky5pRs/v-deo.html

  • @David-eb8lh
    @David-eb8lh 2 місяці тому +2

    Great to see you making a video about uv!

  • @vincentgermain3758
    @vincentgermain3758 2 місяці тому +2

    You should have way more subscribers good job

    • @bugbytes3923
      @bugbytes3923  2 місяці тому

      Thanks a lot, good to hear that!

  • @AmoahDevLabs
    @AmoahDevLabs Місяць тому +1

    uv is truly a great tool. Thanks for sharing.

  • @shalankwa
    @shalankwa 2 місяці тому +2

    Great easy and clear video. Would love to see more about UV.

    • @bugbytes3923
      @bugbytes3923  2 місяці тому +3

      Thanks! Got two more in the pipeline:
      1. Using uv with Docker
      2. Tool management with uv
      Hopefully released in the next few days or the week ahead

    • @shalankwa
      @shalankwa 2 місяці тому

      @@bugbytes3923 perfect! Was just looking into using uv + tox for running tests

    • @paolo-e-basta
      @paolo-e-basta Місяць тому

      @@bugbytes3923 and workspaces! 🙏

  • @feliperodrigues9104
    @feliperodrigues9104 2 місяці тому +2

    You always bring awesome contents, thanks mate!!

    • @bugbytes3923
      @bugbytes3923  2 місяці тому

      Thanks a lot mate, appreciate the comment!

  • @nasirgaayte2695
    @nasirgaayte2695 2 місяці тому +3

    wow it's good
    thanks
    waiting for Uv in Docker images

    • @realgecko
      @realgecko 2 місяці тому +1

      There’s already, check their docs. Using it for all my docker builds now.

    • @bugbytes3923
      @bugbytes3923  2 місяці тому

      Will add a short video this week!

  • @zakimimit
    @zakimimit 2 місяці тому +4

    Thank you for the video, I hope you make a video about uv with docker

    • @bugbytes3923
      @bugbytes3923  2 місяці тому +2

      Thank you! I'll add the Docker/FastAPI/uv video this week.

  • @BookBytes-x7m
    @BookBytes-x7m Місяць тому +1

    This was awesome uv tutorial, thank you

  • @rembautimes8808
    @rembautimes8808 2 місяці тому

    Am watching this video again . Looks very promising

  • @ShahnawazSayyad
    @ShahnawazSayyad 2 місяці тому +1

    Very nice.. you always have new intersting knowledge to share

  • @MuhammadFaisal_Iqbal
    @MuhammadFaisal_Iqbal Місяць тому +1

    Thank you! Easy to follow

  • @nbensa
    @nbensa 2 місяці тому +1

    wow!!! just wow!!

  • @anatolehagbe7301
    @anatolehagbe7301 2 місяці тому +1

    Comme toujours, un master class. J'aimerais que tu fasses une vidéo sur comment utiliser ces outils dans un projet Django buildé en multi-staging avec Docker. Merci

    • @bugbytes3923
      @bugbytes3923  2 місяці тому

      Excellente suggestion - merci! Bientôt...

  • @hakanbilgin6875
    @hakanbilgin6875 2 місяці тому

    Thanks for video 🎉

  • @iwswordpress
    @iwswordpress 2 місяці тому

    Thanks! Very useful.

  • @DhavalAhir10
    @DhavalAhir10 2 місяці тому

    OMG, Nowdays lots of packages libraries came into picture which written in Rust Language.
    Rust future is so bright 🎉

    • @bugbytes3923
      @bugbytes3923  Місяць тому +1

      Haha yes. I'd love to actually try some Rust on this channel, someday.

    • @DhavalAhir10
      @DhavalAhir10 Місяць тому

      @@bugbytes3923 that's great... Waiting.

  • @tomdieuivan
    @tomdieuivan 2 місяці тому

    Thank for the video

  • @farzadmf
    @farzadmf 2 місяці тому +1

    Great video, thank you!
    I wish there was a way to also make the IDE happy with the script and its inline dependencies (to not complain about requests for example)

    • @bugbytes3923
      @bugbytes3923  2 місяці тому +1

      Thanks! That's a good point, I'm not sure if there's a solution for that out there (on VSCode at least) - does anybody know of anything?

  • @serychristianrenaud
    @serychristianrenaud 2 місяці тому +1

    Thank 🎉 ...

  • @realgecko
    @realgecko 2 місяці тому +2

    The biggest selling point for me is that it can manage python versions too.

  • @codedjango
    @codedjango 2 місяці тому +10

    yes...uv seems to be a perfect tool to be used alongwith Django...so yes uv with Django is what i would be interested in....thanks

  • @vijaynayak4874
    @vijaynayak4874 2 місяці тому +2

    already using this from last few months

  • @alvarofigueroa4693
    @alvarofigueroa4693 2 місяці тому

    Thanks for your video. Since you asked, I’d like to see how does uv compare to poetry as from a practical perspective I want to pick one of the two. Maybe there is a use case for keeping both but after watching your video I am very tempted to go ahead and forget poetry and start using uv. Once again, thanks so much for your sharing your skills. Cheers

    • @realgecko
      @realgecko 2 місяці тому +1

      Used poetry for approximately a year, then after version 1.2 a bug appeared that caused some packages fail to install. Then I switched to pdm which worked flawlessly. But after uv created me venv in less than a second I switched all my projects to it :D

    • @alvarofigueroa4693
      @alvarofigueroa4693 2 місяці тому +1

      @@realgecko thanks for your comment. I reckon poetry may have fixed that bug by now, but I will start using uv as of now. Cheers

  • @bvedantcodes
    @bvedantcodes 2 місяці тому

    Much like fastapi I think I'll hold off for a stable v1.0 release 😉

  • @AshokSharma-hk1jc
    @AshokSharma-hk1jc 2 місяці тому

    Great content! Can you please create a full tutorial of UV with Django, it will be really helpful. Thanks again!

    • @bugbytes3923
      @bugbytes3923  2 місяці тому +1

      Thanks a lot - great suggestion! I'll add it to my list.

  • @2dapoint424
    @2dapoint424 17 днів тому +1

    How can u debug the python code?

  • @MubasharDev-d7t
    @MubasharDev-d7t 2 місяці тому

    Seems great!! Can we deploy this to vercel?

    • @bugbytes3923
      @bugbytes3923  2 місяці тому

      I'm not sure off-hand tbh, but maybe somebody else knows?

  • @tecnom7133
    @tecnom7133 Місяць тому

    Thanks man, please let us Know about other uv integrations specially with Docker.

  • @PeterBruinsmaPlus
    @PeterBruinsmaPlus 2 місяці тому

    Thanks! Really informative!
    You asked about what to cover in future videos. Not sure if my use case is "popular"...
    I've tried to get my head around how to use uv in a monorepo. I've struggled with uv workspaces, VSCode workspaces and neither of them seem to give me what I want in my use case. My use case is to be able to develop multiple "components", each of which is really a separate project, in uv terminology. These separate projects will be deployed as separate containers via Docker compose.
    Each separate components should have its own dependencies (the same way it will be deployed). But in my workspace I would like to define my dev dependencies only once, i.e. they should be global for the monorepo.
    Not even sure it's even possible (yet).

  • @venkateshchary3420
    @venkateshchary3420 2 місяці тому +2

    Python package manager written in rust🎉 .

  • @HummingLaught
    @HummingLaught Місяць тому

    have you tried granian before? do you think it will replace uvicorn?

    • @bugbytes3923
      @bugbytes3923  Місяць тому

      Hey - I have to say I've not used granian yet - any good?

  • @apmcd47
    @apmcd47 Місяць тому

    How easy would it be to convert an existing poetry project to uv? Could it be done by using uv sync?

  • @frameff9073
    @frameff9073 2 місяці тому

    Good

  • @tomdieuivan
    @tomdieuivan 2 місяці тому

    Please can you make a video on how to build an app using MDA(model driven architecture)

  • @Wyatt-g8p
    @Wyatt-g8p 21 день тому

    great video!
    I have how to set local editable dependencies and github dependencies?
    my project have 3 package:
    'aaa' is the baisc package.
    'bbb' need 'aaa'
    'ccc' need ''aaa' and 'bbb' package(it is main packge)
    in 'ccc' project, i need editable 'aaa' and 'bbb', pyproject.toml make me feel confused.
    Can you offer some suggestions?

    • @Wyatt-g8p
      @Wyatt-g8p 21 день тому

      workspace may not work, because 'bbb' also need 'aaa'

  • @BatisteBieler
    @BatisteBieler 2 місяці тому

    Freaking finally, could it be the tools to bind them all?

  • @Schlumpfpirat
    @Schlumpfpirat Місяць тому

    Why not use Pipenv? Seems way more practical since dependencies are not locked on an individual level

  • @ce.joseph
    @ce.joseph 2 місяці тому

    almost like poetry

  • @darkbluewalther
    @darkbluewalther 2 місяці тому +1

    Seems great but I'm not sure to see any real reason to migrate from Poetry to uv. What about you?

    • @realgecko
      @realgecko 2 місяці тому +1

      On my current project venv is 6.5 gigs in size(cuda, matplot etc)
      uv installs/updates it in a matter of seconds.

  • @thinkingcitizen
    @thinkingcitizen Місяць тому +1

    pip install uv , oh the irony!

  • @Bigbren-v1p
    @Bigbren-v1p Місяць тому

    I want uv in django

  • @thunkin-ai
    @thunkin-ai 2 місяці тому

    ... and I only just converted to poetry