Widgets and demo for Justpy
- Wolfgang Fahl
- Tim Holzheim
Widgets and demo for Justpy
License: Apache License 2.0
Widgets and demo for Justpy
In justpy>=10.5
AgGrid got the method load_lod which now conflicts with the LodGrid method.
pyJustpyWidgets/jpwidgets/widgets.py
Line 35 in 272d178
csvStr=response.content.decode('utf-8')
sheet=pd.read_csv(StringIO(csvStr),keep_default_na=False,on_bad_lines='skip')
self.dfs[sheetName]=sheet
helps in debuggin
demo code as per
convenience method for languages being use in wikidata/wikipedia and semantic media wikis
add jpTable widget and Demo for it
class SimpleCheckbox(jp.Div):
"""
a simple Checkbox
"""
def __init__(self,a,labelText,**kwargs):
"""
create a simple checkbox with the given label
"""
jp.Div.__init__(self,a=a,classes="col-1",data={'checked': False})
self.checkbox=jp.Input(a=self,type="checkbox",classes="form-check-input", model=[self, 'checked'],**kwargs)
self.label=jp.Label(a=self,text=labelText)
def check(self,checked:bool):
self.data["checked"]=checked
def isChecked(self)->bool:
return self.data["checked"]
simplifies the use of Link.create by setting _blank as a target by default
e.g. for selection, button or checkboxes
add support for bootstrap cards see https://getbootstrap.com/docs/4.0/components/card/
e.g. for WolfgangFahl/py-yprinciple-gen#6
work around for justpy-org/justpy#400
as a work-around to allow links
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.