aim.cli.digifeeds module

Digifeeds CLI

aim.cli.digifeeds.add_to_digifeeds_set(barcode: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fc36aab3b50>])[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.check_zephir(barcode: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fc36a26e7d0>])[source]

Check if barcode has metadata in Zephir

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.

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

Moves the zipped volume from the s3 bucket to the google drive folder for pickup from google. When it’s finished, the volume is moved to the processed folder in the bucket and prefixed with the date and time.