https://github.com/marimo-team/marimo-poetry-starter-template
marimo + poetry starter template
https://github.com/marimo-team/marimo-poetry-starter-template
marimo marimo-notebook marimo-starter-template
Last synced: 12 months ago
JSON representation
marimo + poetry starter template
- Host: GitHub
- URL: https://github.com/marimo-team/marimo-poetry-starter-template
- Owner: marimo-team
- License: mit
- Created: 2025-01-10T21:16:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-22T12:11:54.000Z (12 months ago)
- Last Synced: 2025-06-22T13:21:45.340Z (12 months ago)
- Topics: marimo, marimo-notebook, marimo-starter-template
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# marimo + Poetry Starter Template
A starter template for [marimo](https://marimo.io) notebooks using [Poetry](https://python-poetry.org) for dependency and project management. This template provides a modern Python development setup with best practices for notebook development.
## Features
- ๐ 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
## Prerequisites
- Python 3.12 or higher
- [Poetry](https://python-poetry.org/docs/#installation) installed
## Getting Started
1. Clone this repository:
```bash
git clone https://github.com/yourusername/marimo-poetry-starter-template
cd marimo-poetry-starter-template
```
2. Install dependencies:
```bash
poetry install
```
3. Run the marimo editor:
```bash
poetry run marimo edit
```
## Development
### Running Tests
```bash
# Run testing in your regular python files
poetry run pytest tests
# Running testing in your marimo notebooks
poetry run pytest src
```
### Linting and formatting
```bash
poetry run ruff check .
poetry run ruff format .
```
### Pre-commit hooks
```bash
poetry run pre-commit install
poetry run pre-commit run --all-files
```
## Project Structure
```markdown
โโโ .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
```
## License
MIT