Python environment configuration for data science projects
161
A lightweight development environment for data science projects using uv for dependency management and ruff for linting.
pyproject.toml are pre-installedBy default, the following structure is created:
.
├── .devcontainer/ # Container configuration
├── data/ # Store your datasets here
├── notebooks/ # Jupyter notebooks
├── src/ # Source code
└── pyproject.toml # Project dependencies
Add new dependencies to pyproject.toml and run:
uv pip install -e .
python your_script.py
If you encounter issues with missing packages:
Verify you're using the correct Python interpreter:
which python
Should point to /home/vscode/.venv/bin/python
Reinstall dependencies:
uv pip install -e .
Check VS Code Python interpreter settings (F1 → "Python: Select Interpreter")
Enjoy coding 😎
Content type
Image
Digest
sha256:f2ca6a55a…
Size
451.9 MB
Last updated
over 1 year ago
docker pull anquev/datascience-container:1.1