Skip to main content

Websocket Server for python

Project description

@section{Python Package for Websocket Server Live}

  1. WebsocketServer built in python.

  2. 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 }

  1. 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

wsserver_malbizer-1.0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

wsserver_malbizer-1.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file wsserver_malbizer-1.0.2.tar.gz.

File metadata

  • Download URL: wsserver_malbizer-1.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.6

File hashes

Hashes for wsserver_malbizer-1.0.2.tar.gz
Algorithm Hash digest
SHA256 db5683594dee957490923502238d3e2a84beb01c81ca19efbd7d25bf86e80e6d
MD5 49dd23c1c92c1e2b83ad42da11a625c1
BLAKE2b-256 cc58f4b98017ee56392c27bee13515a76c52aeba84401e4588bfbef651140603

See more details on using hashes here.

File details

Details for the file wsserver_malbizer-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for wsserver_malbizer-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e81ba768823b5870e327cb6c0529d9efc3205768b0c49ef714da825314d84336
MD5 610393ed74a35edf3887d918cd4d2a87
BLAKE2b-256 934f67f65919dac0b12b7344c1d3e8ffba9a6b583e3672b3a989ce380b548811

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page