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'
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:audb.Repository.name
: repository name, e.g.'data-local'
audb.Repository.backend
: backend name, e.g.'artifactory'
audb.Repository.host
: host name, e.g.'https://artifactory.audeering.com/artifactory'