See also: Disco Distributed Filesystem.
Parameters below which are indicated as tags can be specified as a tag:// URL, or the name of the tag.
Opens and encapsulates a connection to a DDFS master.
|Parameters:||master – address of the master, for instance disco://localhost.|
Get a list of the attributes of the tag tag and their values.
Walks the tag graph starting at tag.
Yields only the terminal nodes of the graph (blobs).
|Parameters:||ignore_missing (bool) – Whether or not missing tags will raise a disco.error.CommError.|
Chunks the contents of urls, pushes the chunks to ddfs and tags them with tag.
Delete the attribute attr of the tag tag.
Returns whether or not tag exists.
Return the tag object stored at tag.
Return the value of the attribute attr of the tag tag.
Return a list of all tags starting with prefix.
Iterate over the blobs in a tag after optionally applying a blobfilter over the blob names.
Pushes a bunch of files to ddfs and tags them with tag.
|Parameters:||files (a list of paths, (path, name)-tuples, or (fileobject, name)-tuples.) – the files to push as blobs to DDFS. If names are provided, they will be used as prefixes by DDFS for the blobnames. Names may only contain chars in r'[^A-Za-z0-9_\-@:]'.|
Put the list of urls to the tag tag.
Generally speaking, concurrent applications should use DDFS.tag() instead.
Set the value of the attribute attr of the tag tag.
Append the list of urls to the tag.
Return the urls in the tag.