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

How to show ag-grid floating filter in JustPy Python

I want to show the floating filter on all the columns by setting the defaultColDef.floatingFilter to True. But the floating filter is not displayed at all. Another setting of defaultColDef is set correctly such as…
Kanda
  • 67
  • 5
1
vote
1 answer

HighMap data label is shown rotated

I tried to display some map results in JustPy, but HighMap data labels in JustPy show as rotated, but only the label is roated not the map itself. import justpy as jp my_chart_def = """ { chart: { map: 'custom/europe', borderWidth: 1 …
wy1189
  • 11
  • 2
1
vote
0 answers

How to get the ag-grid filter values on justPy Python

I created function for taking the ag-grid filter values using run_api class in justPy. The code looks like this: import justpy as jp grid_options = """ { rowSelection: 'multiple', defaultColDef: { filter: true, sortable:…
Kanda
  • 67
  • 5
1
vote
1 answer

The element in justpy cannot handle the event properly

After running the codes provided in the tutorial of justpy import justpy as jp def my_click(self, msg): self.text = 'I was clicked' def event_demo(): wp = jp.WebPage() d = jp.Div(text='Not clicked yet', a=wp, classes='w-48 text-xl m-2…
1
vote
0 answers

custom sorting in Ag-grid use Justpy

I wanna custom sorting ag-grid use justpy. But when I add 'comparator' to columnDefs and run code =>> It not run. It notify l.column.getColDef(...).comparator enter image description here can anyone help me import justpy as jp grid_options = { …
Duc Nguyen
  • 11
  • 2
1
vote
0 answers

Attribute error while creating web page with justpy

Hi I was creating a simple plain web page with justpy and I got an attribute error. This was the code: import justpy as jp def app(): wp = jp.WebPage() return wp jp.justpy(app) this was the…
1
vote
1 answer

Is it possible to generate sound within a Python web application deployed with Docker on Google Cloud?

I have built a simple web application, which is supposed to test hearing frequency range of the user. It is built in JustPy framework and it uses pysinewave (in turn based on sounddevice) to generate sound continuously. I have deployed it in a…
adambialy
  • 13
  • 3
1
vote
0 answers

How to handle null in justpy

I am trying to draw multiple polygons in highcharts and it can be achieved by inserting null separating the polygons in highcharts. $('#container').highcharts({ series: [{ name: 'Polygons', type: 'polygon', data: [ …
william wong
  • 21
  • 1
  • 4
1
vote
1 answer

justPy toggle a Quasar drawer

I copied some HTML from Quasar for a page layout with a drawer and can not figure out how to toggle the drawer (sidebar). The button works to hide the drawer, but can not get it visible again. Or if you have an example or can point me in direction…
Mark Simonson
  • 71
  • 1
  • 5
1
vote
2 answers

Pie chart from highcharts does not render via justpy

I am trying to use a pie chart from www.highcharts.com in justpy. Page loads but the chart is not rendered. I used code from this source: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/pie-basic I…
1
vote
0 answers

AttributeError: 'dict' object has no attribute 'has_key' error with Highcharts

I am getting this error for days now . Tried to downgrade from Python3.9.9 to Python3.9.2 for setuptools - demsjon - justpy compatibility reasons. I am trying to convert JavaScript into a Python dict. It's a Spline diagram that I want to make on a…
1
vote
1 answer

Pie Chart Not Popping Up HighCharts

I am trying to make a pie chart that shows that rating of a python course. However every time I try to run it, the pie chart doesn't pop up, only the title. I am using HighCharts to create the pie chart and it is also supposed to be interactive.…
EpicNinja
  • 15
  • 5
1
vote
1 answer

How to configure uvicorn in nginx for justpy

I have an extremely simple flask app that works perfectly with gunicorn and nginx over https with a domain. This shows me that all other configurations are working (IP, ports, https, etc.), but when I try and use it with the justpy library, which…
Jason Jurotich
  • 441
  • 4
  • 24
1
vote
1 answer

Building web app using justpy, program showing no output

Working on building a web app using justpy. Can't seem to find out what the problem is. Here's the…
Vinayak.1
  • 11
  • 2
1
vote
0 answers

justpy app don't work on AWS Lightsail; no error but also no page visible

A python file with this code: import justpy as jp def hello_world(): wp = jp.WebPage() jp.Hello(a=wp) return wp jp.justpy(hello_world) A justpy.env file with this parameters: HOST = '0.0.0.0' PORT = 8000 A Lightsail Ubuntu VM with static…