A starter template for marimo notebooks using Poetry for dependency and project management. This template provides a modern Python development setup with best practices for notebook development.
- 🚀 Python 3.12+ support
- 📦 Dependency management with Poetry
- 🧪 Testing setup with pytest
- 🎯 Code quality with Ruff (linting + formatting)
- 👷 CI/CD with GitHub Actions
- 📓 Interactive notebook development with marimo
- Python 3.12 or higher
- Poetry installed
-
Clone this repository:
git clone https://github.com/yourusername/marimo-poetry-starter-template cd marimo-poetry-starter-template
-
Install dependencies:
poetry install
-
Run the marimo editor:
poetry run marimo edit
# Run testing in your regular python files
poetry run pytest tests
# Running testing in your marimo notebooks
poetry run pytest src
poetry run ruff check .
poetry run ruff format .
poetry run pre-commit install
poetry run pre-commit run --all-files
├── .github/ # GitHub Actions workflows
├── src/ # Source code
│ ├── app.py # Sample marimo notebook
│ └── utils.py # Utility functions
├── tests/ # Test files
├── pyproject.toml # Project configuration
└── poetry.lock # Dependency lock file
MIT