schrodinger.application.desmond.xvfbwrapper module

wrapper for running display inside X virtual framebuffer (Xvfb)

class schrodinger.application.desmond.xvfbwrapper.Xvfb(width=800, height=680, colordepth=24, **kwargs)

Bases: object

__init__(width=800, height=680, colordepth=24, **kwargs)

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

__enter__()
__exit__(exc_type, exc_val, exc_tb)
start()
stop()
__del__()
search_for_free_display()
__class__

alias of builtins.type

__delattr__

Implement delattr(self, name).

__dict__ = mappingproxy({'__module__': 'schrodinger.application.desmond.xvfbwrapper', '__init__': <function Xvfb.__init__>, '_set_xvfb_cmd': <function Xvfb._set_xvfb_cmd>, '__enter__': <function Xvfb.__enter__>, '__exit__': <function Xvfb.__exit__>, 'start': <function Xvfb.start>, 'stop': <function Xvfb.stop>, '__del__': <function Xvfb.__del__>, 'search_for_free_display': <function Xvfb.search_for_free_display>, '_lock_files': <function Xvfb._lock_files>, '_redirect_display': <function Xvfb._redirect_display>, '__dict__': <attribute '__dict__' of 'Xvfb' objects>, '__weakref__': <attribute '__weakref__' of 'Xvfb' objects>, '__doc__': None})
__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__module__ = 'schrodinger.application.desmond.xvfbwrapper'
__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__weakref__

list of weak references to the object (if defined)