Skip to content

krosenfeld-IDM/uv-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uv-project-template

Template for python project using uv

Recommended usage

Initialize the environment and install the local module (project) :

uv venv
sourve .venv/bin/activate
uv pip intall -e .

The codespace should have this all done for you (you may want to create a new terminal Ctrl+Shift+C. Now you can add (and run) a dependency:

uv add cowsay
uv run cowsay -t "Hello World"

if you have initialized the virtual environment (source .venv/bin/activate) you can use python like usual (python my_script.py). Otherewise you use uv:

uv run python my_script.py

About

Template for python project using uv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published