unicode-animatio 0.0.1__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.
@@ -0,0 +1,236 @@
1
+ Metadata-Version: 2.4
2
+ Name: unicode-animatio
3
+ Version: 0.0.1
4
+ Summary: Unicode spinner animations as raw frame data for Python
5
+ Project-URL: Homepage, https://github.com/openminion/unicode-animatio
6
+ Project-URL: Repository, https://github.com/openminion/unicode-animatio
7
+ Project-URL: Documentation, https://github.com/openminion/unicode-animatio/tree/main/docs
8
+ Project-URL: Issues, https://github.com/openminion/unicode-animatio/issues
9
+ Author: unicode-animatio contributors
10
+ License: MIT
11
+ License-File: LICENSE
12
+ Keywords: animation,braille,cli,loading,spinner,terminal,unicode
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Software Development :: Libraries
23
+ Classifier: Topic :: Terminals
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.9
26
+ Provides-Extra: dev
27
+ Requires-Dist: build>=1.2.2; extra == 'dev'
28
+ Requires-Dist: pre-commit<5,>=4; extra == 'dev'
29
+ Requires-Dist: pytest>=8.0.0; extra == 'dev'
30
+ Requires-Dist: ruff>=0.11.0; extra == 'dev'
31
+ Description-Content-Type: text/markdown
32
+
33
+ <p align="center">
34
+ <img src="https://www.openminion.com/brand/openminion-logo.png" alt="OpenMinion logo" width="128" />
35
+ </p>
36
+
37
+ <h1 align="center">unicode-animatio</h1>
38
+
39
+ <p align="center">
40
+ <strong>Lightweight Unicode braille spinner animations for Python.</strong>
41
+ </p>
42
+
43
+ <p align="center">
44
+ <a href="https://github.com/openminion/unicode-animatio">GitHub</a>
45
+ · <a href="#install">Install</a>
46
+ · <a href="#what-the-package-provides">What Ships</a>
47
+ · <a href="https://www.openminion.com">Website</a>
48
+ · <a href="https://x.com/OpenMinion">X</a>
49
+ </p>
50
+
51
+ <p align="center">
52
+ <img alt="Package version" src="https://img.shields.io/badge/package-0.0.1-3775A9">
53
+ <img alt="Python" src="https://img.shields.io/badge/python-3.9%2B-3775A9">
54
+ <a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/license-MIT-blue"></a>
55
+ <img alt="Status" src="https://img.shields.io/badge/status-beta-5B8DEF">
56
+ </p>
57
+
58
+ - 18 spinner families as raw frame data
59
+ - typed Python API with JS-style compatibility aliases
60
+ - built-in terminal preview CLI and local browser demo
61
+ - no runtime dependencies
62
+
63
+ `unicode-animatio` is the public package and repo name. The Python import root
64
+ remains `unicode_animations`, while the public CLI entrypoints use
65
+ `unicode-animatio` and `unicode-animatio-web`.
66
+
67
+ ## Official project links
68
+
69
+ - GitHub: `https://github.com/openminion/unicode-animatio`
70
+ - Issues: `https://github.com/openminion/unicode-animatio/issues`
71
+
72
+ ## What the package provides
73
+
74
+ `unicode-animatio` provides:
75
+
76
+ - immutable spinner frame data via `unicode_animations.spinners`
77
+ - braille-grid helpers: `make_grid` and `grid_to_braille`
78
+ - compatibility aliases: `makeGrid` and `gridToBraille`
79
+ - a terminal preview CLI: `unicode-animatio`
80
+ - a local web preview CLI: `unicode-animatio-web`
81
+
82
+ ## What the package does not provide
83
+
84
+ This package does not provide:
85
+
86
+ - async terminal rendering frameworks
87
+ - progress bars, task orchestration, or job-state tracking
88
+ - hosted demo infrastructure or remote APIs
89
+ - framework-specific adapters for Rich, Textual, or Typer
90
+
91
+ ## Install
92
+
93
+ Install from PyPI:
94
+
95
+ ```bash
96
+ python3 -m pip install unicode-animatio
97
+ ```
98
+
99
+ Editable install during local development:
100
+
101
+ ```bash
102
+ python3 -m pip install -e ".[dev]"
103
+ ```
104
+
105
+ ## Quick start
106
+
107
+ ```python
108
+ from unicode_animations import spinners
109
+
110
+ spinner = spinners["braille"]
111
+ print(spinner.frames)
112
+ print(spinner.interval)
113
+ ```
114
+
115
+ Grid helpers:
116
+
117
+ ```python
118
+ from unicode_animations import grid_to_braille, make_grid
119
+
120
+ grid = make_grid(4, 4)
121
+ grid[0][0] = True
122
+ grid[1][1] = True
123
+ grid[2][2] = True
124
+ grid[3][3] = True
125
+
126
+ print(grid_to_braille(grid))
127
+ ```
128
+
129
+ ## CLI and demos
130
+
131
+ Terminal preview:
132
+
133
+ ```bash
134
+ unicode-animatio --list
135
+ unicode-animatio
136
+ unicode-animatio helix
137
+ ```
138
+
139
+ Local browser demo:
140
+
141
+ ```bash
142
+ unicode-animatio --web
143
+ unicode-animatio-web --port 8765
144
+ unicode-animatio-web --host 0.0.0.0 --port 8765 --no-open
145
+ ```
146
+
147
+ Python API terminal demo:
148
+
149
+ ```bash
150
+ python examples/terminal_demo.py
151
+ python examples/terminal_demo.py --seconds-per-spinner 2 --loops 2
152
+ python examples/terminal_demo.py helix
153
+ python examples/terminal_demo.py --list
154
+ ```
155
+
156
+ ## Available animations
157
+
158
+ The package currently ships these braille spinner families. The preview glyph is
159
+ the first frame from each animation:
160
+
161
+ | Name | Preview | Frames | Interval |
162
+ | --- | --- | ---: | ---: |
163
+ | `braille` | `⠋` | 10 | 80ms |
164
+ | `braillewave` | `⠁⠂⠄⡀` | 8 | 100ms |
165
+ | `dna` | `⠋⠉⠙⠚` | 12 | 80ms |
166
+ | `scan` | `⠀⠀⠀⠀` | 10 | 70ms |
167
+ | `rain` | `⢁⠂⠔⠈` | 12 | 100ms |
168
+ | `scanline` | `⠉⠉⠉` | 6 | 120ms |
169
+ | `pulse` | `⠀⠶⠀` | 5 | 180ms |
170
+ | `snake` | `⣁⡀` | 16 | 80ms |
171
+ | `sparkle` | `⡡⠊⢔⠡` | 6 | 150ms |
172
+ | `cascade` | `⠀⠀⠀⠀` | 14 | 60ms |
173
+ | `columns` | `⡀⠀⠀` | 26 | 60ms |
174
+ | `orbit` | `⠃` | 8 | 100ms |
175
+ | `breathe` | `⠀` | 17 | 100ms |
176
+ | `waverows` | `⠖⠉⠉⠑` | 16 | 90ms |
177
+ | `checkerboard` | `⢕⢕⢕` | 4 | 250ms |
178
+ | `helix` | `⢌⣉⢎⣉` | 16 | 80ms |
179
+ | `fillsweep` | `⣀⣀` | 11 | 100ms |
180
+ | `diagswipe` | `⠁⠀` | 16 | 60ms |
181
+
182
+ For a live preview:
183
+
184
+ ```bash
185
+ unicode-animatio --list
186
+ unicode-animatio helix
187
+ unicode-animatio --web
188
+ ```
189
+
190
+ ## Development
191
+
192
+ ```bash
193
+ python3 -m venv .venv
194
+ source .venv/bin/activate
195
+ python3 -m pip install -e ".[dev]"
196
+ python3 -m pytest -q
197
+ python3 -m ruff check .
198
+ python3 -m build
199
+ ```
200
+
201
+ ## Package docs
202
+
203
+ - [Getting started](docs/getting-started.md)
204
+ - [Package docs index](docs/README.md)
205
+ - [API compatibility](API_COMPATIBILITY.md)
206
+ - [Release guide](RELEASING.md)
207
+ - [Source tree owner map](docs/source-tree-owner-map.md)
208
+
209
+ ## Trust and Brand Safety
210
+
211
+ - Official GitHub: `https://github.com/openminion/unicode-animatio`
212
+ - Official website: `https://www.openminion.com`
213
+ - Official X account: `https://x.com/OpenMinion`
214
+
215
+ `unicode-animatio` has no official token, coin, NFT, airdrop, staking
216
+ program, treasury product, or investment offering. Any claim otherwise is
217
+ unauthorized and should be treated as a scam.
218
+
219
+ ## License and brand-use boundary
220
+
221
+ - Source code license: `MIT`
222
+ - Brand/trademark grant: `none`
223
+
224
+ The software license grants rights to use, modify, and redistribute the code.
225
+ It does **not** grant rights to use the unicode-animatio or OpenMinion
226
+ names, logos, branding, website identity, or social identity except for
227
+ truthful attribution. Forks, clones, and derivative distributions must not
228
+ present themselves as the official unicode-animatio package or imply
229
+ affiliation, endorsement, or maintenance by unicode-animatio or OpenMinion
230
+ contributors unless that is actually true.
231
+
232
+ ## Community
233
+
234
+ - [Contributing](CONTRIBUTING.md)
235
+ - [Code of Conduct](CODE_OF_CONDUCT.md)
236
+ - [License (MIT)](LICENSE)
@@ -0,0 +1,11 @@
1
+ unicode_animations/__init__.py,sha256=VLoKowbEwv_l7p_0IWPyCI9mYlCfxf_szTstrxk3dFg,536
2
+ unicode_animations/__main__.py,sha256=o8kW7cWSR6EtXZUqC1f4Ye040u9P4vyk1UbKuB5gUkA,108
3
+ unicode_animations/braille.py,sha256=YhAQWbynkIRXwkDtmndYf0cT9Uzfh1s9PKlk8kkDAvc,15896
4
+ unicode_animations/cli.py,sha256=FvhKGxatSGA7KaESEb0n4-71U5cZb_xKD9fNBHypsr8,3084
5
+ unicode_animations/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ unicode_animations/web.py,sha256=b7EYVOiwoZiV3tSCkZOsYS1QXyon-6Gr35L6SD_v3_4,9292
7
+ unicode_animatio-0.0.1.dist-info/METADATA,sha256=chIjuBdZbC7bekiGfIQQFXbQ9qtmW_EW8RHHOwfx348,6986
8
+ unicode_animatio-0.0.1.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
9
+ unicode_animatio-0.0.1.dist-info/entry_points.txt,sha256=NL_9AC9PEELJlD4UmDk2v3gLj8V3503M-3MTVI5WkY0,116
10
+ unicode_animatio-0.0.1.dist-info/licenses/LICENSE,sha256=sG4u-94gFxSsUAQtVehvrdLr1Hk_ptnoZskC7yFLaXY,1086
11
+ unicode_animatio-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.30.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ unicode-animatio = unicode_animations.cli:main
3
+ unicode-animatio-web = unicode_animations.web:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 unicode-animatio contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,28 @@
1
+ """Unicode braille spinner animations for Python."""
2
+
3
+ __version__ = "0.0.1"
4
+
5
+ from .braille import (
6
+ BRAILLE_SPINNER_NAMES,
7
+ BrailleSpinnerName,
8
+ Spinner,
9
+ grid_to_braille,
10
+ make_grid,
11
+ spinners,
12
+ )
13
+
14
+ # Compatibility aliases mirroring the original JavaScript API style.
15
+ gridToBraille = grid_to_braille
16
+ makeGrid = make_grid
17
+
18
+ __all__ = [
19
+ "__version__",
20
+ "Spinner",
21
+ "BrailleSpinnerName",
22
+ "BRAILLE_SPINNER_NAMES",
23
+ "spinners",
24
+ "grid_to_braille",
25
+ "make_grid",
26
+ "gridToBraille",
27
+ "makeGrid",
28
+ ]
@@ -0,0 +1,5 @@
1
+ """Command entrypoint for python -m unicode_animations."""
2
+
3
+ from .cli import main
4
+
5
+ raise SystemExit(main())