Skip to content
/ uv-demo Public

Demonstrates Python project management with uv

Notifications You must be signed in to change notification settings

summis/uv-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uv demo

This project demonstrates the use of uv Python project manager. old and new folders contain identical software project. The "old" project is managed with traditional tools such as pyenv and pip. The "new" project is managed with uv.

Neither of the folders demonstrate "the right way" to organize project - they only show one sensible way.

Demo project

The demo project contains a simple server application and a mock algorithm. The algorithm can be installed a package, while the application is not meant to be installed.

Screenshot of the app

application ui

Conclusions

Benefits

  • One can mostly forget the virtual environment - uv takes care of it
  • Python version updates do not require manual redoing of the setup
  • Better performance for package and Python installations
  • No need to add pyenv (or other similar tool) specific configurations to your system configs
  • uv maybe helps enforcing clearer structure as your project grows

Caveats

Other

  • Instead of using uv workspaces project can be managed equally conveniently separately, each having their own virtual environments and configurations.

About

Demonstrates Python project management with uv

Resources

Stars

Watchers

Forks