PIP VS UV

Package Installer for Python

https://github.com/astral-sh/uv

🚀 A single tool to replace pippip-toolspipxpoetrypyenvtwinevirtualenv, and more.

uv is a newer, faster Python package and project manager that aims to be a drop-in replacement for pippip-tools, and venv, offering significant speed improvements and integrated features. 

In contrast, pip is the traditional package installer that relies on separate tools like venv for managing virtual environments. uv handles both package installation and environment management, project creation, and Python version management, whereas pip focuses solely on package installation.  

you can unstall via brew


brew install uv

uv init example

Initialized project `example` at `/Users/mshaik/example`
 ls -lstr example 
total 16
8 -rw-r--r--  1 mshaik  staff   85 Nov  8 10:58 main.py
8 -rw-r--r--  1 mshaik  staff  152 Nov  8 10:58 pyproject.toml
0 -rw-r--r--  1 mshaik  staff    0 Nov  8 10:58 README.md

Leave a comment