repository()¶
- audb.repository(name, version)[source]¶
Return repository that stores the requested database.
If the database is stored in several repositories, only the first one is returned. The order of the repositories to look for the database is given by
config.REPOSITORIES.- Parameters:
name (
str) – database nameversion (
str) – version string
- Return type:
- Returns:
repository that contains the database
- Raises:
RuntimeError – if database or version is not found
Examples
>>> audb.repository("emodb", "1.4.1") Repository('audb-public', 's3.dualstack.eu-north-1.amazonaws.com', 's3')