Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ssiyad/spn-ws-py
https://github.com/ssiyad/spn-ws-py
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ssiyad/spn-ws-py
- Owner: ssiyad
- License: mit
- Created: 2022-07-22T14:06:25.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T06:27:08.000Z (over 1 year ago)
- Last Synced: 2023-03-03T11:29:10.507Z (over 1 year ago)
- Language: Python
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)