hspylib-clitt 0.9.120__py3-none-any.whl → 0.9.122__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of hspylib-clitt might be problematic. Click here for more details.

Files changed (266) hide show
  1. clitt/.version +1 -1
  2. clitt/__init__.py +3 -3
  3. clitt/addons/__init__.py +3 -3
  4. clitt/addons/appman/__init__.py +3 -3
  5. clitt/addons/appman/templates/__init__.py +3 -3
  6. clitt/addons/widman/__init__.py +3 -3
  7. clitt/addons/widman/widgets/__init__.py +3 -3
  8. clitt/core/__init__.py +3 -3
  9. clitt/core/exception/__init__.py +3 -3
  10. clitt/core/icons/__init__.py +3 -3
  11. clitt/core/icons/emojis/__init__.py +3 -3
  12. clitt/core/icons/font_awesome/__init__.py +3 -3
  13. clitt/core/term/__init__.py +3 -3
  14. clitt/core/tui/__init__.py +3 -3
  15. clitt/core/tui/line_input/__init__.py +3 -3
  16. clitt/core/tui/line_input/keyboard_input.py +104 -61
  17. clitt/core/tui/mchoose/__init__.py +3 -3
  18. clitt/core/tui/mdashboard/__init__.py +3 -3
  19. clitt/core/tui/menu/__init__.py +3 -3
  20. clitt/core/tui/minput/__init__.py +3 -3
  21. clitt/core/tui/minput/menu_input.py +7 -15
  22. clitt/core/tui/mselect/__init__.py +3 -3
  23. clitt/core/tui/table/__init__.py +3 -3
  24. clitt/utils/__init__.py +3 -3
  25. {hspylib_clitt-0.9.120.dist-info → hspylib_clitt-0.9.122.dist-info}/METADATA +2 -2
  26. hspylib_clitt-0.9.122.dist-info/RECORD +97 -0
  27. {hspylib_clitt-0.9.120.dist-info → hspylib_clitt-0.9.122.dist-info}/top_level.txt +0 -1
  28. build/lib/build/lib/build/lib/clitt/__classpath__.py +0 -28
  29. build/lib/build/lib/build/lib/clitt/__init__.py +0 -13
  30. build/lib/build/lib/build/lib/clitt/__main__.py +0 -139
  31. build/lib/build/lib/build/lib/clitt/addons/__init__.py +0 -12
  32. build/lib/build/lib/build/lib/clitt/addons/appman/__init__.py +0 -13
  33. build/lib/build/lib/build/lib/clitt/addons/appman/appman.py +0 -305
  34. build/lib/build/lib/build/lib/clitt/addons/appman/appman_enums.py +0 -39
  35. build/lib/build/lib/build/lib/clitt/addons/appman/templates/__init__.py +0 -11
  36. build/lib/build/lib/build/lib/clitt/addons/widman/__init__.py +0 -14
  37. build/lib/build/lib/build/lib/clitt/addons/widman/widget.py +0 -70
  38. build/lib/build/lib/build/lib/clitt/addons/widman/widget_entry.py +0 -54
  39. build/lib/build/lib/build/lib/clitt/addons/widman/widgets/__init__.py +0 -14
  40. build/lib/build/lib/build/lib/clitt/addons/widman/widgets/widget_free.py +0 -110
  41. build/lib/build/lib/build/lib/clitt/addons/widman/widgets/widget_punch.py +0 -246
  42. build/lib/build/lib/build/lib/clitt/addons/widman/widgets/widget_send_msg.py +0 -272
  43. build/lib/build/lib/build/lib/clitt/addons/widman/widgets/widget_time_calc.py +0 -146
  44. build/lib/build/lib/build/lib/clitt/addons/widman/widman.py +0 -123
  45. build/lib/build/lib/build/lib/clitt/core/__init__.py +0 -15
  46. build/lib/build/lib/build/lib/clitt/core/exception/__init__.py +0 -11
  47. build/lib/build/lib/build/lib/clitt/core/exception/exceptions.py +0 -19
  48. build/lib/build/lib/build/lib/clitt/core/icons/__init__.py +0 -12
  49. build/lib/build/lib/build/lib/clitt/core/icons/emojis/__init__.py +0 -12
  50. build/lib/build/lib/build/lib/clitt/core/icons/emojis/emojis.py +0 -41
  51. build/lib/build/lib/build/lib/clitt/core/icons/emojis/face_smiling.py +0 -40
  52. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/__init__.py +0 -18
  53. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/app_icons.py +0 -55
  54. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/awesome.py +0 -76
  55. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/dashboard_icons.py +0 -93
  56. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/form_icons.py +0 -69
  57. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/game_icons.py +0 -59
  58. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/nav_icons.py +0 -42
  59. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/trickplay_icons.py +0 -39
  60. build/lib/build/lib/build/lib/clitt/core/icons/font_awesome/widget_icons.py +0 -37
  61. build/lib/build/lib/build/lib/clitt/core/preferences.py +0 -87
  62. build/lib/build/lib/build/lib/clitt/core/term/__init__.py +0 -14
  63. build/lib/build/lib/build/lib/clitt/core/term/commons.py +0 -106
  64. build/lib/build/lib/build/lib/clitt/core/term/cursor.py +0 -174
  65. build/lib/build/lib/build/lib/clitt/core/term/screen.py +0 -106
  66. build/lib/build/lib/build/lib/clitt/core/term/terminal.py +0 -202
  67. build/lib/build/lib/build/lib/clitt/core/tui/__init__.py +0 -20
  68. build/lib/build/lib/build/lib/clitt/core/tui/line_input/__init__.py +0 -12
  69. build/lib/build/lib/build/lib/clitt/core/tui/line_input/keyboard_input.py +0 -229
  70. build/lib/build/lib/build/lib/clitt/core/tui/line_input/line_input.py +0 -31
  71. build/lib/build/lib/build/lib/clitt/core/tui/mchoose/__init__.py +0 -12
  72. build/lib/build/lib/build/lib/clitt/core/tui/mchoose/mchoose.py +0 -43
  73. build/lib/build/lib/build/lib/clitt/core/tui/mchoose/menu_choose.py +0 -192
  74. build/lib/build/lib/build/lib/clitt/core/tui/mdashboard/__init__.py +0 -14
  75. build/lib/build/lib/build/lib/clitt/core/tui/mdashboard/dashboard_builder.py +0 -54
  76. build/lib/build/lib/build/lib/clitt/core/tui/mdashboard/dashboard_item.py +0 -31
  77. build/lib/build/lib/build/lib/clitt/core/tui/mdashboard/mdashboard.py +0 -26
  78. build/lib/build/lib/build/lib/clitt/core/tui/mdashboard/menu_dashboard.py +0 -148
  79. build/lib/build/lib/build/lib/clitt/core/tui/menu/__init__.py +0 -16
  80. build/lib/build/lib/build/lib/clitt/core/tui/menu/tui_menu.py +0 -111
  81. build/lib/build/lib/build/lib/clitt/core/tui/menu/tui_menu_action.py +0 -47
  82. build/lib/build/lib/build/lib/clitt/core/tui/menu/tui_menu_factory.py +0 -117
  83. build/lib/build/lib/build/lib/clitt/core/tui/menu/tui_menu_item.py +0 -196
  84. build/lib/build/lib/build/lib/clitt/core/tui/menu/tui_menu_ui.py +0 -98
  85. build/lib/build/lib/build/lib/clitt/core/tui/menu/tui_menu_view.py +0 -57
  86. build/lib/build/lib/build/lib/clitt/core/tui/minput/__init__.py +0 -19
  87. build/lib/build/lib/build/lib/clitt/core/tui/minput/access_type.py +0 -26
  88. build/lib/build/lib/build/lib/clitt/core/tui/minput/field_builder.py +0 -117
  89. build/lib/build/lib/build/lib/clitt/core/tui/minput/form_builder.py +0 -72
  90. build/lib/build/lib/build/lib/clitt/core/tui/minput/form_field.py +0 -180
  91. build/lib/build/lib/build/lib/clitt/core/tui/minput/input_type.py +0 -30
  92. build/lib/build/lib/build/lib/clitt/core/tui/minput/input_validator.py +0 -98
  93. build/lib/build/lib/build/lib/clitt/core/tui/minput/menu_input.py +0 -292
  94. build/lib/build/lib/build/lib/clitt/core/tui/minput/minput.py +0 -44
  95. build/lib/build/lib/build/lib/clitt/core/tui/minput/minput_utils.py +0 -156
  96. build/lib/build/lib/build/lib/clitt/core/tui/mselect/__init__.py +0 -12
  97. build/lib/build/lib/build/lib/clitt/core/tui/mselect/menu_select.py +0 -170
  98. build/lib/build/lib/build/lib/clitt/core/tui/mselect/mselect.py +0 -36
  99. build/lib/build/lib/build/lib/clitt/core/tui/table/__init__.py +0 -12
  100. build/lib/build/lib/build/lib/clitt/core/tui/table/table_enums.py +0 -47
  101. build/lib/build/lib/build/lib/clitt/core/tui/table/table_renderer.py +0 -339
  102. build/lib/build/lib/build/lib/clitt/core/tui/tui_application.py +0 -52
  103. build/lib/build/lib/build/lib/clitt/core/tui/tui_component.py +0 -154
  104. build/lib/build/lib/build/lib/clitt/core/tui/tui_preferences.py +0 -103
  105. build/lib/build/lib/build/lib/clitt/utils/__init__.py +0 -11
  106. build/lib/build/lib/build/lib/clitt/utils/git_utils.py +0 -66
  107. build/lib/build/lib/clitt/__classpath__.py +0 -28
  108. build/lib/build/lib/clitt/__init__.py +0 -13
  109. build/lib/build/lib/clitt/__main__.py +0 -139
  110. build/lib/build/lib/clitt/addons/__init__.py +0 -12
  111. build/lib/build/lib/clitt/addons/appman/__init__.py +0 -13
  112. build/lib/build/lib/clitt/addons/appman/appman.py +0 -305
  113. build/lib/build/lib/clitt/addons/appman/appman_enums.py +0 -39
  114. build/lib/build/lib/clitt/addons/appman/templates/__init__.py +0 -11
  115. build/lib/build/lib/clitt/addons/widman/__init__.py +0 -14
  116. build/lib/build/lib/clitt/addons/widman/widget.py +0 -70
  117. build/lib/build/lib/clitt/addons/widman/widget_entry.py +0 -54
  118. build/lib/build/lib/clitt/addons/widman/widgets/__init__.py +0 -14
  119. build/lib/build/lib/clitt/addons/widman/widgets/widget_free.py +0 -110
  120. build/lib/build/lib/clitt/addons/widman/widgets/widget_punch.py +0 -246
  121. build/lib/build/lib/clitt/addons/widman/widgets/widget_send_msg.py +0 -272
  122. build/lib/build/lib/clitt/addons/widman/widgets/widget_time_calc.py +0 -146
  123. build/lib/build/lib/clitt/addons/widman/widman.py +0 -123
  124. build/lib/build/lib/clitt/core/__init__.py +0 -15
  125. build/lib/build/lib/clitt/core/exception/__init__.py +0 -11
  126. build/lib/build/lib/clitt/core/exception/exceptions.py +0 -19
  127. build/lib/build/lib/clitt/core/icons/__init__.py +0 -12
  128. build/lib/build/lib/clitt/core/icons/emojis/__init__.py +0 -12
  129. build/lib/build/lib/clitt/core/icons/emojis/emojis.py +0 -41
  130. build/lib/build/lib/clitt/core/icons/emojis/face_smiling.py +0 -40
  131. build/lib/build/lib/clitt/core/icons/font_awesome/__init__.py +0 -18
  132. build/lib/build/lib/clitt/core/icons/font_awesome/app_icons.py +0 -55
  133. build/lib/build/lib/clitt/core/icons/font_awesome/awesome.py +0 -76
  134. build/lib/build/lib/clitt/core/icons/font_awesome/dashboard_icons.py +0 -93
  135. build/lib/build/lib/clitt/core/icons/font_awesome/form_icons.py +0 -69
  136. build/lib/build/lib/clitt/core/icons/font_awesome/game_icons.py +0 -59
  137. build/lib/build/lib/clitt/core/icons/font_awesome/nav_icons.py +0 -42
  138. build/lib/build/lib/clitt/core/icons/font_awesome/trickplay_icons.py +0 -39
  139. build/lib/build/lib/clitt/core/icons/font_awesome/widget_icons.py +0 -37
  140. build/lib/build/lib/clitt/core/preferences.py +0 -87
  141. build/lib/build/lib/clitt/core/term/__init__.py +0 -14
  142. build/lib/build/lib/clitt/core/term/commons.py +0 -106
  143. build/lib/build/lib/clitt/core/term/cursor.py +0 -174
  144. build/lib/build/lib/clitt/core/term/screen.py +0 -106
  145. build/lib/build/lib/clitt/core/term/terminal.py +0 -202
  146. build/lib/build/lib/clitt/core/tui/__init__.py +0 -20
  147. build/lib/build/lib/clitt/core/tui/line_input/__init__.py +0 -12
  148. build/lib/build/lib/clitt/core/tui/line_input/keyboard_input.py +0 -229
  149. build/lib/build/lib/clitt/core/tui/line_input/line_input.py +0 -31
  150. build/lib/build/lib/clitt/core/tui/mchoose/__init__.py +0 -12
  151. build/lib/build/lib/clitt/core/tui/mchoose/mchoose.py +0 -43
  152. build/lib/build/lib/clitt/core/tui/mchoose/menu_choose.py +0 -192
  153. build/lib/build/lib/clitt/core/tui/mdashboard/__init__.py +0 -14
  154. build/lib/build/lib/clitt/core/tui/mdashboard/dashboard_builder.py +0 -54
  155. build/lib/build/lib/clitt/core/tui/mdashboard/dashboard_item.py +0 -31
  156. build/lib/build/lib/clitt/core/tui/mdashboard/mdashboard.py +0 -26
  157. build/lib/build/lib/clitt/core/tui/mdashboard/menu_dashboard.py +0 -148
  158. build/lib/build/lib/clitt/core/tui/menu/__init__.py +0 -16
  159. build/lib/build/lib/clitt/core/tui/menu/tui_menu.py +0 -111
  160. build/lib/build/lib/clitt/core/tui/menu/tui_menu_action.py +0 -47
  161. build/lib/build/lib/clitt/core/tui/menu/tui_menu_factory.py +0 -117
  162. build/lib/build/lib/clitt/core/tui/menu/tui_menu_item.py +0 -196
  163. build/lib/build/lib/clitt/core/tui/menu/tui_menu_ui.py +0 -98
  164. build/lib/build/lib/clitt/core/tui/menu/tui_menu_view.py +0 -57
  165. build/lib/build/lib/clitt/core/tui/minput/__init__.py +0 -19
  166. build/lib/build/lib/clitt/core/tui/minput/access_type.py +0 -26
  167. build/lib/build/lib/clitt/core/tui/minput/field_builder.py +0 -117
  168. build/lib/build/lib/clitt/core/tui/minput/form_builder.py +0 -72
  169. build/lib/build/lib/clitt/core/tui/minput/form_field.py +0 -180
  170. build/lib/build/lib/clitt/core/tui/minput/input_type.py +0 -30
  171. build/lib/build/lib/clitt/core/tui/minput/input_validator.py +0 -98
  172. build/lib/build/lib/clitt/core/tui/minput/menu_input.py +0 -292
  173. build/lib/build/lib/clitt/core/tui/minput/minput.py +0 -44
  174. build/lib/build/lib/clitt/core/tui/minput/minput_utils.py +0 -156
  175. build/lib/build/lib/clitt/core/tui/mselect/__init__.py +0 -12
  176. build/lib/build/lib/clitt/core/tui/mselect/menu_select.py +0 -170
  177. build/lib/build/lib/clitt/core/tui/mselect/mselect.py +0 -36
  178. build/lib/build/lib/clitt/core/tui/table/__init__.py +0 -12
  179. build/lib/build/lib/clitt/core/tui/table/table_enums.py +0 -47
  180. build/lib/build/lib/clitt/core/tui/table/table_renderer.py +0 -339
  181. build/lib/build/lib/clitt/core/tui/tui_application.py +0 -52
  182. build/lib/build/lib/clitt/core/tui/tui_component.py +0 -154
  183. build/lib/build/lib/clitt/core/tui/tui_preferences.py +0 -103
  184. build/lib/build/lib/clitt/utils/__init__.py +0 -11
  185. build/lib/build/lib/clitt/utils/git_utils.py +0 -66
  186. build/lib/clitt/__classpath__.py +0 -28
  187. build/lib/clitt/__init__.py +0 -13
  188. build/lib/clitt/__main__.py +0 -139
  189. build/lib/clitt/addons/__init__.py +0 -12
  190. build/lib/clitt/addons/appman/__init__.py +0 -13
  191. build/lib/clitt/addons/appman/appman.py +0 -305
  192. build/lib/clitt/addons/appman/appman_enums.py +0 -39
  193. build/lib/clitt/addons/appman/templates/__init__.py +0 -11
  194. build/lib/clitt/addons/widman/__init__.py +0 -14
  195. build/lib/clitt/addons/widman/widget.py +0 -70
  196. build/lib/clitt/addons/widman/widget_entry.py +0 -54
  197. build/lib/clitt/addons/widman/widgets/__init__.py +0 -14
  198. build/lib/clitt/addons/widman/widgets/widget_free.py +0 -110
  199. build/lib/clitt/addons/widman/widgets/widget_punch.py +0 -246
  200. build/lib/clitt/addons/widman/widgets/widget_send_msg.py +0 -272
  201. build/lib/clitt/addons/widman/widgets/widget_time_calc.py +0 -146
  202. build/lib/clitt/addons/widman/widman.py +0 -123
  203. build/lib/clitt/core/__init__.py +0 -15
  204. build/lib/clitt/core/exception/__init__.py +0 -11
  205. build/lib/clitt/core/exception/exceptions.py +0 -19
  206. build/lib/clitt/core/icons/__init__.py +0 -12
  207. build/lib/clitt/core/icons/emojis/__init__.py +0 -12
  208. build/lib/clitt/core/icons/emojis/emojis.py +0 -41
  209. build/lib/clitt/core/icons/emojis/face_smiling.py +0 -40
  210. build/lib/clitt/core/icons/font_awesome/__init__.py +0 -18
  211. build/lib/clitt/core/icons/font_awesome/app_icons.py +0 -55
  212. build/lib/clitt/core/icons/font_awesome/awesome.py +0 -76
  213. build/lib/clitt/core/icons/font_awesome/dashboard_icons.py +0 -93
  214. build/lib/clitt/core/icons/font_awesome/form_icons.py +0 -69
  215. build/lib/clitt/core/icons/font_awesome/game_icons.py +0 -59
  216. build/lib/clitt/core/icons/font_awesome/nav_icons.py +0 -42
  217. build/lib/clitt/core/icons/font_awesome/trickplay_icons.py +0 -39
  218. build/lib/clitt/core/icons/font_awesome/widget_icons.py +0 -37
  219. build/lib/clitt/core/preferences.py +0 -87
  220. build/lib/clitt/core/term/__init__.py +0 -14
  221. build/lib/clitt/core/term/commons.py +0 -106
  222. build/lib/clitt/core/term/cursor.py +0 -174
  223. build/lib/clitt/core/term/screen.py +0 -106
  224. build/lib/clitt/core/term/terminal.py +0 -202
  225. build/lib/clitt/core/tui/__init__.py +0 -20
  226. build/lib/clitt/core/tui/line_input/__init__.py +0 -12
  227. build/lib/clitt/core/tui/line_input/keyboard_input.py +0 -229
  228. build/lib/clitt/core/tui/line_input/line_input.py +0 -31
  229. build/lib/clitt/core/tui/mchoose/__init__.py +0 -12
  230. build/lib/clitt/core/tui/mchoose/mchoose.py +0 -43
  231. build/lib/clitt/core/tui/mchoose/menu_choose.py +0 -192
  232. build/lib/clitt/core/tui/mdashboard/__init__.py +0 -14
  233. build/lib/clitt/core/tui/mdashboard/dashboard_builder.py +0 -54
  234. build/lib/clitt/core/tui/mdashboard/dashboard_item.py +0 -31
  235. build/lib/clitt/core/tui/mdashboard/mdashboard.py +0 -26
  236. build/lib/clitt/core/tui/mdashboard/menu_dashboard.py +0 -148
  237. build/lib/clitt/core/tui/menu/__init__.py +0 -16
  238. build/lib/clitt/core/tui/menu/tui_menu.py +0 -111
  239. build/lib/clitt/core/tui/menu/tui_menu_action.py +0 -47
  240. build/lib/clitt/core/tui/menu/tui_menu_factory.py +0 -117
  241. build/lib/clitt/core/tui/menu/tui_menu_item.py +0 -196
  242. build/lib/clitt/core/tui/menu/tui_menu_ui.py +0 -98
  243. build/lib/clitt/core/tui/menu/tui_menu_view.py +0 -57
  244. build/lib/clitt/core/tui/minput/__init__.py +0 -19
  245. build/lib/clitt/core/tui/minput/access_type.py +0 -26
  246. build/lib/clitt/core/tui/minput/field_builder.py +0 -117
  247. build/lib/clitt/core/tui/minput/form_builder.py +0 -72
  248. build/lib/clitt/core/tui/minput/form_field.py +0 -180
  249. build/lib/clitt/core/tui/minput/input_type.py +0 -30
  250. build/lib/clitt/core/tui/minput/input_validator.py +0 -98
  251. build/lib/clitt/core/tui/minput/menu_input.py +0 -292
  252. build/lib/clitt/core/tui/minput/minput.py +0 -44
  253. build/lib/clitt/core/tui/minput/minput_utils.py +0 -156
  254. build/lib/clitt/core/tui/mselect/__init__.py +0 -12
  255. build/lib/clitt/core/tui/mselect/menu_select.py +0 -170
  256. build/lib/clitt/core/tui/mselect/mselect.py +0 -36
  257. build/lib/clitt/core/tui/table/__init__.py +0 -12
  258. build/lib/clitt/core/tui/table/table_enums.py +0 -47
  259. build/lib/clitt/core/tui/table/table_renderer.py +0 -339
  260. build/lib/clitt/core/tui/tui_application.py +0 -52
  261. build/lib/clitt/core/tui/tui_component.py +0 -154
  262. build/lib/clitt/core/tui/tui_preferences.py +0 -103
  263. build/lib/clitt/utils/__init__.py +0 -11
  264. build/lib/clitt/utils/git_utils.py +0 -66
  265. hspylib_clitt-0.9.120.dist-info/RECORD +0 -334
  266. {hspylib_clitt-0.9.120.dist-info → hspylib_clitt-0.9.122.dist-info}/WHEEL +0 -0
@@ -1,40 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.emojis
7
- @file: face_smiling.py
8
- @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from clitt.core.icons.emojis.emojis import Emoji
16
-
17
-
18
- class FaceSmiling(Emoji):
19
- """
20
- Face smiling emojis.
21
- Codes can be found here:
22
- - https://unicode.org/emoji/charts/emoji-list.html#face-smiling
23
- """
24
-
25
- # fmt: off
26
- _CUSTOM = ''
27
- DEFAULT = '\U0001F600' # 😀
28
- BEAMING = '\U0001F601' # 😁
29
- TEARS_OF_JOY = '\U0001F602' # 😂
30
- BIG_EYES = '\U0001F603' # 😃
31
- SMILING_EYES = '\U0001F604' # 😄
32
- SWEAT = '\U0001F605' # 😅
33
- SQUINTING = '\U0001F606' # 😆
34
- HALO = '\U0001F607' # 😇
35
- WINKING = '\U0001F609' # 😉
36
- BLUSHING = '\U0001F60A' # 😊
37
- SLIGHTLY = '\U0001F642' # 🙂
38
- UPSIDE_DOWN = '\U0001F643' # 🙃
39
- ROFL = '\U0001F923' # 🤣
40
- # fmt: on
@@ -1,18 +0,0 @@
1
- # _*_ coding: utf-8 _*_
2
- #
3
- # hspylib-clitt v0.9.120
4
- #
5
- # Package: main.build.lib.build.lib.build.lib.clitt.core.icons.font_awesome
6
- """Package initialization."""
7
-
8
- __all__ = [
9
- 'app_icons',
10
- 'awesome',
11
- 'dashboard_icons',
12
- 'form_icons',
13
- 'game_icons',
14
- 'nav_icons',
15
- 'trickplay_icons',
16
- 'widget_icons'
17
- ]
18
- __version__ = '0.9.120'
@@ -1,55 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.font_awesome
7
- @file: app_icons.py
8
- @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from clitt.core.icons.font_awesome.awesome import Awesome
16
- from enum import auto
17
-
18
-
19
- class AppIcons(Awesome):
20
- """
21
- Application icons.
22
- Codes can be found here:
23
- - https://fontawesome.com/cheatsheet?from=io
24
- """
25
-
26
- # fmt: off
27
- _CUSTOM = auto()
28
- AMAZON = '\uF270' # 
29
- APPLE = '\uF179' # 
30
- AWS = '\uF375' # 
31
- CPLUSPLUS = '\uF38C' # 
32
- DOCKER = '\uF308' # 
33
- DROPBOX = '\uF16B' # 
34
- GIT = '\uF813' # 
35
- GITHUB = '\uF408' # 
36
- GOOGLE = '\uF1A0' # 
37
- GOOGLE_DRIVE = '\uF3AA' # 
38
- FACEBOOK = '\uF082' # 
39
- FIREBASE = '\uF1D0' # 
40
- IE = '\uF7FF' # 
41
- INSTAGRAM = '\uF16D' # 
42
- JAVA = '\uF4E4' # 
43
- LINKED_IN = '\uF08C' # 
44
- LINUX = '\uF31A' # 
45
- PAYPAL = '\uF1ED' # 
46
- PYTHON = '\uF3E2' # 
47
- STACK_OVERFLOW = '\uF16C' # 
48
- TWITTER = '\uF081' # 
49
- UBUNTU = '\uF31B' # 
50
- VS_CODE = '\uF3AB' # 
51
- YOUTUBE = '\uF16A' # 
52
- WHATSAPP = '\uFAA2' # 甆
53
- WINDOWS = '\uF17A' # 
54
- ALPINE = '\uF7F4' # 
55
- # fmt: on
@@ -1,76 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.font_awesome
7
- @file: awesome.py
8
- @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
-
16
- from hspylib.core.enums.enumeration import Enumeration
17
- from hspylib.core.tools.commons import sysout
18
- from typing import Union
19
-
20
- import re
21
- import struct
22
-
23
-
24
- class Awesome(Enumeration):
25
- """
26
- Font awesome codes
27
- Full list of font awesome icons can be found here:
28
- - https://fontawesome.com/cheatsheet?from=io
29
- """
30
-
31
- @classmethod
32
- def no_icon(cls) -> "Awesome":
33
- """No awesome icon specified."""
34
-
35
- def _str(self) -> str:
36
- return " "
37
-
38
- def _len(self) -> int:
39
- return 1
40
-
41
- def _fmt(self, fmt) -> str:
42
- return " "
43
-
44
- no_icon_cls = type("NoIcon", (object,), {"name": "NO_ICON", "value": ""})
45
- setattr(no_icon_cls, "__str__", _str)
46
- setattr(no_icon_cls, "__len__", _len)
47
- setattr(no_icon_cls, "__format__", _fmt)
48
- return no_icon_cls()
49
-
50
- @staticmethod
51
- def print_unicode(uni_code: Union[str, int], end: str = "") -> None:
52
- """Print the specified unicode character.
53
- :param uni_code: the unicode to be printed.
54
- :param end string appended after the last value, default a newline.
55
- """
56
- if isinstance(uni_code, str) and re.match(r"^[a-fA-F0-9]{1,4}$", uni_code):
57
- hex_val = bytes.decode(struct.pack("!I", int(uni_code.zfill(4), 16)), "utf_32_be")
58
- sysout(f"{hex_val:2s}", end=end)
59
- elif isinstance(uni_code, int):
60
- hex_val = bytes.decode(struct.pack("!I", uni_code), "utf_32_be")
61
- sysout(f"{hex_val:2s}", end=end)
62
- else:
63
- raise TypeError(f"Invalid unicode value: {uni_code}")
64
-
65
- def __str__(self) -> str:
66
- return str(self.value)
67
-
68
- def __repr__(self) -> str:
69
- return str(self)
70
-
71
- def __len__(self) -> int:
72
- return len(str(self.value))
73
-
74
- @property
75
- def unicode(self) -> str:
76
- return str(self.value)
@@ -1,93 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.font_awesome
7
- @file: dashboard_icons.py
8
- @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from clitt.core.icons.font_awesome.awesome import Awesome
16
- from enum import auto
17
-
18
-
19
- class DashboardIcons(Awesome):
20
- """
21
- Dashboard UI icons.
22
- Codes can be found here:
23
- - https://fontawesome.com/cheatsheet?from=io
24
- """
25
-
26
- # fmt: off
27
- _CUSTOM = auto()
28
- ADJUSTMENTS = '\uF1DE' # 
29
- AGENDA = '\uF073' # 
30
- ALERT = '\uF071' # 
31
- ARCHIVE = '\uF01C' # 
32
- BALLOON = '\uF075' # 
33
- CAMERA = '\uF030' # 
34
- CHAT = '\uF78B' # 
35
- CLOUD_DOWNLOAD = '\uF0ED' # 
36
- CLOUD_UPLOAD = '\uF0EE' # 
37
- CODE = '\uFABF' # 謹
38
- COMPASS = '\uF124' # 
39
- DASHBOARD = '\uF00A' # 
40
- DATABASE = '\uF1C0' # 
41
- DELIVERED = '\uFB3D' # ﬽
42
- DOCUMENT = '\uF016' # 
43
- DOWNLOAD = '\uF019' # 
44
- EMAIL = '\uF003' # 
45
- ERROR = '\uF06A' # 
46
- EXIT = '\uF426' # 
47
- EXPORT = '\uF5F6' # 
48
- FAVORITE = '\uF02E' # 
49
- FLAG = '\uF024' # 
50
- FOLDER = '\uF74A' # 
51
- FOLDER_OPEN = '\uF07C' # 
52
- FORM = '\uF233' # 
53
- FORMAT = '\uF6C8' # 
54
- GRAPHS = '\uF627' # 
55
- HISTORY = '\uF017' # 
56
- HOME = '\uF015' # 
57
- IDENTITY = '\uF2BB' # 
58
- IMPORT = '\uF5F9' # 
59
- KILL = '\uF8C4' # 
60
- LIGHT_ON = '\uF834' # 
61
- LIGHT_OFF = '\uF835' # 
62
- LIKE = '\uF004' # 
63
- LIST = '\uF03A' # 
64
- LOCATION = '\uF450' # 
65
- MOBILE = '\uF61F' # 
66
- MOVIE = '\uF008' # 
67
- MUSIC = '\uF3B5' # 
68
- MUTE = '\uF86C' # 
69
- NOTIFICATION = '\uF0F3' # 
70
- PICTURE = '\uF03E' # 
71
- PLAY = '\uF01D' # 
72
- PLUGIN = '\uF12E' # 
73
- PLUG_IN = '\uF1E6' # 
74
- PLUG_OUT = '\uF492' # 
75
- PLUGGED = '\uF700' # 
76
- POWER = '\uF011' # 
77
- PRINTER = '\uF02F' # 
78
- READ = '\uF830' # 
79
- SAVE = '\uF0C7' # 
80
- SEARCH = '\uF002' # 
81
- SECRET = '\uF49C' # 
82
- SEND = '\uF3FE' # 
83
- SENT = '\uF0FB' # 
84
- SETTINGS = '\uF013' # 
85
- SHOPPING_CART = '\uF60F' # 
86
- TERMINAL = '\uF120' # 
87
- PROMPT = '\uF054' # 
88
- UN_MUTE = '\uF86E' # 
89
- UNPLUGGED = '\uF701' # 
90
- USER = '\uF007' # 
91
- VERIFIED = '\uF4A1' # 
92
-
93
- # fmt: on
@@ -1,69 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.font_awesome
7
- @file: form_icons.py
8
- @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from clitt.core.icons.font_awesome.awesome import Awesome
16
- from enum import auto
17
-
18
-
19
- class FormIcons(Awesome):
20
- """
21
- Form UI icons.
22
- Codes can be found here:
23
- - https://fontawesome.com/cheatsheet?from=io
24
- """
25
-
26
- # fmt: off
27
- _CUSTOM = auto()
28
- ARROW_LEFT = '\uF060' # 
29
- ARROW_RIGHT = '\uF061' # 
30
- ARROW_UP = '\uF062' # 
31
- ARROW_DOWN = '\uF063' # 
32
- MOVE_ARROWS = '\uF047' # 
33
- CHECK = '\uF00C' # 
34
- UNCHECK = '\uF00D' # 
35
- PLUS_CIRCLE = '\uF055' # 
36
- MINUS_CIRCLE = '\uF056' # 
37
- ERROR_CIRCLE = '\uf057' # 
38
- CHECK_CIRCLE = '\uF058' # 
39
- QUESTION_CIRCLE = '\uF059' # 
40
- UNCHECK_CIRCLE = '\uF111' # 
41
- CHECK_SQUARE = '\uF14A' # 
42
- UNCHECK_SQUARE = '\uF0C8' # 
43
- ON = '\uF205' # 
44
- OFF = '\uF204' # 
45
- MARKED = '\uF634' # 
46
- UNMARKED = '\uF630' # 
47
- CLEAR = '\uF5E1' # 
48
- REFRESH = '\uF01E' # 
49
- FILTER = '\uF0B0' # 
50
- ATTACH = '\uF0C6' # 
51
- HIDDEN = '\uF070' # 
52
- VISIBLE = '\uF06E' # 
53
- LOCKED = '\uF023' # 
54
- UNLOCKED = '\uF09C' # 
55
- EDITABLE = '\uF044' # 
56
- MASKED = '\uF0CE' # 
57
- SELECTABLE = '\uF150' # 
58
- DESELECT = '\uF657' # 
59
- DELETE = '\uF014' # 
60
- EDIT = '\uF040' # 
61
- CUT = '\uF68F' # 
62
- PASTE = '\uF68E' # 
63
- PLUS = '\uF067' # 
64
- MINUS = '\uF068' # 
65
- NUMBERS = '\uF162' # 
66
- LETTERS = '\uF15D' # 
67
- WORDS = '\uF161' # 
68
- CUSTOM = '\uF45E' # 
69
- # fmt: on
@@ -1,59 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.font_awesome
7
- @file: game_icons.py
8
- @created: Thu, 20 Jul 2023
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from clitt.core.icons.font_awesome.awesome import Awesome
16
- from enum import auto
17
-
18
-
19
- # @composable
20
- class GameIcons(Awesome):
21
- """
22
- Game icons.
23
- Codes can be found here:
24
- - https://fontawesome.com/cheatsheet?from=io
25
- """
26
-
27
- # fmt: off
28
- _CUSTOM = auto()
29
- STEAM = '\uF9D2' # 戮
30
- XBOX = '\uFAB8' # 視
31
- CUTLERY = '\uF9A5' # 殮
32
- BALL = '\uF9B7' # 醴
33
- HOME = '\uFAF7' # 﫷
34
- FURNITURE = '\uF9B8' # 隸
35
- AGENT = '\uFAF8' # 﫸
36
- GAMEPAD = '\uFAB9' # 調
37
- SWORD = '\uF9E4' # 理
38
- GUN = '\uFC01' # ﰁ
39
- CANDLE = '\uFAE1' # 﫡
40
- HORSE = '\uFCC0' # ﳀ
41
- MUSHROOM = '\uFCDD' # ﳝ
42
- SHOVEL = '\uFC0E' # ﰎ
43
- BATTLE = '\uFCFD' # ﳽ
44
- WALK = '\uFC0C' # ﰌ
45
- WRITE = '\uFBD1' # ﯑
46
- LOOK = '\uFBCE' # ﯎
47
- EXAMINE = '\uF422' # 
48
- CHAT = '\uF41F' # 
49
- SNOW = '\uFC15' # ﰕ
50
- HOT = '\uF490' # 
51
- DAY = '\uFAA7' # 盛
52
- NIGHT = '\uFA93' # 望
53
- TREE = '\uF904' # 滑
54
- KEY = '\uF80A' # 
55
- OLD_KEY = '\uF084' # 
56
- SLEEP = '\uF9B1' # 鈴
57
- LUCK = '\uFD14' # ﴔ
58
- ANIMAL = '\uF8E8' # 
59
- # fmt: on
@@ -1,42 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.font_awesome
7
- @file: nav_icons.py
8
- @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from clitt.core.icons.font_awesome.awesome import Awesome
16
- from enum import auto
17
-
18
-
19
- # @composable
20
- class NavIcons(Awesome):
21
- """
22
- Navigation icons.
23
- Codes can be found here:
24
- - https://fontawesome.com/cheatsheet?from=io
25
- """
26
-
27
- # fmt: off
28
- _CUSTOM = auto()
29
- UP = '\u2191' # ↑
30
- RIGHT = '\u2192' # →
31
- DOWN = '\u2193' # ↓
32
- LEFT = '\u2190' # ←
33
- UP_DOWN = '\uF9E1' # 李
34
- LEFT_RIGHT = '\uF9E0' # 易
35
- ENTER = '\u21B5' # ↵
36
- TAB = '\u21B9' # ↹
37
- BACKSPACE = '\u232B' # ⌫
38
- POINTER = '\uF432' # 
39
- SELECTED = '\uF814' # 
40
- UNSELECTED = '\uF815' # 
41
- BREADCRUMB = '\uF44A' # 
42
- # fmt: on
@@ -1,39 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.font_awesome
7
- @file: trickplay_icons.py
8
- @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from clitt.core.icons.font_awesome.awesome import Awesome
16
- from enum import auto
17
-
18
-
19
- # @composable
20
- class TrickplayIcons(Awesome):
21
- """
22
- Navigation icons.
23
- Codes can be found here:
24
- - https://fontawesome.com/cheatsheet?from=io
25
- """
26
-
27
- # fmt: off
28
- _CUSTOM = auto()
29
- PREVIOUS = '\uF048' # 
30
- REWIND = '\uF049' # 
31
- BACKWARD = '\uF04A' # 
32
- PLAY = '\uF04B' # 
33
- PAUSE = '\uF04C' # 
34
- STOP = '\uF04D' # 
35
- NEXT = '\uF051' # 
36
- ADVANCE = '\uF050' # 
37
- FORWARD = '\uF04E' # 
38
- EJECT = '\uF052' # 
39
- # fmt: on
@@ -1,37 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core.icons.font_awesome
7
- @file: widget_icons.py
8
- @created: Thu, 20 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from clitt.core.icons.font_awesome.awesome import Awesome
16
- from enum import auto
17
-
18
-
19
- class WidgetIcons(Awesome):
20
- """
21
- Dashboard UI icons.
22
- Codes can be found here:
23
- - https://fontawesome.com/cheatsheet?from=io
24
- """
25
-
26
- # fmt: off
27
- _CUSTOM = auto()
28
- CHART_2 = '\uF200' # 
29
- CHART_1 = '\uF1FE' # 
30
- CLOCK = '\uF651' # 
31
- CHIP = '\uFB19' # ﬙
32
- MUSIC = '\uF3B5' # 
33
- NETWORK = '\uF819' # 
34
- PUNCH = '\uF255' # 
35
- SIGN = '\uF45D' # 
36
- WIDGET = '\uF198' # 
37
- # fmt: on
@@ -1,87 +0,0 @@
1
- #!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
-
4
- """
5
- @project: HsPyLib-Clitt
6
- @package: clitt.core
7
- @file: preferences.py
8
- @created: Fri, 7 Jul 2023
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
10
- @site: https://github.com/yorevs/hspylib
11
- @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
-
13
- Copyright·(c)·2024,·HSPyLib
14
- """
15
- from enum import Enum
16
- from hspylib.core.metaclass.singleton import AbstractSingleton
17
- from hspylib.core.preconditions import check_argument, check_not_none
18
- from hspylib.core.tools.dict_tools import get_or_default_by_key
19
- from hspylib.core.tools.text_tools import ensure_startswith, environ_name
20
- from typing import Any
21
-
22
- import os
23
-
24
-
25
- class Preferences(metaclass=AbstractSingleton):
26
- """General purpose bas class to provide preference management."""
27
-
28
- def __init__(self, prefix: str = ""):
29
- self._prefix = prefix
30
- self._overrides = {}
31
-
32
- def __str__(self):
33
- # fmt: off
34
- return (
35
- f"Terminal UI Preferences{os.linesep}"
36
- f"{'-=' * 20}{os.linesep}"
37
- + os.linesep.join([f"|-{p[1:]:<16}: {getattr(self, p)}" for p in vars(self)])
38
- + f"{os.linesep}{'-=' * 20}{os.linesep}"
39
- )
40
- # fmt: on
41
-
42
- def __repr__(self):
43
- return str(self)
44
-
45
- def __getitem__(self, name: str):
46
- attr_name = name.replace(self._prefix + ".", "").replace(".", "_")
47
- return getattr(self, attr_name)
48
-
49
- def __setitem__(self, name: str, value: Any):
50
- attr_name = name.replace(self._prefix + ".", "").replace(".", "_")
51
- curr_val = getattr(self, attr_name)
52
- t1, t2 = type(curr_val), type(value)
53
- check_not_none(curr_val, f"Preference '{name}' does not exist")
54
- check_argument(t1 == t2, f"Preference '{name}' value must be of type '{t1}', not '{t2}'")
55
- self._overrides[self._get_name(name)] = value
56
-
57
- def __iter__(self):
58
- return self._overrides.__iter__()
59
-
60
- def __len__(self):
61
- return len(self._overrides)
62
-
63
- def get_preference(self, name: str, default: Any = None) -> Any:
64
- """Retrieve preference for the given specified name. If not found, return the default value.
65
- :param name: the preference name.
66
- :param default: the preference default value.
67
- :return the preference value.
68
- """
69
- pref_name = self._get_name(name)
70
- value = get_or_default_by_key(self._overrides, pref_name, default)
71
- if str_value := os.environ.get(environ_name(pref_name)):
72
- type_attr = type(value)
73
- try:
74
- if isinstance(value, Enum):
75
- value = type_attr[str_value.upper()]
76
- else:
77
- value = type_attr(str_value)
78
- except (KeyError, TypeError, ValueError):
79
- pass
80
- return value
81
-
82
- def _get_name(self, name: str) -> str:
83
- """Retrieve the preference name based. It uses the specified prefix to compose the actual name.
84
- :param name: the preference name.
85
- :return the prefixed preference name.
86
- """
87
- return ensure_startswith(name, self._prefix + ".")
@@ -1,14 +0,0 @@
1
- # _*_ coding: utf-8 _*_
2
- #
3
- # hspylib-clitt v0.9.120
4
- #
5
- # Package: main.build.lib.build.lib.build.lib.clitt.core.term
6
- """Package initialization."""
7
-
8
- __all__ = [
9
- 'commons',
10
- 'cursor',
11
- 'screen',
12
- 'terminal'
13
- ]
14
- __version__ = '0.9.120'