lvsfunc.helpers

Basic helpers used throughout lvsfunc. These can be used by users as well.


lvsfunc.helpers._check_has_nvidia()

Check if the user has an Nvidia GPU.

lvsfunc.helpers._check_index_exists(path)

Check whether a lwi or dgi exists.

lvsfunc.helpers._generate_dgi(path, idx)

Generate a dgi file using the given indexer and verify it exists.

lvsfunc.helpers._get_dgidx()

Return the dgindex idx as a string and the actual source filter.

lvsfunc.helpers._load_dgi(path, film_thr, ...)

Run the source filter on the given dgi.

lvsfunc.helpers._tail(filename[, n])

Return the last n lines of a file.