This is covered pretty extensively in the linked SaaS Pegasus guide. But the short answer is you can use "uv venv" to create the environment and "uv pip install" to install requirements.
What I don't like in uv is you have to remember to manually activate virtualenv with "source .venv/bin/activate" command. uv has no something similar to "poetry shell" command.
@ "uv add " creates .venv/* automatically but it doesn't activate it. well, when I activate venv I can forget about any "uv run" commands. I am not sure is it intentional to force using "uv run" or it will be changed when uv gets "shell" command (like poetry)
☕ Buy a coffee: ko-fi.com/bugbytes
📷 uv intro video - ua-cam.com/video/igWlYl3asKw/v-deo.html
📖 SaasPegasus uv deep dive: www.saaspegasus.com/guides/uv-deep-dive/
⭐Top resource to learn Python - datacamp.pxf.io/kOjKkV ⭐
great walk-through on uv 👏👏
Need more this kind of content
@@Lucky-sw8bv thanks a lot!
I am quite fond of one of the interns interpretations of gunicorn as goon-icorn
Haha - amazing!
I have been waiting for this video, thanks 👍.
Hope it was good, thanks!
Thank you 🙏
Thanks for watching!
very useful, please create a video to add uv for existing project which has requirements.txt file
This is covered pretty extensively in the linked SaaS Pegasus guide. But the short answer is you can use "uv venv" to create the environment and "uv pip install" to install requirements.
Thanks, glad to hear that! Thanks for the comment
Thanks for the video 🎉
Cheers mate!
Thank you 🙏🏽
Thanks for watching!
Thanks 🎉
Cheers!!
Thank you
@@zsmain thanks for watching!
Also consider uv shell autocompletion (see the docs) instead of/along with the alias.
@@paolo-e-basta thanks - great tip!
thank you
@@frameff9073 thanks for watching!
Great video as always, is there any chance of releasing an LLM powered django app, or any AI related django tutorial soon ?
Thank you. I'd like to do this - happy to take any suggestions on what the tutorial could show
include audio for translate
What about django rest framework videos series?
@@coolgirlsharu more coming up very soon!
@@gaurabneupane7215 thanks!
What I don't like in uv is you have to remember to manually activate virtualenv with "source .venv/bin/activate" command. uv has no something similar to "poetry shell" command.
@@hipertracker I think you don't have to if you use uv run. (you don't even need a .venv; but if you need for some reason, uv sync will create it).
You dont have to
@ "uv add " creates .venv/* automatically but it doesn't activate it. well, when I activate venv I can forget about any "uv run" commands. I am not sure is it intentional to force using "uv run" or it will be changed when uv gets "shell" command (like poetry)
First view
Thanks a lot!
Thank you
Thanks for watching, appreciate it!