Skip to content

Instantly share code, notes, and snippets.

View manzt's full-sized avatar
🥚
🐣🐥

Trevor Manz manzt

🥚
🐣🐥
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@manzt
manzt / marimo_tutorial_ui.py
Created December 12, 2025 19:10
marimo_tutorial_ui.py
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "marimo",
# "pyzmq",
# ]
# ///
# Copyright 2024 Marimo. All rights reserved.
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "anthropic==0.75.0",
# "anywidget==0.9.21",
# "duckdb==1.4.3",
# "jupyter-scatter==0.22.2",
# "polars==1.36.1",
# "sqlglot==28.3.0",
# "traitlets==5.14.3",
@manzt
manzt / test.py
Created November 21, 2025 14:31
test.py
# /// script
# requires-python = ">=3.14"
# dependencies = [
# "marimo>=0.17.0",
# "polars",
# "pyzmq",
# ]
# ///
import marimo
@manzt
manzt / foo_mo.py
Created September 30, 2025 20:55
foo_mo.py
import marimo
__generated_with = "0.16.2"
app = marimo.App()
@app.cell
def _():
import marimo as mo
mo
@manzt
manzt / foo_mo.py
Created September 30, 2025 20:51
foo_mo.py
import marimo
__generated_with = "0.16.2"
app = marimo.App()
@app.cell
def _():
import marimo as mo
mo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@marimo-team/frontend@0.13.15/dist/favicon.ico" />
<!-- Preload is necessary because we show these images when we disconnect from the server,
but at that point we cannot load these images from the server -->
<link rel="preload" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@marimo-team/frontend@0.13.15/dist/assets/gradient-yHQUC_QB.png" as="image" />
<link rel="preload" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@marimo-team/frontend@0.13.15/dist/assets/noise-60BoTA8O.png" as="image" />
<!-- Preload the fonts -->
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "fsspec==2025.5.1",
# "marimo",
# "matplotlib==3.10.3",
# "pooch==1.8.2",
# "scikit-image==0.25.2",
# "tifffile==2025.6.1",
# "zarr==3.0.8",
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "anywidget==0.9.18",
# "marimo",
# "traitlets==5.14.3",
# ]
# ///
import marimo