hyperlight-cocoa 0.2.3__tar.gz → 0.2.4__tar.gz

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.
Files changed (163) hide show
  1. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/PKG-INFO +1 -1
  2. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/header/header.py +7 -4
  3. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/header/header_config.py +7 -4
  4. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/header/letters/__init__.py +3 -2
  5. hyperlight_cocoa-0.2.4/cocoa/ui/components/header/letters/fonts/__init__.py +4 -0
  6. hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters/letters.py → hyperlight_cocoa-0.2.4/cocoa/ui/components/header/letters/fonts/alphabet.py +24 -21
  7. hyperlight_cocoa-0.2.4/cocoa/ui/components/header/letters/fonts/bubbles.py +330 -0
  8. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/header/letters/fonts/cyberpunk.py +75 -84
  9. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/header/letters/fonts/letter.py +13 -7
  10. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/header/letters/formatted_word.py +5 -1
  11. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/header/letters/word.py +17 -8
  12. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/example/test_cyperpunk.py +1 -1
  13. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/hyperlight_cocoa.egg-info/PKG-INFO +1 -1
  14. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/hyperlight_cocoa.egg-info/SOURCES.txt +2 -3
  15. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/pyproject.toml +1 -1
  16. hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters/fonts/__init__.py +0 -3
  17. hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters/fonts/bubbles.py +0 -229
  18. hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters/fonts/font_set.py +0 -9
  19. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/LICENSE +0 -0
  20. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/README.md +0 -0
  21. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/__init__.py +0 -0
  22. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/__init__.py +0 -0
  23. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/base/__init__.py +0 -0
  24. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/base/keyword_arg.py +0 -0
  25. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/base/positional_arg.py +0 -0
  26. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/__init__.py +0 -0
  27. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/assert_set.py +0 -0
  28. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/context.py +0 -0
  29. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/env.py +0 -0
  30. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/import_instance.py +0 -0
  31. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/import_type.py +0 -0
  32. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/json_data.py +0 -0
  33. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/json_file.py +0 -0
  34. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/paths.py +0 -0
  35. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/pattern.py +0 -0
  36. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/raw_file.py +0 -0
  37. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/data_types/reduce_pattern_type.py +0 -0
  38. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/operators/__init__.py +0 -0
  39. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/operators/chain.py +0 -0
  40. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/operators/map.py +0 -0
  41. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/arg_types/operators/operator.py +0 -0
  42. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/cli.py +0 -0
  43. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/cli_protocol.py +0 -0
  44. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/command.py +0 -0
  45. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/group.py +0 -0
  46. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/help_message/__init__.py +0 -0
  47. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/help_message/cli_style.py +0 -0
  48. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/help_message/create_help_string.py +0 -0
  49. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/help_message/description_help_message.py +0 -0
  50. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/help_message/help_message.py +0 -0
  51. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/help_message/line_parsing.py +0 -0
  52. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/help_message/options_help_message.py +0 -0
  53. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/help_message/title_help_message.py +0 -0
  54. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/cli/inspect_wrapped.py +0 -0
  55. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/__init__.py +0 -0
  56. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/__init__.py +0 -0
  57. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/animated_status_bar/__init__.py +0 -0
  58. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/animated_status_bar/animated_status_bar.py +0 -0
  59. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/animated_status_bar/animated_status_bar_config.py +0 -0
  60. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/counter/__init__.py +0 -0
  61. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/counter/counter.py +0 -0
  62. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/counter/counter_config.py +0 -0
  63. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/empty/__init__.py +0 -0
  64. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/empty/empty.py +0 -0
  65. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/header/__init__.py +0 -0
  66. {hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters → hyperlight_cocoa-0.2.4/cocoa/ui/components/header/letters/fonts}/formatted_letter.py +0 -0
  67. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/link/__init__.py +0 -0
  68. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/link/link.py +0 -0
  69. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/link/link_config.py +0 -0
  70. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/link/link_validator.py +0 -0
  71. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/multiline_text/__init__.py +0 -0
  72. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/multiline_text/multiline_text.py +0 -0
  73. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/multiline_text/multiline_text_config.py +0 -0
  74. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/progress_bar/__init__.py +0 -0
  75. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/progress_bar/background_char.py +0 -0
  76. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/progress_bar/end_char.py +0 -0
  77. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/progress_bar/fill_char.py +0 -0
  78. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/progress_bar/progress_bar.py +0 -0
  79. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/progress_bar/progress_bar_config.py +0 -0
  80. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/progress_bar/progress_bar_status.py +0 -0
  81. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/progress_bar/start_char.py +0 -0
  82. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/__init__.py +0 -0
  83. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plot_config.py +0 -0
  84. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plot_point.py +0 -0
  85. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/__init__.py +0 -0
  86. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_canvas.py +0 -0
  87. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_cmaps.py +0 -0
  88. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_cmaps_data.py +0 -0
  89. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_colors.py +0 -0
  90. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_dots.py +0 -0
  91. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_figure.py +0 -0
  92. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_figure_data.py +0 -0
  93. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_graphs.py +0 -0
  94. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_input_formatter.py +0 -0
  95. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/plotille/_util.py +0 -0
  96. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/point_char.py +0 -0
  97. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/scatter_plot/scatter_plot.py +0 -0
  98. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/spinner/__init__.py +0 -0
  99. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/spinner/spinner.py +0 -0
  100. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/spinner/spinner_config.py +0 -0
  101. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/spinner/spinner_data.py +0 -0
  102. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/spinner/spinner_factory.py +0 -0
  103. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/spinner/spinner_frames_set.py +0 -0
  104. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/spinner/spinner_status.py +0 -0
  105. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/spinner/spinner_types.py +0 -0
  106. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/status_bar/__init__.py +0 -0
  107. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/status_bar/status_bar.py +0 -0
  108. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/status_bar/status_bar_config.py +0 -0
  109. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/table/__init__.py +0 -0
  110. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/table/table.py +0 -0
  111. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/table/table_config.py +0 -0
  112. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/table/tabulate/__init__.py +0 -0
  113. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/table/tabulate/cell_alignment.py +0 -0
  114. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/table/tabulate/charset_position_type.py +0 -0
  115. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/table/tabulate/table_assembler.py +0 -0
  116. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/table/tabulate/table_border_lines.py +0 -0
  117. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/__init__.py +0 -0
  118. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/action.py +0 -0
  119. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/canvas.py +0 -0
  120. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/engine_config.py +0 -0
  121. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/refresh_rate.py +0 -0
  122. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/section.py +0 -0
  123. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/section_config.py +0 -0
  124. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/terminal.py +0 -0
  125. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/terminal/terminal_protocol.py +0 -0
  126. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/text/__init__.py +0 -0
  127. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/text/text.py +0 -0
  128. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/text/text_config.py +0 -0
  129. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/timer/__init__.py +0 -0
  130. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/timer/timer.py +0 -0
  131. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/timer/timer_config.py +0 -0
  132. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/timer/timer_status.py +0 -0
  133. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/total_rate/__init__.py +0 -0
  134. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/total_rate/total_rate.py +0 -0
  135. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/total_rate/total_rate_config.py +0 -0
  136. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/total_rate/total_rate_status.py +0 -0
  137. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/windowed_rate/__init__.py +0 -0
  138. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/windowed_rate/windowed_rate.py +0 -0
  139. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/components/windowed_rate/windowed_rate_config.py +0 -0
  140. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/config/__init__.py +0 -0
  141. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/config/mode.py +0 -0
  142. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/config/widget_fit_dimensions.py +0 -0
  143. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/state/__init__.py +0 -0
  144. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/state/observe.py +0 -0
  145. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/state/state_types.py +0 -0
  146. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/state/subscription_set.py +0 -0
  147. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/__init__.py +0 -0
  148. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/attributes/__init__.py +0 -0
  149. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/attributes/attribute.py +0 -0
  150. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/attributes/attributizer.py +0 -0
  151. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/colors/__init__.py +0 -0
  152. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/colors/color.py +0 -0
  153. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/colors/colorizer.py +0 -0
  154. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/colors/extended_color.py +0 -0
  155. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/colors/highlight.py +0 -0
  156. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/stylize.py +0 -0
  157. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/ui/styling/stylizer.py +0 -0
  158. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/utils/__init__.py +0 -0
  159. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/cocoa/utils/time_parser.py +0 -0
  160. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/hyperlight_cocoa.egg-info/dependency_links.txt +0 -0
  161. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/hyperlight_cocoa.egg-info/requires.txt +0 -0
  162. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/hyperlight_cocoa.egg-info/top_level.txt +0 -0
  163. {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: hyperlight-cocoa
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Create beautiful, performant terminal UI and CLI apps.
5
5
  Author-email: Ada Lundhe <adalundhe@lundhe.audio>
6
6
  License: MIT License
@@ -1,9 +1,9 @@
1
- import asyncio
2
1
  import math
2
+ from typing import Any
3
+
3
4
  from cocoa.ui.config.mode import TerminalMode
4
5
  from cocoa.ui.config.widget_fit_dimensions import WidgetFitDimensions
5
- from cocoa.ui.styling import stylize, get_style
6
- from typing import Any
6
+ from cocoa.ui.styling import get_style, stylize
7
7
 
8
8
  from .header_config import HeaderConfig
9
9
  from .letters import (
@@ -28,7 +28,10 @@ class Header:
28
28
  self._config = config
29
29
  self.subscriptions = subscriptions
30
30
 
31
- self._word = Word(self._config.header_text)
31
+ self._word = Word(
32
+ self._config.header_text,
33
+ font=config.font,
34
+ )
32
35
 
33
36
  self._styled_header_lines: list[str] | None = None
34
37
  self._formatted_word: FormattedWord | None = None
@@ -1,10 +1,12 @@
1
+ from typing import Dict, List, Literal
2
+
1
3
  from pydantic import BaseModel, StrictStr
2
- from cocoa.ui.styling.colors import Colorizer, HighlightColorizer
3
- from cocoa.ui.styling.attributes import Attributizer
4
+
4
5
  from cocoa.ui.config.mode import TerminalDisplayMode
5
- from typing import Dict, List, Literal
6
- from .letters import FormatterSet, SupportedLetters
6
+ from cocoa.ui.styling.attributes import Attributizer
7
+ from cocoa.ui.styling.colors import Colorizer, HighlightColorizer
7
8
 
9
+ from .letters import FormatterSet, SupportedFonts, SupportedLetters
8
10
 
9
11
  HeaderHorizontalAlignment = Literal["left", "center", "right"]
10
12
  HeaderVerticalAlignment = Literal["top", "center", "bottom"]
@@ -19,3 +21,4 @@ class HeaderConfig(BaseModel):
19
21
  attributes: List[Attributizer] | None = None
20
22
  terminal_mode: TerminalDisplayMode = "compatability"
21
23
  formatters: Dict[SupportedLetters, FormatterSet] | None = None
24
+ font: SupportedFonts = "cyberpunk"
@@ -1,4 +1,5 @@
1
- from .letters import SupportedLetters as SupportedLetters
2
- from .word import FormatterSet as FormatterSet
1
+ from .fonts import SupportedFonts as SupportedFonts
2
+ from .fonts import SupportedLetters as SupportedLetters
3
3
  from .word import FormattedWord as FormattedWord
4
+ from .word import FormatterSet as FormatterSet
4
5
  from .word import Word as Word
@@ -0,0 +1,4 @@
1
+ from .alphabet import Alphabet as Alphabet
2
+ from .alphabet import SupportedFonts as SupportedFonts
3
+ from .alphabet import SupportedLetters as SupportedLetters
4
+ from .formatted_letter import FormattedLetter as FormattedLetter
@@ -1,7 +1,8 @@
1
1
  from typing import Literal
2
2
 
3
- from .fonts import Letter, create_bubbles, create_cyberpunk
4
- from .formatted_letter import FormattedLetter
3
+ from .bubbles import create_bubbles
4
+ from .cyberpunk import create_cyberpunk
5
+ from .letter import Letter
5
6
 
6
7
  SupportedLetters = Literal[
7
8
  "a",
@@ -43,33 +44,40 @@ SupportedLetters = Literal[
43
44
  ]
44
45
 
45
46
 
46
- class Letters:
47
+ SupportedFonts = Literal[
48
+ "bubbles",
49
+ "cyberpunk",
50
+ ]
51
+
52
+
53
+ class Alphabet:
47
54
  def __init__(
48
55
  self,
49
- font: str = "cyberpunk",
56
+ font: SupportedFonts = "cyberpunk",
50
57
  ):
51
58
  self._fonts = {
52
59
  "bubbles": create_bubbles,
53
60
  "cyberpunk": create_cyberpunk,
54
61
  }
55
62
 
56
- font_set = self._fonts.get(
57
- font,
58
- create_cyberpunk,
59
- )()
63
+ spacing, letters = self._fonts.get(font, create_cyberpunk)()
64
+
65
+ self._alphabet = {
66
+ plain_text: Letter(
67
+ plain_text,
68
+ ascii_text,
69
+ )
70
+ for plain_text, ascii_text in letters.items()
71
+ }
60
72
 
61
- self._alphabet: dict[str, Letter] = font_set.font
73
+ self.font = font
74
+ self.spacing = spacing
62
75
 
63
76
  def __iter__(self):
64
77
  for plaintext_letter, ascii_letter in self._alphabet.items():
65
78
  yield (
66
79
  plaintext_letter,
67
- FormattedLetter(
68
- plaintext_letter=plaintext_letter,
69
- ascii=ascii_letter.format(),
70
- height=ascii_letter.height,
71
- width=ascii_letter.width,
72
- ),
80
+ ascii_letter.format(),
73
81
  )
74
82
 
75
83
  def __contains__(self, plaintext_letter: str):
@@ -81,9 +89,4 @@ class Letters:
81
89
  if selected_letter is None:
82
90
  return selected_letter
83
91
 
84
- return FormattedLetter(
85
- plaintext_letter=plaintext_letter,
86
- ascii=selected_letter.format(),
87
- height=selected_letter.height,
88
- width=selected_letter.width,
89
- )
92
+ return selected_letter.format()
@@ -0,0 +1,330 @@
1
+ def create_bubbles():
2
+ return (
3
+ 1,
4
+ {
5
+ "a": """
6
+ .
7
+ . .
8
+ ○○○○○○ .
9
+ . ○○
10
+ ○○○○○○○
11
+ ○○ . ○○
12
+ ○○○○○ ○
13
+ """,
14
+ "b": """
15
+ ○○
16
+ ○○
17
+ ○○
18
+ ○○○○○○○
19
+ ○○ ○○
20
+ ○○ ○○
21
+ ○○○○○○
22
+ """,
23
+ "c": """
24
+ . .
25
+ .
26
+ ○○○○○○
27
+ ○○ . ○○
28
+ ○ .
29
+ ○○ . ○○
30
+ ○○○○○○
31
+ """,
32
+ "d": """
33
+ .
34
+ .
35
+ ○○
36
+ ○○
37
+ ○○○○○
38
+ ○○ .○○
39
+ ○○○○
40
+ """,
41
+ "e": """
42
+ . .
43
+ .
44
+ ○○○○○
45
+ ○○ . ○○
46
+ ○○○○○○○○
47
+ ○○ . .
48
+ ○○○○○○ .
49
+ """,
50
+ "f": """
51
+ . .
52
+ . .
53
+ ○○○○
54
+ ○○ .
55
+ ○○○○○○○
56
+ ○○ .
57
+ . ○○
58
+ """,
59
+ "g": """
60
+ . .
61
+ . .
62
+ ○○○ ○
63
+ ○○ . ○○
64
+ ○○○○○○
65
+ . ○○
66
+ . ○○○○
67
+ """,
68
+ "h": """
69
+ . .
70
+ .
71
+ ○○ .
72
+ ○○
73
+ ○○○○○
74
+ ○○ ○○
75
+ ○○ .○○
76
+ """,
77
+ "i": """
78
+ . .
79
+ ○
80
+ .
81
+ ○○
82
+ ○○
83
+ ○○
84
+ ○○
85
+ """,
86
+ "j": """
87
+ .
88
+ ○
89
+ .
90
+ ○○
91
+ . ○○
92
+ ○○ ○○
93
+ ○○○
94
+ """,
95
+ "k": """
96
+ ...
97
+ ..
98
+ ○○ . .
99
+ ○○ .
100
+ ○○ ○○
101
+ ○○○○
102
+ ○○ ○○
103
+ """,
104
+ "l": """
105
+ .
106
+ .
107
+ ○○○ . .
108
+ ○○ . .
109
+ ○○ .
110
+ ○○ .
111
+ ○○
112
+ """,
113
+ "m": """
114
+ . . .
115
+ . . . .
116
+ ○ .
117
+ ○ ○○○○ ○○○○
118
+ ○○ ○○ . ○○
119
+ ○○ . ○○ .○○
120
+ ○○ ○○ . ○○
121
+ """,
122
+ "n": """
123
+ .
124
+ . .
125
+ ○ . .
126
+ ○○○○○○
127
+ ○○ ○○
128
+ ○○ . ○○
129
+ ○○ . ○○
130
+ """,
131
+ "o": """
132
+ . . .
133
+ . .
134
+ ○○○○○○
135
+ ○○ . ○○
136
+ ○○ . ○○
137
+ ○○ ○○
138
+ ○○○○○○
139
+ """,
140
+ "p": """
141
+ ..
142
+ .
143
+ ○○○○○
144
+ ○○ . ○○
145
+ ○○○○○○
146
+ ○○
147
+ ○○
148
+ """,
149
+ "q": """
150
+ . .
151
+ .
152
+ ○○○○○
153
+ ○○ ○○
154
+ ○○○○○○
155
+ ○○
156
+ ○○
157
+ """,
158
+ "r": """
159
+ . .
160
+ .
161
+ ○ ○○○○○ .
162
+ ○○ . ○○
163
+ ○○ .
164
+ ○○ .
165
+ ○○
166
+ """,
167
+ "s": """
168
+ .
169
+ . . .
170
+ ○○○○○○
171
+ ○○ .
172
+ ○○○○○○
173
+ . ○○
174
+ ○○○○○○
175
+ """,
176
+ "t": """
177
+ .
178
+ .
179
+ ○○
180
+ ○○○○○○
181
+ . ○○ .
182
+ ○○ ○
183
+ .○○○
184
+ """,
185
+ "u": """
186
+ . . .
187
+ . .
188
+ ○○ ○○
189
+ ○○ . ○○
190
+ ○○ .. ○○
191
+ ○○. ○○
192
+ ○○○○○○ ○
193
+ """,
194
+ "v": """
195
+ ..
196
+ . .
197
+ ○○ . ○○
198
+ ○○ ○○
199
+ ○○ ○○
200
+ ○○○
201
+ ○
202
+ """,
203
+ "w": """
204
+ . ..
205
+ .. .
206
+ ○○ . ○ . ○○
207
+ ○○ . ○○○ .○○
208
+ ○○ ○○ ○○ ○○
209
+ ○○○ ○○○
210
+ ○ ○
211
+ """,
212
+ "x": """
213
+ .
214
+ .
215
+ ○○ . ○○
216
+ ○○ ○○ .
217
+ . ○○○ .
218
+ ○○ ○○
219
+ ○○ . ○○
220
+ """,
221
+ "y": """
222
+ . . .
223
+ .
224
+ ○○ ○○
225
+ ○ ○
226
+ ○○
227
+ ○○
228
+ ○○
229
+ """,
230
+ "z": """
231
+ .
232
+ .
233
+ ○○○○○○
234
+ . ○○
235
+ . ○○
236
+ ○○ .
237
+ ○○○○○○
238
+ """,
239
+ "0": """
240
+ . .
241
+ . .
242
+ ○○○○○
243
+ ○○. ○○
244
+ ○○ ○ ○○
245
+ ○○. ○○
246
+ ○○○○○
247
+ """,
248
+ "1": """
249
+ .
250
+ .
251
+ ○○○
252
+ ○ ○○
253
+ ○○
254
+ ○○
255
+ ○○○○○○
256
+ """,
257
+ "2": """
258
+ . .
259
+ .
260
+ ○○○○
261
+ ○ ○○
262
+ ○○
263
+ ○○ .
264
+ ○○○○○○
265
+ """,
266
+ "3": """
267
+ .
268
+ . .
269
+ ○○○○○
270
+ ○ . ○○
271
+ ○○○○
272
+ ○ . ○○
273
+ ○○○○○
274
+ """,
275
+ "4": """
276
+ . .
277
+ . .
278
+ ○○ ○○
279
+ ○○. ○○
280
+ ○○○○○○○
281
+ . ○○
282
+ . ○○
283
+ """,
284
+ "5": """
285
+ ..
286
+ .
287
+ ○○○○○○
288
+ ○○ .
289
+ ○○○○○
290
+ . ○○
291
+ ○○○○○ .
292
+ """,
293
+ "6": """
294
+ .
295
+ .
296
+ ○○○○○
297
+ ○○ .
298
+ ○○○○○○
299
+ ○○ . ○○
300
+ ○○○○○
301
+ """,
302
+ "7": """
303
+ .. .
304
+ . .
305
+ ○○○○○○○
306
+ ○○
307
+ . ○○
308
+ . ○○
309
+ ○○ .
310
+ """,
311
+ "8": """
312
+ .
313
+ .
314
+ ○○○○○ .
315
+ ○○ . ○○
316
+ ○○○○○
317
+ ○○. .○○
318
+ ○○○○○
319
+ """,
320
+ "9": """
321
+ .
322
+ . .
323
+ ○○○○○
324
+ ○○ . ○○
325
+ ○○○○○○
326
+ . ○○
327
+ ○○○○○ .
328
+ """,
329
+ },
330
+ )