Shirow is an RPC server framework based on top of Tornado. It relies on the WebSocket protocol for transport and uses JSON-messages as payload.
The project was named after Masamune Shirow, a mangaka who is best known for such mangas as Black Magic, Appleseed and Ghost in the Shell.
The primary goal of Shirow is to simplify creating microservices using Tornado, allowing clients to leverage some Django facilities. Thus, Shirow expands the Tornado implementation of the WebSocket protocol with an authentication layer, so that clients have to be authenticated using the Django authentication system to connect to the RPC server. The client has to pass a valid token to the RPC server, which was received after a successful authentication procedure, to prove Shirow that it’s an authenticated. See the create_token_if_needed decorator to learn how to make Django views create the tokens.
Shirow is available under the Apache License, Version 2.0.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.