Root class#

A root is a remote repository that can be subscribed to.

Root(name[, urlbase, user_auth])

Represents a remote repository that can be subscribed to.

Root.__getitem__(path)

Retrieves a file or dataset from the root.

Root.__contains__(path)

Checks if a path exists in the root.

Root.__iter__()

Iterates over the files and datasets in the root.

Root.__len__()

Returns the number of files in the root.

Root.file_list

Retrieves a list of files in this root.

Root.upload(localpath[, dataset])

Uploads a local dataset to this root.