A realtime messaging server using WebSockets and Redis.
Project description
General
Cobra is a realtime messaging server using Python3, WebSockets and Redis PubSub. It was presented in great details during RedisConf 2019.
Installation
pip install cobras
Alternatively, if you want to develop:
git clone <url>
cd cobra
python3 -m venv venv
source venv/bin/activate
make dev
make test
Usage
$ cobra
Usage: cobra [OPTIONS] COMMAND [ARGS]...
Cobra is a realtime messaging server using Python3, WebSockets and Redis
PubSub.
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
admin Run admin commands.
health Health check
init Setup cobra
monitor Monitor cobra
publish Publish to a channel
run Run the cobra server
redis_subscribe Subscribe to a channel (with redis)
subscribe Subscribe to a channel
secret Generate secrets used for authentication...
To run the server use cobra run
. You can run a health-check against the server with cobra health
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cobras-1.1.0.tar.gz
(27.2 kB
view hashes)