uv for EVERYTHING: How to use uv for Python, venv, and project management

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 10

  • @smibssmibs
    @smibssmibs หลายเดือนก่อน +5

    Nice explanation. uv is real gamechanger.
    A note: The explicit creation of venv was not necessary. It is by default done when you add a dependency or even at the moment you use "uv run "

  • @mateuszsmendowski2677
    @mateuszsmendowski2677 หลายเดือนก่อน +2

    Nice explanation! I used to manage all my environments with pyenv and poetry. However, poetry dependency resolver has its own drawbacks... so far, UV is great :)

  • @thelalomorales
    @thelalomorales 14 วันที่ผ่านมา +1

    UV is so gooooooood! Thanks for the tutorial ! You Rulllle Matt!

  • @Igor_Grey
    @Igor_Grey 27 วันที่ผ่านมา

    Thanks, Matt!

  • @yxoozo
    @yxoozo หลายเดือนก่อน

    Great video! What IDE are you using?

  • @joelboardgamerpger5393
    @joelboardgamerpger5393 2 วันที่ผ่านมา

    Matt, there is a serious problem with replit right now. Replit non-agent, basic gemini responder, keeps putting my code in git repository every single time I ask it a question or solution. you can track down every time I ask a quesiton, it does :automatic commit before assitant edits. There are no edit that ive asked it to commit. I dont even say apply. IT just does it automatically. it completely trashed my project. i lost a good 40 hours of coding time. Your product use to be good. Now im terrified of asking the basic assistant for a coding solution or suggestion. This started happening arond dec 20/21/22 of 2024. I pay the core price. All I have to show for it now is garbage. I cant resurrect my edits. I even tried creating new branch before asking new questions. Can you revert of fix the problem?

  • @noopurp123
    @noopurp123 หลายเดือนก่อน

    Can uv automatically activate virtual environment if I go into a python project directory and also deactivate if I go out of it?

  • @Elmekior
    @Elmekior 27 วันที่ผ่านมา

    UV is a great toolset, I've started using it on a project. But there are some caveat that are still problematic ( like using it inside of an activated venv but you want to add a package to a remote venv.
    But the more I use it, the more I like it

    • @david121212v
      @david121212v 8 วันที่ผ่านมา

      Actually you can use it in combination with pyenv. I like that pyenv handles venv "centralized" and not in the project folder itself, so your computer remains clean and structured. How do you handle this?