Data Utilities

Package data access utilities.

Package data access utilities.

pstrain.data.get_data_file(name)[source]

Return the path to a specific data file.

Parameters:

name (str)

Return type:

Path

pstrain.data.get_data_path()[source]

Return the path to the package data directory.

Return type:

Path

pstrain.data.get_sample_audio()[source]

Return the path to the sample audio file.

Return type:

Path

pstrain.data.get_sample_file(name)[source]

Return the path to a specific sample file.

Parameters:

name (str)

Return type:

Path

pstrain.data.get_sample_path()[source]

Return the path to the sample data directory.

Return type:

Path

pstrain.data.get_sample_transcript()[source]

Return the path to the sample transcript file.

Return type:

Path