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 details)
Built Distribution
brink-0.1.0-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file brink-0.1.0.tar.gz
.
File metadata
- Download URL: brink-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6863efe6cdd79c4e4d39a2ea4c893a41a9beea89fc59970cdb9864a981702f9 |
|
MD5 | 7e0d62d407b24af68987e1bf52b31500 |
|
BLAKE2b-256 | 964892e4a80dee4f0e15a3525402e2d11449880ed17d8fdfe618bf11ec568e81 |
File details
Details for the file brink-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: brink-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9d245c2dac942f7e1beeefed0d0833296658c5287d5f8a3f050f1a890b9d67 |
|
MD5 | d7e1e8629c81d68258496445f7fc05e5 |
|
BLAKE2b-256 | 8edd12fe922fd3bd83cc4126af10b0c7192730cc24b500e16a93e8c7520b6e2a |