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