I have written a very simple python module that exports a bunch of decorators to allow a more elegant approach to uwsgi api
http://projects.unbit.it/uwsgi/browser/uwsgidecorators.py for example you can simply export a function for being remotely callable (rpc) with the @rpc decorator: @rpc("hello") def hello_world(): return "Hello World" Then from another uwsgi instance you can call it with: uwsgi.rpc("address:port", "hello") i have added (as an example)a uwsgicc (the uWSGI control center) wrapper that use this decorators: http://projects.unbit.it/uwsgi/browser/decoratortest.py I hope it can be useful -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
