Sandbox for mini experiments and practice with data tools and techniques.
- Docker >= 4.63
$ docker build --t datalab .$ docker run -p 8888:8888 datalab:latest- uv >= 0.10
$ uv python install 3.12 # if necessary
$ uv sync
$ uv run pre-commit autoupdate
$ uv run pre-commit installDeep learning dependencies are kept separate to reduce installation size and prevent
conflicts. To install Tensorflow, use uv sync --group tf. To install Pytorch, use
uv sync --group pytorch. Remember to adjust the Dockerfile to include the relevant
dependency groups.
$ uv run jupyter lab- Write self-documenting code
- Manage dependencies with
uv(e.g.,uv add polars) - Verify types with
ty(e.g.,uv run ty check) - Use
pytestfor tests (e.g.,uv run pytest) - Ensure style compliance with
ruff(e.g.,uv run ruff check --fix,uv run ruff format) - Containerize releases with Docker
- Submit pull requests to
dev