librosa.util.cite

librosa.util.cite(version=None)[source]

Print the citation information for librosa.

Parameters:
versionstr or None

The version of librosa to cite. If None, the current version is used.

Returns:
doistr

The DOI for the given version of librosa.

Raises:
ParameterError

If the requested version is not found in the citation index.

Examples

>>> librosa.cite("0.10.1")
"https://doi.org/10.5281/zenodo.8252662"