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
8
votes
2 answers

Making a Highcharts plot with Python

I am working with a new Python web framework called justpy which lets you build both the backend and the frontend of a web app using Python only. The framework also integrates with the javascript Highcharts library. Here's how to build a web app…
multigoodverse
  • 7,638
  • 19
  • 64
  • 106
6
votes
5 answers

Widget-based web framework in Python (similar to vaadin, GWT or zkoss)

I am basically from Java, but I need to use Python for a new project. I prefer widget based web framework like zkoss, vaadin, GWT etc. Does python has widget based framework?
Kathick
  • 1,395
  • 5
  • 19
  • 30
3
votes
1 answer

Ag-grid: how to size columns to fit contents?

Ag-grid has a sizeColumnsToFit function that sizes the columns to fit the screen, but what I want is to size the columns to fit the data. In other words I want each column's width to be the minimum required to fit its content (without truncating…
dxj
  • 33
  • 1
  • 5
2
votes
0 answers

Justpy QSelect doesn't display values in dropdown when using filter event

I've been trying to create a filtering dropdown menu in Justpy. I've been using a QSelect component to do this. The second dropdown menu here is what I'd like to build. I'm able to get the dropdown menu to populate and display the values I want…
hochwe
  • 21
  • 1
2
votes
2 answers

Running a justpy web app on Jupyter returns RuntimeError

I am trying to run justpy web apps such as this one down here on Jupyter: import justpy as jp def hello_world(): wp = jp.WebPage() d = jp.Div(text='Hello world!') wp.add(d) return wp jp.justpy(hello_world) but that always…
multigoodverse
  • 7,638
  • 19
  • 64
  • 106
1
vote
0 answers

JustPy: How we configure the justpy.env for the session timeout configuration

I want to add the timeout for session in my justpy project but didn't understand the how the configure the justpy.env in justpy. Thank you. I have added the justpy.env file in my project directory, but I am not understanding how justpy knows the…
1
vote
1 answer

Justpy: Add Highcharts Stock Options: "hollowcandlestick" & "Stock Tools"

How do I add Highcharts Stock series options to Justpy code? Specifically, I want to add: hollow candlestick Stock tools I am working my way through the Justpy documentation and can't figure out how to change the "series : type" in examples 1 &…
seniorgeek
  • 11
  • 1
1
vote
1 answer

JustPy Redirect won't redirect

I feel like I'm doing something rediculously stupid here, but I've been banging my head against the wall all day, and don't seem to be making any progress! I have this function: def init_create_reports(self, msg): if not…
RufusWhite
  • 13
  • 3
1
vote
1 answer

How to show Ag grid pop up menu above Quasar QDialog

I am using Ag grid inside quasar QDialog. When the dialog is displayed and I click the column option menu, the Ag grid pop up menu appears behind QDialog, see the picture below: is there any way to make the ag grid pop up menu shows in the front of…
Kanda
  • 67
  • 5
1
vote
1 answer

How to set Aggrid style height to 100% in JustPy

I am trying to set the style of Aggrid heigth to 100% but the table does not show. I tried using viewport and pixel, they worked perfectly fine. Fow the width, percentage is also working fine. What I want to do is to fit the Aggrid table height to…
Kanda
  • 67
  • 5
1
vote
0 answers

How to increment Quasar AjaxBar in JustPy

I have been trying to implement Quasar Ajax Bar in justPy. The code below will increase the value of Ajax bar by 10 when the increment button is clicked. But the increment is not working properly. Can someone point out what should I change?…
Kanda
  • 67
  • 5
1
vote
1 answer

Where do we insert an ag-grid enterprice license when using it via justpy?

Somehow this seem to involve this https://www.ag-grid.com/javascript-data-grid/licensing/ And this https://github.com/justpy-org/justpy/search?q=ag-grid-enterprise&type= But I just cant seem to figure it out where to put the license in the python…
1
vote
0 answers

How do you specify Column number formats using AG-Grid via JustPy?

I am able to render an AG-grid by following the example code laid out on the JustPy website. However when it comes to formatting cells or columns the AG-grid documentation shows using valueFormatter and arrow functions. For example to format a…
1
vote
1 answer

How can i make button in table cell using NiceGui library?

from nicegui import ui Called when a button in a cell is clicked: def buttonClick(*args): print(args) table = ui.table({ 'columnDefs': [ {'headerName': 'Task id', 'field': 'taskId'}, This is how i am trying to add a button to…
Stan Sakun
  • 35
  • 5
1
vote
0 answers

Trouble with formatting X axis labels in HighCharts

I've been trying to figure this out for a day or two. I'm pretty sure I've typed the exact code from the tutorial I've been watching, but my x axis labels are numbers going from 0 to 1200 in increments of 100. They should be a list of dates provided…
1
2 3