Metadata-Version: 2.1
Name: cobras
Version: 0.0.192
Summary: A realtime messaging server using WebSockets and Redis.
Home-page: https://github.com/machinezone/cobra
Author: Benjamin Sergeant
Author-email: bsergean@gmail.com
License: BSD 3
Description: # General
        
        Cobra is a realtime messaging server using Python3, WebSockets and Redis PubSub. It was presented in great details during [RedisConf 2019](https://events.redislabs.com/redis-conf/redis-conf-2019/).
        
        * [slides](https://bsergean.github.io/redis_conf_2019/slides.html)
        * [youtube](https://www.youtube.com/watch?v=o8CC8qYfRQE&t=147s)
        
        # 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`.
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
Provides-Extra: dev
Provides-Extra: tests
