Difference between revisions of "Nicegui widgets"

From BITPlan Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
Standarize nicegui App appearance and add utilities and widgets
 
Standarize nicegui App appearance and add utilities and widgets
 
= Features =
 
= Features =
== Profiler ==
+
* background:  BackgroundTaskHandler class to allow running long running tasks in a different thread with async/await
The Profiler class measures time - especially when running tests
+
* cmd: WebserverCmd class - makes a command line for single input webservers simpler
== Progress ==
+
* color_schema: ColorSchema class - allows to define color schemas by name e.g. "indigo()"
allows to use a tdqm or nicegui ui_linear_progress in an exchangeable/compatible way
+
* 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 =
 
= Links =
 
https://nicegui.io/
 
https://nicegui.io/

Revision as of 07:33, 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.16
description  nicegui widgets, tools and base classes
date  2023-09-13
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/