Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.03 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.03 KB

dibsiiif

TL;DR

Pass a barcode to the script and convert all TIFFs in the barcode-named directory into JPEG-compressed, IIIF-compatible Pyramid TIFFs for use with the Caltech Library DIBS.

Components

dibsiiif.py

The main script. Includes status file manipulation for DIBS, image conversion, metadata retrieval, IIIF manifest generation, and file upload to S3.

AWS Requirements

AWS credentials are required and may be added in the settings.ini file.

iiifify.sh

A simple Bash script to check for initialized status files and begin processing any TIFFs in folders named with the barcode embedded in the status file name.

slack_handler.py

A logging handler to send messages to a Slack channel. Logging configuration is saved in the settings.ini file. See example-settings.ini for details.

TODO: develop a general caltechlibrarylogger package to be used instead.

Slack Requirements

  1. A Slack API OAuth Token.
  2. A Slack channel where messages will be sent.