cached()

audb.cached(cache_root=None, *, name=None, shared=False)[source]

List available databases and flavors in the cache.

Parameters
  • cache_root (Optional[str]) – cache folder where databases are stored. If not set audb.default_cache_root() is used

  • name (Optional[str]) – name of database. If provided, it will show only cached versions of that database

  • shared (bool) – include databases from shared cache

Return type

DataFrame

Returns

cached databases with cache path as index, and name, flavor_id, version, complete, bit_depth, channels, format, mixdown, sampling_rate as columns

Examples

>>> db = audb.load(
...     "emodb",
...     version="1.4.1",
...     only_metadata=True,
...     full_path=False,
...     verbose=False,
... )
>>> df = cached()
>>> print(df.iloc[0].to_string())
name                emodb
flavor_id        d3b62a9b
version             1.4.1
complete            False
bit_depth            None
channels             None
format               None
mixdown             False
sampling_rate        None