plinder.core#

The plinder.core package collects useful functions and classes for interacting with the PLINDER dataset. It manages app configuration and will automatically download (and / or sync) the dataset to a local cache in a lazy manner, when particular assets are requested. One side effect of this is that plinder.core will (by default) compare the MD5 checksums of files on disk and files in cloud storage when they are accessed.

Note#

You can disable the MD5 checksum comparison between local files and remote files by setting the environment variable PLINDER_OFFLINE=true.

PlinderSystem

Core class for interacting with a single system and its assets.

get_config

get_extended_plindex

The extended PLINDER index includes all of the cluster labels and additional columns that are used in the scoring and splitting.

get_plindex

Fetch the plindex and cache it

get_manifest

Fetch the manifest and cache it

get_split

Fetch the plinder split and cache it