Skip to main content

All Questions

Tagged with
0 votes
0 answers
198 views

How can I get bluetooth data of surrounding devices with pyscript on web (Client - Side)

We are developing a web project in which we need to get the bluetooth data of the surrounding devices (ibeacons) with Python. Actually, we tried to do this on the client side with the google web ...
profundusman's user avatar
0 votes
0 answers
314 views

How to process uploaded files on the client side without uploading them to the server with Dash/Streamlit/Flask/something else?

In particular I want to extract EXIF data from uploaded images. I’d prefer to do this in Python, however I’ve only found solutions to extract EXIF data clientside in JS. This is the JS library I’ve ...
b.dot's user avatar
  • 45
1 vote
1 answer
2k views

Clientside callback to filter data and update graph in Dash

I’ve been trying to update a figure from a clientside callback (because I have 5 figures in a page, performance issues). I’m using the example here Clientside Callbacks | Dash for Python Documentation ...
UgurZCifci's user avatar
0 votes
3 answers
1k views

Trigger A Python Script By Using JavaScript

I am doing a little project where i have prepared the back end in python and the graphic user interface woth HTML, CSS & JS. The python script doesn't require any external librariesand the only ...
donnynja's user avatar
3 votes
3 answers
2k views

Is there a way to run Python scripts client side in the browser using a front end framework like react?

Introduction There are so many cool and useful python scripts/programs out there, that aren't living up to their potential, in my opinion. Because all of these are executed locally in the command line,...
Benji's user avatar
  • 71
1 vote
1 answer
3k views

Is there a way to pass Python variables to a Plotly Dash clientside_callback?

I am trying to make a clientside callback in Plotly Dash where a JavaScript script will be executed. I have a Python variable defined somewhere else in the script and now I want to pass that variable ...
Vijay B's user avatar
  • 35
0 votes
1 answer
964 views

Creating client-side callbacks for hover tracking images in Dash (revised)

My last question, posted here may have been too time-consuming to answer (and got no answers), so this is a major revision on that question. What I have now in app.py is: import dash import ...
acciolurker's user avatar
1 vote
1 answer
1k views

Create client side callback for hover tracking in Dash

I have created a Dash app that tracks and stores hover data of images (see code below). I would like to make the hover tracking part into a clientside callback so as to make the app more scalable and ...
acciolurker's user avatar
0 votes
0 answers
124 views

JavaScript can't convert to object JSON from Python Flask, it only sees it as a string

I am creating a dynamic JSON structure in Flask. I convert it to string before it sent to the client: json.dumps(db_list) Then in the client-side it is rendered as this: (copied from View Source in ...
user63898's user avatar
  • 30.5k
0 votes
1 answer
372 views

How to work with python as client side scripting language

I have a fully functional gaze tracking code Python project which has been tested directly through the terminal. My guide wants me to implement this over the web. He wants all the processing to be ...
Rogue8989's user avatar
0 votes
1 answer
40 views

why python response selectors can only get part of the actual elements

I am using the python scrapy, try to get the car-name on the page: https://youjia.baidu.com/view/carDatabase?title=%E7%8E%B0%E4%BB%A3&key=code&val=174&sa=pc_growth_1 but when I use below ...
sampan0423's user avatar
-1 votes
2 answers
3k views

Python vs Django for PWA development [closed]

I want to create a Progressive Web App but I am kinda new with Web development, I understand Java Script is a Client Side Language while Python is Server Side. What do you recommend me to create a ...
Armando Canales Lima's user avatar
1 vote
1 answer
839 views

Read file of client side Python

I'm develop a API with function of read a specific file in machine of my users of enterprise, but the api ever return the data of file in server side. @app.route('/user', methods=['GET']) def ...
Wellyngton's user avatar
0 votes
1 answer
101 views

Django: Is there a way to make client render Python 3 functions locally?

I have a project that I want a client to run a for/while loop on his/her machine. Is there a way to do such a thing since views are run on server-side, such as below: views.py from django.shortcuts ...
PizzaPatz's user avatar
0 votes
0 answers
371 views

Interactive web application with python

I am trying to make a web application that can run biochemical simulations, and I want to display an interactive animation of the simulation while it is running. However, the actual simulator is ...
katzjm's user avatar
  • 1

15 30 50 per page