conf_from_url#

brainglobe_atlasapi.utils.conf_from_url(url) ConfigParser[source]#

Read conf file from a URL and cache a copy of the configuration file in the brainglobe directory.

Parameters:

url (str) – URL of the configuration file. Ensure it’s the raw URL for repository files (e.g., from GIN raw content).

Returns:

A ConfigParser object containing the configuration data.

Return type:

configparser.ConfigParser