feat: initial commit

This commit is contained in:
Radu C. Martin 2025-04-11 08:57:10 +02:00
commit d3259551b2
10 changed files with 866 additions and 0 deletions

18
.envrc Normal file
View file

@ -0,0 +1,18 @@
layout_uv() {
if [[ -d ".venv" ]]; then
VIRTUAL_ENV="$(pwd)/.venv"
fi
if [[ -z $VIRTUAL_ENV || ! -d $VIRTUAL_ENV ]]; then
log_status "No uv project exists. Executing \`uv init\` to create one."
uv init
uv venv
VIRTUAL_ENV="$(pwd)/.venv"
fi
export PATH=$PATH":$VIRTUAL_ENV/bin"
export UV_ACTIVE=1 # or VENV_ACTIVE=1
export VIRTUAL_ENV
}
layout_uv