ConfigurationΒΆ

audb can be configured with a ~/.audb.yaml file. The configuration file is read during import and will overwrite the default settings. The default settings are:

cache_root: ~/audb
shared_cache_root: /data/audb
repositories:
  - name: data-public
    backend: artifactory
    host: https://audeering.jfrog.io/artifactory
  - name: data-local
    backend: file-system
    host: ~/audb-host

After loading audb they can be accessed or changed using audb.config.

audb.config.CACHE_ROOT
'~/audb'
audb.config.SHARED_CACHE_ROOT
'/data/audb'
audb.config.REPOSITORIES
[Repository('data-public', 'https://audeering.jfrog.io/artifactory', 'artifactory'),
 Repository('data-local', '~/audb-host', 'file-system')]
audb.config.CACHE_ROOT = "/user/cache"
audb.config.CACHE_ROOT
'/user/cache'