Skip to content

Scripts to support the Caltech Library DIBS application

Notifications You must be signed in to change notification settings

uchicago-library/dibsiiif

 
 

Repository files navigation

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.

About

Scripts to support the Caltech Library DIBS application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.7%
  • Shell 4.3%