module documentation

Undocumented

Function download_from_remote Downloads file(s) from remote bucket storage.
Function get_protocol Returns LuxonisFileSystem protocol.
Function resolve_path Downloads the file from remote or returns the path otherwise.
Function upload_to_remote Uploads a file to remote bucket storage.
def download_from_remote(url: str, dest: Path | str, max_files: int = -1) -> Path:

Downloads file(s) from remote bucket storage.

It can download a single file, an entire directory, or a limited number of files from a directory.

def get_protocol(url: str) -> str:

Returns LuxonisFileSystem protocol.

def resolve_path(string: str, dest: Path) -> Path:

Downloads the file from remote or returns the path otherwise.

def upload_to_remote(local_path: Path | str, url: str, put_file_plugin: str | None = None):

Uploads a file to remote bucket storage.