Specialized picker widgets for urwid that extend its features.
The additional_urwid_widgets library by AFoeee adds some good specialized picker widgets, e.g. date picker, integer picker, etc.
However, due to a lack of activity/sync from that project, I decided to extend and update the features by adding a time picker widget
to the list.
This library mainly focuses on *Picker
widgets for urwid.
(Also checkout MessageDialog widget from additional_urwid_widgets
!)
The project can be installed via pip.
There are several approaches to install a package via the terminal (as described here):
-
Setup a virtual env to install the package (recommended):
python3 -m venv env source ./env/bin/activate python3 -m pip install urwid-picker-widgets
-
Install the package to the user folder:
python3 -m pip install --user urwid-picker-widgets
-
Install to the system folder (not recommended):
python3 -m pip install urwid-picker-widgets
See the corresponding wiki entries of the widgets for more information.
- DatePicker A (rudimentary) date picker.
- TimePicker A (rudimentary) time picker.
- IndicativeListBox
A
urwid.ListBox
with additional bars to indicate hidden list items.
- IntegerPicker A selector for integer numbers.
- SelectableRow
Wraps
urwid.Columns
to make it selectable and adds behavior.
Symbols are not encoded properly (Instead question mark symbol '?' is visible')
Type following command in terminal for the fix.
export LANG="en_IN.UTF-8"
(Here IN
refers to the India
, the native country of the user)