Questions tagged [justpy]

JustPy is an object-oriented, component based, high-level Python Web Framework that requires no front-end programming. With a few lines of only Python code, you can create interactive websites without any JavaScript programming. JustPy can also be used to create graphic user interfaces for Python programs.

Links

42 questions
1
vote
1 answer

Spyder - code change does not reflect on the browser

Executing a program in Python using the Spyder IDE (4.2.5). Created a webapp using the below ```import justpy as jp import nest_asyncio nest_asyncio.apply() def app(): wp=jp.QuasarPage() h1=jp.Div(text='Analysis of Course…
Anoop B A
  • 11
  • 2
1
vote
2 answers

AgGrid in Python giving blank grid

AgGrid in Python giving blank grid when run with Justpy to display a Dataframe on the webpage. Please find below the python code I am trying to run... It is giving a blank grid can you please help me debug??? import pandas as pd import justpy as…
Gee
  • 11
  • 2
1
vote
1 answer

Deploying JustPy to Heroku

I'm trying to deploy a JustPy app on Heroku. I'm new to both. Base code, from https://justpy.io/tutorial/getting_started/ # saved as app.py import justpy as jp app = jp.app # added for deployment def hello_world(): wp = jp.WebPage() …
Roger
  • 70
  • 1
  • 9
1
vote
0 answers

How to deploy a justpy project on pythonanywhere or on anywhere else?

Does anyone know how to deploy a justpy project on python anywhere or even on other similar providers? I am new to this, I confused about how to make it run the server after I uploaded the files and how should I install the requirements? I searched…
TheEngineer
  • 193
  • 2
  • 6
1
vote
1 answer

JustPy, embed html page in iFrame

I wish to embed an html map within a JustPy generated web page. I get mangled output which I guess means there's a CSS or other clash. Any ideas to get this working will be gratefully received. import justpy as jp def map_page(request): wp =…
Roger
  • 70
  • 1
  • 9
0
votes
0 answers

Justpy Form: I want to know about on submit how the callback function works and how gets the form data

I want to know how justpy pass the form data to the callback function. I want to debug that part. I am using the QSelect component in my application. Here, the problem is that I am selecting multiple options but in the backend, it returns the first…
0
votes
1 answer

JustPy QuasarPage - where do I put the favicon file in my project tree?

Problem statement I'm trying to set the favicon for my QuasarPages in a JustPy web app, adding the attribute favicon="book_icon_32.png" to my QuasarPage. When looking at the page source in my browser results in the following in the page head:
0
votes
0 answers

Compiled script with justpy doesn't work - [WinError 3] The system cannot find

I use justpy in my program, but it doesn't work after compilation. When I execute the binary I am still getting error: FileNotFoundError: [WinError 3] So I created brand new project with sample from this page:…
Steve1478
  • 21
  • 2
0
votes
0 answers

JustPy instead of wxPython?

I have a PostgreSQL database for meetings and conferences with around 20 tables and plenty of relations between the tables (people, events, rooms, etc.). So far I have made a GUI with wxPython. Now I want to switch to a WEB GUI. Can I do this with…
0
votes
2 answers

Coloring cell in AG-Grid depending on it's content by using justpy web framework

I encountered a problem using AG-Grid in combination with justpy web framework. JustPy is an object-oriented, component based, high-level Python Web Framework that requires no front-end programming. With a few lines of only Python code, you can…
JWolffEKO
  • 39
  • 3
0
votes
1 answer

Real time stdout redirect from a python function call to an async method

So I have a heavy time-consuming function call my_heavy_function and I need to redirect that output to a web interface that is calling it, I have a method to send messages to the web interface, let's called that method async…
Pablo
  • 3,135
  • 4
  • 27
  • 43
-2
votes
1 answer

How to rerun Python justpy apps in Visual Studio Code without having to stop the process?

I am using the Python extension in Visual Studio Code and I use the green triangle button to run Python files. However, that button doesn't rerun the file if the file is already running if I am working with a Flask or justpy app. If the app is…
multigoodverse
  • 7,638
  • 19
  • 64
  • 106
1 2
3