github marimo-team/marimo 0.10.15

one day ago

Highlights

mo.download allows for (async) functions as that data arg

# JSON download with lazy loading
async def get_json_data():
    await asyncio.sleep(1)
    _data = {"message": "Hello", "count": 42}
    return json.dumps(_data).encode("utf-8")


download = mo.download(
    data=get_json_data,
    filename="data.json",
    label="Download JSON",
)
download

What's Changed

New Contributors

Full Changelog: 0.10.14...0.10.15

Don't miss a new marimo release

NewReleases is sending notifications on new releases.