cir
cirrina
pypi i cirrina
cir

cirrina

cirrina is an opinionated asynchronous web framework based on aiohttp

by André Roth

0.1.0 (see all)License:LGPLCategories:Vanilla Python HTTP
pypi i cirrina
Readme

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

GitHub Stars

32

LAST COMMIT

6mos ago

MAINTAINERS

1

CONTRIBUTORS

8

OPEN ISSUES

2

OPEN PRs

2
VersionTagPublished
No tutorials found
Add a tutorial