A simple real time web framework based on aiohttp and RethinkDB.
Project description
# Brink Framework
- [Introduction](#introduction)
- [Getting started](#getting-started)
- [Tutorial](#tutorial)
- [Start project](#start-project)
- [Models](#models)
- [Handlers](#handlers)
- [Basic frontend](#basic-frontend)
## Introduction
TBD
## Getting started
TBD
## Tutorial
### Start project
TBD
### Models
```python
from brink import models
class Message(models.Model):
schema = {
"message": {"type": "string"},
"sender": {"type": "string"}
}
```
### Handlers
```python
async def handle_honks(request, ws):
async for honk in Honk.changes().all():
ws.send_json(honk)
```
### Basic frontend
TBD
- [Introduction](#introduction)
- [Getting started](#getting-started)
- [Tutorial](#tutorial)
- [Start project](#start-project)
- [Models](#models)
- [Handlers](#handlers)
- [Basic frontend](#basic-frontend)
## Introduction
TBD
## Getting started
TBD
## Tutorial
### Start project
TBD
### Models
```python
from brink import models
class Message(models.Model):
schema = {
"message": {"type": "string"},
"sender": {"type": "string"}
}
```
### Handlers
```python
async def handle_honks(request, ws):
async for honk in Honk.changes().all():
ws.send_json(honk)
```
### Basic frontend
TBD
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brink-0.1.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
brink-0.1.0-py3-none-any.whl
(10.2 kB
view hashes)