omeroweb package

Subpackages

Submodules

omeroweb.connector module

class omeroweb.connector.Connector(server_id, is_secure)

Bases: object

Object which encompasses all of the logic related to a Blitz connection and its status with respect to OMERO.web.

SERVER_VERSION_RE = <_sre.SRE_Pattern object>
check_version(useragent)

Check whether the server version is compatible with this client

create_connection(useragent, username, password, is_public=False, userip=None)
create_gateway(useragent, username=None, password=None, userip=None)
create_guest_connection(useragent, is_public=False)
is_server_up(useragent)
join_connection(useragent, userip=None)
lookup_host_and_port()
prepare_gateway(connection)
class omeroweb.connector.IterRegistry

Bases: type

class omeroweb.connector.Server(host, port, server=None)

Bases: omeroweb.connector.ServerBase

_frozen = False
_registry = {}
classmethod find(host=None, port=None, server=None)
classmethod get(pk)
class omeroweb.connector.ServerBase(host, port, server=None)

Bases: object

_frozen = False
_next_id = 1
_registry = {}
classmethod freeze()
classmethod instance(pk)
classmethod reset()

omeroweb.custom_context_processor module

omeroweb.custom_context_processor.base_include_template(request)
omeroweb.custom_context_processor.url_suffix(request)

omeroweb.custom_forms module

class omeroweb.custom_forms.NonASCIIForm(*args, **kwargs)

Bases: django.forms.forms.Form

base_fields = {}
full_clean()

Cleans all of self.data and populates self._errors and self.cleaned_data.

media

omeroweb.decorators module

omeroweb.filesessionstore module

class omeroweb.filesessionstore.SessionStore(session_key=None)

Bases: django.contrib.sessions.backends.base.SessionBase

Implements a file based session store.

_expiry_date(session_data)

Return the expiry time of the file storing the session’s content.

classmethod _get_storage_path()
_key_to_file(session_key=None)

Get the file associated with this session key.

_last_modification()

Return the modification time of the file storing the session’s content.

clean()
classmethod clear_expired()
create()
delete(session_key=None)
exists(session_key)
load()
save(must_create=False)

omeroweb.http module

class omeroweb.http.HttpJPEGResponse(content)

Bases: django.http.response.HttpResponse

class omeroweb.http.HttpJavascriptResponse(content)

Bases: django.http.response.HttpResponse

class omeroweb.http.HttpJavascriptResponseServerError(content)

Bases: django.http.response.HttpResponseServerError

omeroweb.manage module

omeroweb.settings module

exception omeroweb.settings.LeaveUnset

Bases: exceptions.Exception

omeroweb.settings.check_server_type(s)
omeroweb.settings.check_session_engine(s)
omeroweb.settings.check_threading(t)
omeroweb.settings.check_worker_class(c)
omeroweb.settings.identity(x)
omeroweb.settings.leave_none_unset(s)
omeroweb.settings.leave_none_unset_int(s)
omeroweb.settings.load_server_list()
omeroweb.settings.map_deprecated_settings(settings)
omeroweb.settings.parse_boolean(s)
omeroweb.settings.parse_paths(s)
omeroweb.settings.process_custom_settings(module, settings='CUSTOM_SETTINGS_MAPPINGS', deprecated=None)
omeroweb.settings.report_settings(module)
omeroweb.settings.str_slash(s)

omeroweb.urls module

omeroweb.utils module

omeroweb.utils.reverse_with_params(*args, **kwargs)

Adds query string to django.core.urlresolvers.reverse

omeroweb.utils.sort_properties_to_tuple(input_list, index='index', element='class')

omeroweb.wsgi module

WSGI config for the OMERO.web project.

Copyright 2014 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt

Module contents