Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moutils-0.1.0.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moutils-0.1.0-py2.py3-none-any.whl (11.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file moutils-0.1.0.tar.gz.

File metadata

  • Download URL: moutils-0.1.0.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.9

File hashes

Hashes for moutils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cef20f270add19cae0592245b6e3e24d7bcbfff224861021ba82403f53e7b8d3
MD5 c7b70216684baef89dc8b5e7c95b87f2
BLAKE2b-256 0dff138881f16a23dea1b657a8353cf10e13c5be395c17bf7edb5e76c51f6c43

See more details on using hashes here.

File details

Details for the file moutils-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: moutils-0.1.0-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

Hashes for moutils-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 38a5284fec35d0cfac257cec908260c55792f8856330d54fa71ddc70ea8e4c6e
MD5 4591bf00e07f5505552e38f78ad1df5c
BLAKE2b-256 7ded7034f289a1b6bc5538659ce86359cc1bda42cf405e8b1dfc0964780f61f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page