hyperlight-cocoa 0.2.3__tar.gz → 0.2.5__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.
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/PKG-INFO +3 -2
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/header.py +7 -4
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/header_config.py +7 -4
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/letters/__init__.py +3 -2
- hyperlight_cocoa-0.2.5/cocoa/ui/components/header/letters/fonts/__init__.py +4 -0
- hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters/letters.py → hyperlight_cocoa-0.2.5/cocoa/ui/components/header/letters/fonts/alphabet.py +24 -21
- hyperlight_cocoa-0.2.5/cocoa/ui/components/header/letters/fonts/bubbles.py +330 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/letters/fonts/cyberpunk.py +75 -84
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/letters/fonts/letter.py +13 -7
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/letters/formatted_word.py +5 -1
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/letters/word.py +17 -8
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/example/test_cyperpunk.py +1 -1
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/hyperlight_cocoa.egg-info/PKG-INFO +3 -2
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/hyperlight_cocoa.egg-info/SOURCES.txt +2 -3
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/pyproject.toml +1 -1
- hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters/fonts/__init__.py +0 -3
- hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters/fonts/bubbles.py +0 -229
- hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters/fonts/font_set.py +0 -9
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/LICENSE +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/README.md +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/base/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/base/keyword_arg.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/base/positional_arg.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/assert_set.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/context.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/env.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/import_instance.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/import_type.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/json_data.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/json_file.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/paths.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/pattern.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/raw_file.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/data_types/reduce_pattern_type.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/operators/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/operators/chain.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/operators/map.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/arg_types/operators/operator.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/cli.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/cli_protocol.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/command.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/group.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/help_message/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/help_message/cli_style.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/help_message/create_help_string.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/help_message/description_help_message.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/help_message/help_message.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/help_message/line_parsing.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/help_message/options_help_message.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/help_message/title_help_message.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/cli/inspect_wrapped.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/animated_status_bar/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/animated_status_bar/animated_status_bar.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/animated_status_bar/animated_status_bar_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/counter/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/counter/counter.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/counter/counter_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/empty/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/empty/empty.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3/cocoa/ui/components/header/letters → hyperlight_cocoa-0.2.5/cocoa/ui/components/header/letters/fonts}/formatted_letter.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/link/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/link/link.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/link/link_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/link/link_validator.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/multiline_text/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/multiline_text/multiline_text.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/multiline_text/multiline_text_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/progress_bar/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/progress_bar/background_char.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/progress_bar/end_char.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/progress_bar/fill_char.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/progress_bar/progress_bar.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/progress_bar/progress_bar_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/progress_bar/progress_bar_status.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/progress_bar/start_char.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plot_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plot_point.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_canvas.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_cmaps.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_cmaps_data.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_colors.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_dots.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_figure.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_figure_data.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_graphs.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_input_formatter.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/plotille/_util.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/point_char.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/scatter_plot/scatter_plot.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/spinner/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/spinner/spinner.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/spinner/spinner_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/spinner/spinner_data.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/spinner/spinner_factory.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/spinner/spinner_frames_set.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/spinner/spinner_status.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/spinner/spinner_types.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/status_bar/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/status_bar/status_bar.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/status_bar/status_bar_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/table/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/table/table.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/table/table_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/table/tabulate/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/table/tabulate/cell_alignment.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/table/tabulate/charset_position_type.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/table/tabulate/table_assembler.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/table/tabulate/table_border_lines.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/action.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/canvas.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/engine_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/refresh_rate.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/section.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/section_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/terminal.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/terminal/terminal_protocol.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/text/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/text/text.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/text/text_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/timer/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/timer/timer.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/timer/timer_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/timer/timer_status.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/total_rate/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/total_rate/total_rate.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/total_rate/total_rate_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/total_rate/total_rate_status.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/windowed_rate/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/windowed_rate/windowed_rate.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/windowed_rate/windowed_rate_config.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/config/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/config/mode.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/config/widget_fit_dimensions.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/state/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/state/observe.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/state/state_types.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/state/subscription_set.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/attributes/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/attributes/attribute.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/attributes/attributizer.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/colors/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/colors/color.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/colors/colorizer.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/colors/extended_color.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/colors/highlight.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/stylize.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/styling/stylizer.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/utils/__init__.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/utils/time_parser.py +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/hyperlight_cocoa.egg-info/dependency_links.txt +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/hyperlight_cocoa.egg-info/requires.txt +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/hyperlight_cocoa.egg-info/top_level.txt +0 -0
- {hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: hyperlight-cocoa
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
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
|
|
@@ -36,6 +36,7 @@ Requires-Python: >=3.11
|
|
|
36
36
|
Description-Content-Type: text/markdown
|
|
37
37
|
License-File: LICENSE
|
|
38
38
|
Requires-Dist: pydantic
|
|
39
|
+
Dynamic: license-file
|
|
39
40
|
|
|
40
41
|
# <b>Cocoa</b>
|
|
41
42
|
<b>A framework for building beautiful and performant terminal and CLI apps</b>
|
|
@@ -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
|
|
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(
|
|
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
|
{hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/header_config.py
RENAMED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
from typing import Dict, List, Literal
|
|
2
|
+
|
|
1
3
|
from pydantic import BaseModel, StrictStr
|
|
2
|
-
|
|
3
|
-
from cocoa.ui.styling.attributes import Attributizer
|
|
4
|
+
|
|
4
5
|
from cocoa.ui.config.mode import TerminalDisplayMode
|
|
5
|
-
from
|
|
6
|
-
from .
|
|
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"
|
{hyperlight_cocoa-0.2.3 → hyperlight_cocoa-0.2.5}/cocoa/ui/components/header/letters/__init__.py
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .
|
|
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
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
from typing import Literal
|
|
2
2
|
|
|
3
|
-
from .
|
|
4
|
-
from .
|
|
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
|
-
|
|
47
|
+
SupportedFonts = Literal[
|
|
48
|
+
"bubbles",
|
|
49
|
+
"cyberpunk",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class Alphabet:
|
|
47
54
|
def __init__(
|
|
48
55
|
self,
|
|
49
|
-
font:
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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.
|
|
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
|
-
|
|
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
|
|
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
|
+
)
|