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

CopyToClipboard

Widget for copying text to clipboard. Provides a button to copy text and shows success feedback.

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.2.0.tar.gz (34.4 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.2.0-py2.py3-none-any.whl (12.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for moutils-0.2.0.tar.gz
Algorithm Hash digest
SHA256 682cbe1cb49e15f8aa1bbfbfcad378bc9f799911ec2850f76cb71d3dfb5c5a46
MD5 4ff36fd878e38f42480b19e761778c60
BLAKE2b-256 eb846d4e0ed047064156e04204b41b4c994b234919c4e853c1eb48d5fd1bc7cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: moutils-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.17

File hashes

Hashes for moutils-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 76b783c87286d902c38cd2aa9ce80bf75032a4f479806790e2c360d5c43c9e11
MD5 65e92ba8cdce8b34c37d1152d04c352e
BLAKE2b-256 83105ef21493da3d6b5b79387b96ded719b9e00e4c8f9d285275a2d64e7b8f57

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