Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Engineering-From-Scratch

Adding a new dependency

  1. uv add some-package
  2. uv lock
  3. uv sync

Note: Steps 2 and 3 (uv lock and uv sync) are not always both required after uv add.

  • uv add some-package modifies your pyproject.toml, updates lockfile, and installs the package, so usually that is all you need.
  • If you manually edit dependencies in pyproject.toml, then run uv lock to update the lockfile, followed by uv sync to install changes into your environment.

Managing the virtual environment

  • To activate:

    source .venv/bin/activate
  • To deactivate:

    deactivate

About

learning AI/ML and beyond

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages