mapmaker.output.sparc_dataset module

class mapmaker.output.sparc_dataset.VersionMapping[source]

Bases: object

property available_versions
get_mapping(other_params)[source]

: other_params: is a dictionary containing other data such as uuid and version

class mapmaker.output.sparc_dataset.DatasetDescription(flatmap, version)[source]

Bases: object

write(description_file)[source]
get_bytes()[source]
get_json()[source]
close()[source]
class mapmaker.output.sparc_dataset.DatasetFile(filename: str, fullpath: pathlib.Path, timestamp: datetime.datetime, description: str, file_type: str)[source]

Bases: object

filename: str
fullpath: Path
timestamp: datetime
description: str
file_type: str
class mapmaker.output.sparc_dataset.DirectoryManifest(metadata: dict[str, str] | None = None)[source]

Bases: object

COLUMNS = ('filename', 'timestamp', 'description', 'file type')
property files
property file_list
add_file(filepath, description, timestamp)[source]
copy_to_archive(archive: ZipFile, target: str)[source]
class mapmaker.output.sparc_dataset.FlatmapDirectoryManifests(flatmap: FlatMap)[source]

Bases: object

property dataset_image
copy_to_archive(archive: ZipFile)[source]
class mapmaker.output.sparc_dataset.SparcDataset(flatmap: FlatMap)[source]

Bases: object

generate()[source]
save(dataset: str)[source]