A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
/* Copyright 2026 Marimo. All rights reserved. */
/**
* Resolve the path to a URL.
*
* If its a relative path, it will be resolved to the current origin.
*
* If document.baseURI is set, it will be used as the base URL.
*/
export function asURL(path: string): URL {
return new URL(path, document.baseURI);
}