Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ssiyad/spn-ws-py


https://github.com/ssiyad/spn-ws-py

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# spn-ws-py

## Setup
```
git clone https://github.com/ssiyad/spn-ws-py spn-ws-py
cd spn-ws-py
pipenv install
```

## Server
```
pipenv run python server.py
```
#### Events
- `query` with body
- `server_timestamp` returns timetamp (iso 8601)
- `clients_count` returns number of clients connected at the moment
- `connection_start` returns time at which current connection was established

## Client
```
pipenv run python client.py
```
#### Screenshot
![client_screenshot](screenshots/client.png)