Can't return a fonction in a var

This page summarizes the projects mentioned and recommended in the original post on /r/flask

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • socket.io-client

    Realtime application framework (client)

  • from cmath import log from flask import Flask, render_template, request from flask_socketio import SocketIO, emit import json # https://flask-socketio.readthedocs.io/en/latest/ # https://github.com/socketio/socket.io-client app = Flask(__name__) app.config[ 'SECRET_KEY' ] = 'jsbcfsbfjefebw237u3gdbdc' socketio = SocketIO( app ) @app.route('/c') def hello(): return render_template( 'chat2.html' ) def messageRecived(): print( 'message was received!!!' ) @socketio.on( 'my event' ) def handle_my_custom_event( json ): print( 'recived my event: ' + str(json)) print(json) socketio.emit( 'my response', json, callback=messageRecived ) return json data = handle_my_custom_event() def creatlog(data): with open ('chat.json', 'w') as chat: json.dump(json) if __name__ == '__main__': socketio.run( app, debug = True )

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU

    4 projects | news.ycombinator.com | 3 May 2024
  • Make your database RAG-ready

    1 project | news.ycombinator.com | 4 May 2024
  • The ChatGPT URL have changed

    1 project | news.ycombinator.com | 4 May 2024
  • Tired of handling a tech stack with REST, SQL, Webpack and 1000 more?

    1 project | news.ycombinator.com | 4 May 2024
  • Git commit helper: add emojis to your commits

    10 projects | dev.to | 4 May 2024