Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 716 commits ahead, 2618 commits behind tornadoweb:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
bottledemo.py
xmlrpc_client.py

README

This is a complete cyclone.bottle demo.
For a basic hello world, check out the helloworld_bottle.py demo.

The idea is to show how easy it is to create simple bottle-like apps, and
still capture all the functionality such as database support, setting
a parent class (the BaseHandler) for your request handlers and integrating with
other types of handlers such as XmlRPC and WebSocket.

The authentication mechanism is similar to the one used in
httpauthdemo_redis.py and require that the "cyclone:user" key exists in redis.

Basically, run the redis server and use the redis client to set up a fake
user account:

  $ redis-cli set cyclone:root 123

Then authenticate yourself at http://localhost:8888 as root/123.

XmlRPC functionality can be tested by executing the xmlrpc_client.py.
Something went wrong with that request. Please try again.