Utilities for working with marimo notebooks, including Pydantic model display
Project description
marimo-utils
Utilities for working with marimo notebooks.
Installation
pip install marimo-utils
Usage
@add_marimo_display() decorator
Adds a _display_ method to Pydantic models for rich rendering in marimo notebooks.
from pydantic import BaseModel
from marimo_utils import add_marimo_display
@add_marimo_display()
class MyConfig(BaseModel):
name: str
value: int
When a MyConfig instance is the last expression in a marimo cell, it renders with the class name, source file path, and all field values.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file marimo_utils-0.1.0.tar.gz.
File metadata
- Download URL: marimo_utils-0.1.0.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d874759c7ad0430080ba6082b9c9dc57c86760640f41b8fe1e594a6c74d391f
|
|
| MD5 |
318a41c7b3eaeb0b06f43467ad7c9ef9
|
|
| BLAKE2b-256 |
211c62f9ff1b1c22b3da37551b33d85a7bc56d0116dd268a3698941e568d95af
|
File details
Details for the file marimo_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: marimo_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
444a73074f64bd3cc5c7ad4a34fa0c3eabe2437b7f81c8007582bcd39edf46bc
|
|
| MD5 |
dd284c76bbbf83480c22404939e1e270
|
|
| BLAKE2b-256 |
add45e6a6288dec9b04c02fed395ae88207f0f306a0312169428bc90d7a6eebd
|