Welcome to lymph’s documentation!¶
lymph is a framework for Python services. lymph intends to be the glue between your services so you don’t get sticky fingers.
This is what a service looks like with lymph:
import lymph
class Greeting(lymph.interface):
@lymph.rpc()
def greet(self, name):
'''
Returns a greeting for the given name
'''
print(u'Saying to hi to %s' % name)
self.emit(u'greeted', {'name': name})
return u'Hi, %s' % name
Contents: