Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/neolynx/cirrina
- Owner: neolynx
- License: lgpl-3.0
- Created: 2016-10-16T12:22:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T09:00:34.000Z (5 months ago)
- Last Synced: 2024-10-16T15:27:34.372Z (25 days ago)
- Topics: aiohttp, authentication, framework, jrpc, json, python, rest, rpc, sessions, web, websockets
- Language: Python
- Homepage:
- Size: 514 KB
- Stars: 35
- Watchers: 6
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-asyncio - cirrina - Opinionated asynchronous web framework based on aiohttp. (Web Frameworks)
- awesome-asyncio-cn - cirrina - 基于 aiohttp 的异步 Web 框架。 (Web框架)
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 Serverapp = 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
```