Skip to content
cirrina is an opinionated asynchronous web framework based on aiohttp
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cirrina add more exception handling Feb 18, 2019
debian cirrina: release 0.2.0-5 Feb 18, 2019
examples/basic
.flake8 add flake8 configuration Dec 6, 2018
.gitignore update gitignore Dec 9, 2016
.travis.yml Add travis configuration for auto deployment to PyPI Oct 17, 2016
LICENSE Initial commit Oct 16, 2016
MANIFEST.in Setup setuptools package for cirrina Oct 17, 2016
README.md Fix first heading in README Apr 6, 2017
cirrina.jpg add logo Dec 9, 2016
requirements.txt use async Dec 2, 2018
setup.cfg Setup setuptools package for cirrina Oct 17, 2016
setup.py fix license Dec 9, 2016

README.md

cirrina

cirrina is an opinionated asynchronous web framework based on aiohttp.

Features:

  • HTTP Server
  • Websocket Server
  • JSON RPC Server
  • Shared sessions between used servers
from cirrina import Server

app = Server()

# Define HTTP route for static files
app.static("/static", Server.DEFAULT_STATIC_PATH)

# enable websocket communication
app.enable_websockets()

# enable JSON RPC communication
app.enable_rpc('/jrpc')

if __name__ == '__main__':
    app.run('0.0.0.0')

Installation

Use pip to install cirrina:

pip install cirrina
You can’t perform that action at this time.