/urwid_picker_widgets

Specialized picker widgets for urwid that extend its features.

Primary LanguagePythonMIT LicenseMIT

Urwid Picker Widgets

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!)


Installation

The project can be installed via pip.

Options

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
    

Widgets

See the corresponding wiki entries of the widgets for more information.

date_picker

time_picker

indicative_list_box

integer_picker

selectable_row

FAQ

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)