8000 GitHub - joeylr2042/Flask-Socketio-API: Flask_SoketIO implementation of an algorithmn API. The API is based on the websocket and can asynchronously return data to clients.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Flask_SoketIO implementation of an algorithmn API. The API is based on the websocket and can asynchronously return data to clients.

Notifications You must be signed in to change notification settings

joeylr2042/Flask-Socketio-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flask_Socketio_API

Flask_SoketIO implementation of an algorithmn API. The API is based on the websocket and can asynchronously return data to clients.

Installation

  • python3.7
  • flask_socketio
  • flask
  • websocket-client
  • python-socketio
  • python-engineio
  • python-dateutil
  • requests

You can also install packages with pip install

pip install -r requirements

Code Structure

  • server.py

    • Recieve messages with JSON format from the client
    • Run the model with received messages
    • Send messages to the client
  • client.py

    • Send messages with JSON format to the server
    • Recieve results from the server

About

Flask_SoketIO implementation of an algorithmn API. The API is based on the websocket and can asynchronously return data to clients.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0