Websocket Server for python
Project description
Python Package for Websocket Server Live
-
WebsocketServer built in python.
-
For active server on command line:
-
Install package with PIP;
-
Run command wsserver-malbizer ''
-
Send JSON string for serve on model:
{ "subject": "subject for your message", "sender": "id_sender", "topic": [], //List of topics to inscribe message "payload": "Value for your message (JSON string)", "persist": false //indicate if message is persisted and send for new clients }
-
-
For using on python file:
-
Import wsservermalbizer with WebsocketServer and use the code:
WebSocketServer(port=port).start()
-
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wsserver_malbizer-1.0.3.tar.gz
.
File metadata
- Download URL: wsserver_malbizer-1.0.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6378de54883d76335cc06a504143c3cd9f75b4fbfe72a18fd09887e3f4520a33 |
|
MD5 | 3a8fe9e9dedacb72975bbb3a43ffda39 |
|
BLAKE2b-256 | bc1ab6e6683ca660965c6226396a6747e64685078114bc13c54c3cffcac42ed3 |
File details
Details for the file wsserver_malbizer-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: wsserver_malbizer-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32c5f226259a0624664dab19aba4f6517d3de2dd07628cacb25106ee259163e |
|
MD5 | c17c5c69409b64012c832a247d1dd241 |
|
BLAKE2b-256 | 13f6206b5116115b4a0fdaf639b66a42159c66906e4783fb62922b1c6703fa7a |