Spaces:
Sleeping
Sleeping
File size: 625 Bytes
a40762d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Python Environment
Always use `uv` to run Python scripts and manage dependencies β never use `pip` or `python` directly.
- Run scripts with `uv run python script.py` instead of `python script.py`
- Install packages with `uv add package-name` instead of `pip install`
- To run one-off commands: `uv run <command>`
- The project uses `uv` for virtual environment management; do not create venvs manually with `python -m venv`
## Common Commands
- `uv run python script.py` β run a script
- `uv add <package>` β add a dependency
- `uv sync` β install all dependencies from lockfile
- `uv run pytest` β run tests
|