Marimo automatically pulls a .env file co-located with pyproject.toml, but this functionality does not seem to extend to sandboxed notebooks. It would seem sensible that, in lieu of a pyproject.toml, a .env file located in the same directory as the current notebook is loaded.
If this strikes you as a feature worth considering I would be happy to submit a PR.
Marimo automatically pulls a .env file co-located with pyproject.toml, but this functionality does not seem to extend to sandboxed notebooks. It would seem sensible that, in lieu of a pyproject.toml, a .env file located in the same directory as the current notebook is loaded.
If this strikes you as a feature worth considering I would be happy to submit a PR.