Core functionality (core
)#
Classes:
|
Class to handle virtual environment with link |
Functions:
|
Get iterator of paths to invalid symlinks under a given path |
|
Get iterator of virtual environment paths under a given path. |
|
Construct and run command under uv |
Whether current shell is fish shell. |
|
Generate bash/zsh file for shell config. |
- class uv_workon.core.VirtualEnvPathAndLink(path, link)[source]#
Bases:
object
Class to handle virtual environment with link
Methods:
create_symlink
([resolve, dry_run])Create the symlink.
from_paths_and_workon
(paths, workon_home, ...)Get iterable of objects from paths
- uv_workon.core.get_invalid_symlinks(workon_home)[source]#
Get iterator of paths to invalid symlinks under a given path