Auto Docs

pyiiif: Library code for working with the IIIF specifications

pyiiif.utils.escape_identifier(identifier)

Escapes a string identifier for inclusion in a URL

Parameters:identifier (str) – The identifier to escape
Return type:str
Returns:The identifier, escaped
pyiiif.utils.unescape_identifier(identifier)

Unescapes a string escaped by escape_identifier()

Parameters:identifier (str) – The escaped identifier
Return type:str
Returns:The identifier, unescaped
exception pyiiif.exceptions.ParameterError

Raised when a IIIF Image API Parameter is incorrect

__init__

Initialize self. See help(type(self)) for accurate signature.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.