Get help from the marimo community

Home
Members
byeproduct
b
byeproduct
Offline, last seen 4 weeks ago
Joined November 25, 2024
This may be a silly question, but can I add a module with my custom scripts/functions from my local working directory and then reference these python files in the marimo notebook? I currently get a "no module found" / "missing package" error when I add

from local_folder.my_python_script import my_function

What would be the best way to do this?

The problem I'm trying to solve is to not have to copy the same functions into my notebooks, but have the base functions as in import into my notebook.

Could I use UV to build a package out of my base modules, and then use UV to install from a local wheel file? I don't know how to do this (in UV or in general), so any tutorials or links would be helpful.
7 comments
b
A