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 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.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size shirow-0.4.tar.gz (6.2 kB)||File type Source||Python version None||Upload date||Hashes View|