Difference between revisions of "Nicegui widgets"

From BITPlan Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
|title=nicegui_widgets
 
|title=nicegui_widgets
 
|url=https://github.com/WolfgangFahl/nicegui_widgets
 
|url=https://github.com/WolfgangFahl/nicegui_widgets
|version=0.0.16
+
|version=0.0.20
 
|description=nicegui widgets, tools and base classes
 
|description=nicegui widgets, tools and base classes
|date=2023-09-13
+
|date=2023-09-14
 
|since=2023-09-12
 
|since=2023-09-12
 
}}
 
}}

Revision as of 10:25, 14 September 2023

OsProject

OsProject
id  nicegui_widgets
state  active
owner  WolfgangFahl
title  nicegui_widgets
url  https://github.com/WolfgangFahl/nicegui_widgets
version  0.0.20
description  nicegui widgets, tools and base classes
date  2023-09-14
since  2023-09-12
until  


Installation

pip install ngwidgets
# alternatively if your pip is not a python3 pip
pip3 install ngwidgets 
# local install from source directory of ngwidgets 
pip install .

upgrade

pip install ngwidgets  -U
# alternatively if your pip is not a python3 pip
pip3 install ngwidgets -U


Motivation

Standarize nicegui App appearance and add utilities and widgets

Features

  • background: BackgroundTaskHandler class to allow running long running tasks in a different thread with async/await
  • cmd: WebserverCmd class - makes a command line for single input webservers simpler
  • color_schema: ColorSchema class - allows to define color schemas by name e.g. "indigo()"
  • file_selector: FileSelector class - for selecting files from a tree structure such as a directory
  • input_webserver: InputWebserver skeleton class for a single input webserver
  • leaflet: leaflete class wraps https://leafletjs.com/ as a component
  • profiler: Profiler class measures time - especially when running tests
  • progress: Progressbar subclasses NiceguiProgressbar and TqdmProgressbar allow to use a tdqm or nicegui ui_linear_progress in an exchangeable/compatible way
  • webserver: NiceGuiWebserver class for a default webserver with header/menu/footer and some utility functions WebserverConfig to configure copyright/version links and default_port

Links

https://nicegui.io/