← Back to Blog
Utility

Create a Python project using UV.

UV is a project management utility tool for developing python projects easily. It's written in RUST.

Install UV

At the very beginning install UV first form here: https://docs.astral.sh/uv/getting-started/installation/

Create Vitual Environment

uv venv

Install a package <your_package_name>

uv add <your_package_name> 

How to run UV project dependencies

uv sync

This command will install all dependencies of the project. These dependencies are mentioned in project.toml file like this:

dependencies = [
    "langchain-openai>=1.4.1",
    "langgraph>=1.2.10",
]