Web Interface¶
- slideatlas.views.tile.thumb_from_view()[source]¶
Gets a thumbnail from view directly, Chains the request to view objects helper method
- slideatlas.views.tile.tile(image_store_id, image_id, tile_name)[source]¶
Return a tile image.
Note that the ‘image_store’ and ‘image_id’ URL parameters are accepted as an ObjectIds, to prevent unnecessary database queries if HTTP caching causes a 304 (Not Modified) response to be returned.
- slideatlas.views.sessions.sessions_view()[source]¶
/sessions With no argument displays list of sessions accessible to current user
/sessions?sessid=10239094124 searches for the session id
- class slideatlas.common_utils.MongoJsonEncoder(skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, encoding='utf-8', default=None)[source]¶
- slideatlas.common_utils.file_sha512(file_path, buffer_size=65536)[source]¶
Calculate the SHA512 checksum of a given file, returning the result as a hex-encoded string.
- slideatlas.common_utils.nicepass(alpha=6, numeric=2)[source]¶
returns a human-readble password (say rol86din instead of a difficult to remember K8Yn9muL )