cwltool.cwlprov

Stores Research Object including provenance.

Submodules

Package Contents

Classes

Aggregate

RO Aggregate class.

AuthoredBy

RO AuthoredBy class.

Functions

checksum_copy(src_file[, dst_file, hasher, buffersize])

Compute checksums while copying a file.

Attributes

Annotation

cwltool.cwlprov.Annotation
class cwltool.cwlprov.Aggregate

Bases: TypedDict

Inheritance diagram of cwltool.cwlprov.Aggregate

RO Aggregate class.

uri: str | None
bundledAs: Dict[str, Any] | None
mediatype: str | None
conformsTo: str | List[str] | None
createdOn: str | None
createdBy: Dict[str, str] | None
class cwltool.cwlprov.AuthoredBy

Bases: TypedDict

Inheritance diagram of cwltool.cwlprov.AuthoredBy

RO AuthoredBy class.

orcid: str | None
name: str | None
uri: str | None
cwltool.cwlprov.checksum_copy(src_file, dst_file=None, hasher=None, buffersize=1024 * 1024)

Compute checksums while copying a file.

Parameters:
  • src_file (IO[Any]) –

  • dst_file (Optional[IO[Any]]) –

  • hasher (Optional[Callable[[], hashlib._Hash]]) –

  • buffersize (int) –

Return type:

str