mvtsdatatoolkit.data package

Submodules

mvtsdatatoolkit.data.data_retriever module

class mvtsdatatoolkit.data.data_retriever.DataRetriever(dataset_number=1)[source]

Bases: object

This is a simple class to provide data for users to play around with the package’s functionalities through its demo Jupyter notebook.

get_compression_type()[source]
Returns

The compression type of the dataset.

get_total_number_of_files()[source]
Returns

The total number of files in the dataset.

get_total_size()[source]
Returns

The size of the data to be extracted.

print_info()[source]
retrieve(target_path)[source]

Downloads and extracts the compressed dataset (given by ‘dataset_id’) into the directory ‘target_path’. The original compressed file won’t be kept. Only it’s content will be copied into ‘target_path’.

Parameters

target_path – Where the dataset should be copied to.

test()[source]
mvtsdatatoolkit.data.data_retriever.main()[source]

Module contents