curl -LsSf https://astral.sh/uv/install.sh | sh
export UV_PYTHON=3.13
uv self update
uv tool install yt-dlp
yt-dlp
uv init my-app
cd my-app
uv run main.py
uv add --dev ruff pytest
uv run ruff check --fix
uv run ruff format
uv run pytest
uv add --group local ipython
uv run ipython
uv add requests
uv cache clean
rm -rf .venv
find . -type d -name "__pycache__" -exec rm -rf {} +
uv sync --all-groups
uv pip list
Last active
March 20, 2026 01:48
-
-
Save bedwards/91b1631a239cdf390e84bae7a58665c9 to your computer and use it in GitHub Desktop.
uv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [project] | |
| name = "my-app" | |
| version = "0.1.0" | |
| description = "Add your description here" | |
| readme = "README.md" | |
| requires-python = ">=3.13" | |
| dependencies = [] | |
| [dependency-groups] | |
| dev = [ | |
| "pytest>=9.0.2", | |
| "ruff>=0.15.7", | |
| ] | |
| local = [ | |
| "ipython>=9.11.0", | |
| ] | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["src/my_app"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment