marimo-uv-starter-template
marimo-uv-starter-template copied to clipboard
marimo + uv starter template
marimo + uv Starter Template
A starter template for marimo notebooks using uv for dependency and project management. This template provides a modern Python development setup with best practices for notebook development.
Features
- ๐ Python 3.12+ support
- ๐ฆ Fast dependency management with
uv - ๐งช Testing setup with pytest
- ๐ฏ Code quality with Ruff (linting + formatting)
- ๐ท CI/CD with GitHub Actions
- ๐ Interactive notebook development with marimo
Prerequisites
- Python 3.12 or higher
- uv installed
Getting Started
-
Clone this repository:
git clone https://github.com/yourusername/marimo-uv-starter-template cd marimo-uv-starter-template -
Run the marimo editor:
uv run marimo edit
Development
Running Tests
# Run testing in your regular python files
uv run pytest tests
# Running testing in your marimo notebooks
uv run pytest notebooks
Linting and formatting
uv run ruff check .
uv run ruff format .
Project Structure
โโโ .github/ # GitHub Actions workflows
โโโ src/ # Source code
โ โโโ app.py # Sample marimo notebook
โโโ tests/ # Test files
โโโ pyproject.toml # Project configuration
โโโ uv.lock # Dependency lock file
License
MIT