No project description provided
Project description
moutils
Utility functions used in marimo.
[!NOTE] This is a community led effort and not actively prioritized by the core marimo team.
Installation
pip install moutils
or with uv:
uv add moutils
Included
URLHash
Widget for interacting with URL hash. Allows you to get and set the hash portion of the URL.
URLPath
Widget for interacting with URL path. Allows you to get and set the current URL path.
DOMQuery
Widget for querying DOM elements. Use CSS selectors to find and interact with elements on the page.
CookieManager
Widget for managing browser cookies. Get, set, and monitor browser cookies.
StorageItem
Widget for interacting with browser storage (local/session). Access and manipulate data in browser's localStorage or sessionStorage.
Slot
Widget for creating a slot that can contain HTML and handle DOM events. Supports a wide range of events:
- Mouse events (click, hover, etc.)
- Keyboard events
- Form events
- Drag and drop
- Touch events
- Pointer events
- Scroll events
- Clipboard events
- Animation and transition events
Development
We use uv for development.
uv run marimo notebooks/example.py
Installing pre-commit
uv tool install pre-commit
pre-commit
Project details
Release history Release notifications | RSS feed
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 moutils-0.1.1.tar.gz.
File metadata
- Download URL: moutils-0.1.1.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa9060156b90f5497102689bcf98bf1ddece468a442fb1032f61b4b7b757dee5
|
|
| MD5 |
1db2b0eb972ff09bdfceaa583be900ef
|
|
| BLAKE2b-256 |
203fac243623cf3f71adcfa87524bcbb597479da94891f3ae52409e7b47bd541
|
File details
Details for the file moutils-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: moutils-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98f3e0199f21f364664e9b6449ce642a34ce110444ea04a7deae4ab6dc2af239
|
|
| MD5 |
42a031595f2ed4fd31c69a0373fe92a7
|
|
| BLAKE2b-256 |
e7849efd3a1197502dc3c0b33c355e2446ee4a803ac4b1360316812ce266f93a
|