mash.cloud package#

Submodules#

mash.cloud.file_exists module#

mash.cloud.file_exists.exists(path: str) bool#

Check for existance of a file, maybe in the cloud.

Parameters:

path – An S3 path including the s3://

Returns:

File exists on S3 at path given.

Return type:

exists

mash.cloud.glob module#

mash.cloud.glob.glob(path: str) list#

Glob with support for cloud services.

Parameters:

path – An input path, includes the uri like s3:// or gs:// if in the cloud.

Returns:

A list of files returned from the glob.

Return type:

results

Module contents#