opentps.core package

Subpackages

Submodules

opentps.core.version module

Module contents

class APIInterpreter

Bases: object

static run(code)
class Event(*args)

Bases: object

A class that implements signal/slot mechanism similarly to pyQtSignal

>>> signal = Event(bool)
>>> signal.connect(lambda x: print(x))
>>> signal.emit(True)
True
connect(slot)

Connects a slot

connectIfNotAlready(slot)
disconnect(slot)

Disconnects a slot

emit(*args)

Triggers execution of all connected slots with specified arguments

property slots

List of slots (read-only)

class loggerConfig

Bases: object

configure()