Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neolynx/cirrina

cirrina is an opinionated asynchronous web framework based on aiohttp
https://github.com/neolynx/cirrina

aiohttp authentication framework jrpc json python rest rpc sessions web websockets

Last synced: 10 days ago
JSON representation

cirrina is an opinionated asynchronous web framework based on aiohttp

Awesome Lists containing this project

README

        

# cirrina

**cirrina** is an opinionated asynchronous web framework based on aiohttp.

**Features**:

- [x] HTTP Server
- [x] Websocket Server
- [x] JSON RPC Server
- [x] Shared sessions between used servers

```python
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()

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

## Installation

Use pip to install *cirrina*:

```bash
pip install cirrina
```