config

class audb.config[source]

Get/set configuration values for the audb module.

The configuration values are read in during module import from the configuration file ~/.audb.yaml. You can change the configuration values after import, by setting the attributes directly. The caching related configuration values can be overwritten by environment variables.

Examples

>>> config.CACHE_ROOT
'~/audb'
>>> config.CACHE_ROOT = "~/caches/audb"
>>> config.CACHE_ROOT
'~/caches/audb'

__eq__()

config.__eq__(value, /)

Return self==value.

CACHE_ROOT

config.CACHE_ROOT = '~/audb'

Default user cache folder.

REPOSITORIES

config.REPOSITORIES = [Repository('data-public', 'https://audeering.jfrog.io/artifactory', 'artifactory')]

Repositories, will be iterated in given order.

A repository is defined by the object audb.Repository, containing the following attributes:

SHARED_CACHE_ROOT

config.SHARED_CACHE_ROOT = '/data/audb'

Shared cache folder.