Module Expr Str Import alias ImportFrom alias Assign NameStore NameLoad Assign NameStore Call NameLoad Assign NameStore Lambda arguments args defaults vararg kwarg Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str ImportFrom alias Assign NameStore ListLoad Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad TupleLoad Num Num Num
N/A N/A Ginkgo module

This toplevel module exposes most of the API you would use making Ginkgo
applications. Rarely would you need to import from other modules, unless you're
doing tests or something more advanced. This is a simple example of the common
case building Ginkgo services::

    from ginkgo import Service
    from ginkgo import Setting

    class HelloWorld(Service):
        message = Setting("message", default="Hello world")

        def do_start(self):
            self.spawn(self.message_forever)

        def message_forever(self):
            while True:
                print self.message
                self.async.sleep(1)

 N/A sys config Config N/A process None N/A settings N/A Config N/A Setting N/A N/A N/A N/A args kwargs N/A N/A settings setting args kwargs N/A N/A Config singleton_attr N/A N/A N/A sys modules N/A __name__ settings core Service N/A __all__ N/A Service Setting process settings N/A __author__ Jeff Lindsay <jeff.lindsay@twilio.com> N/A __license__ MIT N/A __version__ N/A N/A . join N/A map str N/A 0 6 0