Questions tagged [cyclone]

cyclone is a python web framework, a clone of facebook's tornado, on top of twisted.

cyclone is a clone of facebook's Tornado, on top of Twisted.

Although cyclone and tornado are very similar, cyclone leverages all enterprise class features of Twisted, and more. It is extremely stable, and ready for production.

28 questions
1
vote
0 answers

How to stack a decorator on top of defer.inlineCallback in Cyclone?

I want to decorate post/get/... methods in my Cyclone request handlers with a simple decorator like this: def json_errors(fun): def x(self, *args, **kwargs): try: rv = fun(self, *args, **kwargs) return rv …
GDR
  • 2,301
  • 1
  • 21
  • 26
1
vote
2 answers

Does twisted, cyclone or tornado do SMP multicore out of the box

I'd like to use any one of the 3 mentioned non-blocking servers on an AWS Linux server with 8 cores. It's not clear in any of the documentation whether SMP is implemented under the covers in the respective helloworld or any other examples. For…
Gabe Rainbow
  • 3,658
  • 4
  • 32
  • 42
1
vote
2 answers

Prevent cyclone from evaluating Handlebar's template

How do I prevent Cyclone from converting the code? I mean, I want this line to be transfered as such to the browser so that Handlebar.js can use this as a template.