Skip to main content

A Python package for fresh data processing

Project description

Mofresh logo

Mofresh

Widgets, designed for marimo, that can automatically refresh

Installation

You can install the package using pip:

uv pip install mofresh

Usage

The goal of this project is to offer a few tools that make it easy for you to refresh charts in marimo. This can be useful during a PyTorch training loop where you might want to update a chart on every iteration, but there are many other use-cases for this too.

How it works

The trick to get updating charts to work is to leverage anywidget. These widgets have a loop that is independant of the marimo cells which means that you can update a chart even if the cell hasn't completed running. The goal of this library is to make it easy to use this pattern by giving you a few utilities.

Effectively that means you can expect to see stuff like this in marimo:

CleanShot 2025-05-07 at 13 55 42

Live demo

If you want to dive deep and experience the API, the best way is to explore the live notebook on Github pages.

Go to live docs.

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

mofresh-0.2.2.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

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

mofresh-0.2.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file mofresh-0.2.2.tar.gz.

File metadata

  • Download URL: mofresh-0.2.2.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.7

File hashes

Hashes for mofresh-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ed9830a0f454a3b5e74f32b591f19905792062c7fb1ff50ecbe4db9ed739c67f
MD5 122e22a847b8e904d6f432df3d988a1a
BLAKE2b-256 2b09c0d80ca25f7ece99db1262274600ffc7660a438246abd928b7a482bfd622

See more details on using hashes here.

File details

Details for the file mofresh-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: mofresh-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.7

File hashes

Hashes for mofresh-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dbf7b9e50205e844c1f7d311be6504a2be8431ae86dc9e7b88883fa5e2b0a89b
MD5 2da6d6ab631af9e28658d74e31a0d892
BLAKE2b-256 8b8a78ce3aa1cc7dacfe2764661f5c87346d135de80ed85b92af9d2c2107de1f

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