aim.cli.digifeeds module

Digifeeds CLI

aim.cli.digifeeds.add_to_db(barcode: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fadfeb21890>])[source]

Add a barcode to the Digifeeds Database and then to the Alma Digifeeds Set

If the barcode is in the database fetch it and then try to add it to the Digifeeds set in Alma. Prints an error message if the barcode isn’t found in Alma. Prints the status of adding the item to the digifeeds set.

Parameters:

barcode (str) – Barcode of item

aim.cli.digifeeds.list_barcodes_in_input_bucket()[source]

List the barcodes currently in the input directory in the S3 bucket.

aim.cli.digifeeds.load_statuses()[source]

Load the statuses into the database.