aim.services module

namedtuple aim.services.Services(mysql_database: URL, test_database: str, ci_on: str | None, alma_api_key: str, alma_api_url: str, digifeeds_api_url: str, digifeeds_set_id: str, digifeeds_s3_access_key: str, digifeeds_s3_secret_access_key: str, digifeeds_s3_bucket: str, digifeeds_s3_input_path: str)[source]

Bases: NamedTuple

Global Configuration Services

Fields:
  1.  mysql_database (URL) – The Digifeeds MySQL database

  2.  test_database (str) – A sqlite in memory digifeeds database for testing

  3.  ci_on (Optional[str]) – Is this being run in Github Actions?

  4.  alma_api_key (str) – The Alma API Key

  5.  alma_api_url (str) – The Alma API url

  6.  digifeeds_api_url (str) – The digifeeds database API URL

  7.  digifeeds_set_id (str) – The Alma Set Id for the digifeeds set

  8.  digifeeds_s3_access_key (str) – The S3 bucket access key for digifeeds

  9.  digifeeds_s3_secret_access_key (str) – The S3 bucket secret access key for digifeeds

  10.  digifeeds_s3_bucket (str) – The S3 bucket name for the digifeeds process

  11.  digifeeds_s3_input_path (str) – The url in the s3 bucket for the digifeeds process