spinnerz 0.1.0__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.
- spinnerz/__init__.py +14 -0
- spinnerz/main.py +903 -0
- spinnerz-0.1.0.dist-info/METADATA +151 -0
- spinnerz-0.1.0.dist-info/RECORD +6 -0
- spinnerz-0.1.0.dist-info/WHEEL +4 -0
- spinnerz-0.1.0.dist-info/licenses/LICENSE +21 -0
spinnerz/__init__.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
2
|
+
|
|
3
|
+
from .main import SPINNERS, Spinner, spinner
|
|
4
|
+
|
|
5
|
+
try:
|
|
6
|
+
__version__ = version("spinnerz")
|
|
7
|
+
except PackageNotFoundError:
|
|
8
|
+
__version__ = "0.1.0"
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"Spinner",
|
|
12
|
+
"spinner",
|
|
13
|
+
"SPINNERS",
|
|
14
|
+
]
|
spinnerz/main.py
ADDED
|
@@ -0,0 +1,903 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Original Spinner Animations Copyright (c) 2026 QuickMash(Tanner Curr)
|
|
3
|
+
|
|
4
|
+
Portions of this file (spinner animations) are adapted from cli-spinners.
|
|
5
|
+
https://github.com/sindresorhus/cli-spinners
|
|
6
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
11
|
+
|
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
import sys
|
|
16
|
+
import threading
|
|
17
|
+
import time
|
|
18
|
+
from contextlib import contextmanager
|
|
19
|
+
|
|
20
|
+
SPINNERS = {
|
|
21
|
+
"dots": ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"],
|
|
22
|
+
"dots2": ["⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"],
|
|
23
|
+
"dots3": ["⠋", "⠙", "⠚", "⠞", "⠖", "⠦", "⠴", "⠲", "⠳", "⠓"],
|
|
24
|
+
"dots4": ["⠄", "⠆", "⠇", "⠋", "⠙", "⠸", "⠰", "⠠", "⠰", "⠸", "⠙", "⠋", "⠇", "⠆"],
|
|
25
|
+
"dots5": [
|
|
26
|
+
"⠋",
|
|
27
|
+
"⠙",
|
|
28
|
+
"⠚",
|
|
29
|
+
"⠒",
|
|
30
|
+
"⠂",
|
|
31
|
+
"⠂",
|
|
32
|
+
"⠒",
|
|
33
|
+
"⠲",
|
|
34
|
+
"⠴",
|
|
35
|
+
"⠦",
|
|
36
|
+
"⠖",
|
|
37
|
+
"⠒",
|
|
38
|
+
"⠐",
|
|
39
|
+
"⠐",
|
|
40
|
+
"⠒",
|
|
41
|
+
"⠓",
|
|
42
|
+
"⠋",
|
|
43
|
+
],
|
|
44
|
+
"dots6": [
|
|
45
|
+
"⠁",
|
|
46
|
+
"⠉",
|
|
47
|
+
"⠙",
|
|
48
|
+
"⠚",
|
|
49
|
+
"⠒",
|
|
50
|
+
"⠂",
|
|
51
|
+
"⠂",
|
|
52
|
+
"⠒",
|
|
53
|
+
"⠲",
|
|
54
|
+
"⠴",
|
|
55
|
+
"⠤",
|
|
56
|
+
"⠄",
|
|
57
|
+
"⠄",
|
|
58
|
+
"⠤",
|
|
59
|
+
"⠴",
|
|
60
|
+
"⠲",
|
|
61
|
+
"⠒",
|
|
62
|
+
"⠂",
|
|
63
|
+
"⠂",
|
|
64
|
+
"⠒",
|
|
65
|
+
"⠚",
|
|
66
|
+
"⠙",
|
|
67
|
+
"⠉",
|
|
68
|
+
"⠁",
|
|
69
|
+
],
|
|
70
|
+
"dots7": [
|
|
71
|
+
"⠈",
|
|
72
|
+
"⠉",
|
|
73
|
+
"⠋",
|
|
74
|
+
"⠓",
|
|
75
|
+
"⠒",
|
|
76
|
+
"⠐",
|
|
77
|
+
"⠐",
|
|
78
|
+
"⠒",
|
|
79
|
+
"⠖",
|
|
80
|
+
"⠦",
|
|
81
|
+
"⠤",
|
|
82
|
+
"⠠",
|
|
83
|
+
"⠠",
|
|
84
|
+
"⠤",
|
|
85
|
+
"⠦",
|
|
86
|
+
"⠖",
|
|
87
|
+
"⠒",
|
|
88
|
+
"⠐",
|
|
89
|
+
"⠐",
|
|
90
|
+
"⠒",
|
|
91
|
+
"⠓",
|
|
92
|
+
"⠋",
|
|
93
|
+
"⠉",
|
|
94
|
+
"⠈",
|
|
95
|
+
],
|
|
96
|
+
"dots8": [
|
|
97
|
+
"⠁",
|
|
98
|
+
"⠁",
|
|
99
|
+
"⠉",
|
|
100
|
+
"⠙",
|
|
101
|
+
"⠚",
|
|
102
|
+
"⠒",
|
|
103
|
+
"⠂",
|
|
104
|
+
"⠂",
|
|
105
|
+
"⠒",
|
|
106
|
+
"⠲",
|
|
107
|
+
"⠴",
|
|
108
|
+
"⠤",
|
|
109
|
+
"⠄",
|
|
110
|
+
"⠄",
|
|
111
|
+
"⠤",
|
|
112
|
+
"⠠",
|
|
113
|
+
"⠠",
|
|
114
|
+
"⠤",
|
|
115
|
+
"⠦",
|
|
116
|
+
"⠖",
|
|
117
|
+
"⠒",
|
|
118
|
+
"⠐",
|
|
119
|
+
"⠐",
|
|
120
|
+
"⠒",
|
|
121
|
+
"⠓",
|
|
122
|
+
"⠋",
|
|
123
|
+
"⠉",
|
|
124
|
+
"⠈",
|
|
125
|
+
"⠈",
|
|
126
|
+
],
|
|
127
|
+
"dots9": ["⢹", "⢺", "⢼", "⣸", "⣇", "⡧", "⡗", "⡏"],
|
|
128
|
+
"dots10": ["⢄", "⢂", "⢁", "⡁", "⡈", "⡐", "⡠"],
|
|
129
|
+
"dots11": ["⠁", "⠂", "⠄", "⡀", "⢀", "⠠", "⠐", "⠈"],
|
|
130
|
+
"dots12": [
|
|
131
|
+
"⢀⠀",
|
|
132
|
+
"⡀⠀",
|
|
133
|
+
"⠄⠀",
|
|
134
|
+
"⢂⠀",
|
|
135
|
+
"⡂⠀",
|
|
136
|
+
"⠅⠀",
|
|
137
|
+
"⢃⠀",
|
|
138
|
+
"⡃⠀",
|
|
139
|
+
"⠍⠀",
|
|
140
|
+
"⢋⠀",
|
|
141
|
+
"⡋⠀",
|
|
142
|
+
"⠍⠁",
|
|
143
|
+
"⢋⠁",
|
|
144
|
+
"⡋⠁",
|
|
145
|
+
"⠍⠉",
|
|
146
|
+
"⠋⠉",
|
|
147
|
+
"⠋⠉",
|
|
148
|
+
"⠉⠙",
|
|
149
|
+
"⠉⠙",
|
|
150
|
+
"⠉⠩",
|
|
151
|
+
"⠈⢙",
|
|
152
|
+
"⠈⡙",
|
|
153
|
+
"⢈⠩",
|
|
154
|
+
"⡀⢙",
|
|
155
|
+
"⠄⡙",
|
|
156
|
+
"⢂⠩",
|
|
157
|
+
"⡂⢘",
|
|
158
|
+
"⠅⡘",
|
|
159
|
+
"⢃⠨",
|
|
160
|
+
"⡃⢐",
|
|
161
|
+
"⠍⡐",
|
|
162
|
+
"⢋⠠",
|
|
163
|
+
"⡋⢀",
|
|
164
|
+
"⠍⡁",
|
|
165
|
+
"⢋⠁",
|
|
166
|
+
"⡋⠁",
|
|
167
|
+
"⠍⠉",
|
|
168
|
+
"⠋⠉",
|
|
169
|
+
"⠋⠉",
|
|
170
|
+
"⠉⠙",
|
|
171
|
+
"⠉⠙",
|
|
172
|
+
"⠉⠩",
|
|
173
|
+
"⠈⢙",
|
|
174
|
+
"⠈⡙",
|
|
175
|
+
"⠈⠩",
|
|
176
|
+
"⠀⢙",
|
|
177
|
+
"⠀⡙",
|
|
178
|
+
"⠀⠩",
|
|
179
|
+
"⠀⢘",
|
|
180
|
+
"⠀⡘",
|
|
181
|
+
"⠀⠨",
|
|
182
|
+
"⠀⢐",
|
|
183
|
+
"⠀⡐",
|
|
184
|
+
"⠀⠠",
|
|
185
|
+
"⠀⢀",
|
|
186
|
+
"⠀⡀",
|
|
187
|
+
],
|
|
188
|
+
"dots13": ["⣼", "⣹", "⢻", "⠿", "⡟", "⣏", "⣧", "⣶"],
|
|
189
|
+
"dots14": ["⠉⠉", "⠈⠙", "⠀⠹", "⠀⢸", "⠀⣰", "⢀⣠", "⣀⣀", "⣄⡀", "⣆⠀", "⡇⠀", "⠏⠀", "⠋⠁"],
|
|
190
|
+
"dots8Bit": [
|
|
191
|
+
"⠀",
|
|
192
|
+
"⠁",
|
|
193
|
+
"⠂",
|
|
194
|
+
"⠃",
|
|
195
|
+
"⠄",
|
|
196
|
+
"⠅",
|
|
197
|
+
"⠆",
|
|
198
|
+
"⠇",
|
|
199
|
+
"⡀",
|
|
200
|
+
"⡁",
|
|
201
|
+
"⡂",
|
|
202
|
+
"⡃",
|
|
203
|
+
"⡄",
|
|
204
|
+
"⡅",
|
|
205
|
+
"⡆",
|
|
206
|
+
"⡇",
|
|
207
|
+
"⠈",
|
|
208
|
+
"⠉",
|
|
209
|
+
"⠊",
|
|
210
|
+
"⠋",
|
|
211
|
+
"⠌",
|
|
212
|
+
"⠍",
|
|
213
|
+
"⠎",
|
|
214
|
+
"⠏",
|
|
215
|
+
"⡈",
|
|
216
|
+
"⡉",
|
|
217
|
+
"⡊",
|
|
218
|
+
"⡋",
|
|
219
|
+
"⡌",
|
|
220
|
+
"⡍",
|
|
221
|
+
"⡎",
|
|
222
|
+
"⡏",
|
|
223
|
+
"⠐",
|
|
224
|
+
"⠑",
|
|
225
|
+
"⠒",
|
|
226
|
+
"⠓",
|
|
227
|
+
"⠔",
|
|
228
|
+
"⠕",
|
|
229
|
+
"⠖",
|
|
230
|
+
"⠗",
|
|
231
|
+
"⡐",
|
|
232
|
+
"⡑",
|
|
233
|
+
"⡒",
|
|
234
|
+
"⡓",
|
|
235
|
+
"⡔",
|
|
236
|
+
"⡕",
|
|
237
|
+
"⡖",
|
|
238
|
+
"⡗",
|
|
239
|
+
"⠘",
|
|
240
|
+
"⠙",
|
|
241
|
+
"⠚",
|
|
242
|
+
"⠛",
|
|
243
|
+
"⠜",
|
|
244
|
+
"⠝",
|
|
245
|
+
"⠞",
|
|
246
|
+
"⠟",
|
|
247
|
+
"⡘",
|
|
248
|
+
"⡙",
|
|
249
|
+
"⡚",
|
|
250
|
+
"⡛",
|
|
251
|
+
"⡜",
|
|
252
|
+
"⡝",
|
|
253
|
+
"⡞",
|
|
254
|
+
"⡟",
|
|
255
|
+
"⠠",
|
|
256
|
+
"⠡",
|
|
257
|
+
"⠢",
|
|
258
|
+
"⠣",
|
|
259
|
+
"⠤",
|
|
260
|
+
"⠥",
|
|
261
|
+
"⠦",
|
|
262
|
+
"⠧",
|
|
263
|
+
"⡠",
|
|
264
|
+
"⡡",
|
|
265
|
+
"⡢",
|
|
266
|
+
"⡣",
|
|
267
|
+
"⡤",
|
|
268
|
+
"⡥",
|
|
269
|
+
"⡦",
|
|
270
|
+
"⡧",
|
|
271
|
+
"⠨",
|
|
272
|
+
"⠩",
|
|
273
|
+
"⠪",
|
|
274
|
+
"⠫",
|
|
275
|
+
"⠬",
|
|
276
|
+
"⠭",
|
|
277
|
+
"⠮",
|
|
278
|
+
"⠯",
|
|
279
|
+
"⡨",
|
|
280
|
+
"⡩",
|
|
281
|
+
"⡪",
|
|
282
|
+
"⡫",
|
|
283
|
+
"⡬",
|
|
284
|
+
"⡭",
|
|
285
|
+
"⡮",
|
|
286
|
+
"⡯",
|
|
287
|
+
"⠰",
|
|
288
|
+
"⠱",
|
|
289
|
+
"⠲",
|
|
290
|
+
"⠳",
|
|
291
|
+
"⠴",
|
|
292
|
+
"⠵",
|
|
293
|
+
"⠶",
|
|
294
|
+
"⠷",
|
|
295
|
+
"⡰",
|
|
296
|
+
"⡱",
|
|
297
|
+
"⡲",
|
|
298
|
+
"⡳",
|
|
299
|
+
"⡴",
|
|
300
|
+
"⡵",
|
|
301
|
+
"⡶",
|
|
302
|
+
"⡷",
|
|
303
|
+
"⠸",
|
|
304
|
+
"⠹",
|
|
305
|
+
"⠺",
|
|
306
|
+
"⠻",
|
|
307
|
+
"⠼",
|
|
308
|
+
"⠽",
|
|
309
|
+
"⠾",
|
|
310
|
+
"⠿",
|
|
311
|
+
"⡸",
|
|
312
|
+
"⡹",
|
|
313
|
+
"⡺",
|
|
314
|
+
"⡻",
|
|
315
|
+
"⡼",
|
|
316
|
+
"⡽",
|
|
317
|
+
"⡾",
|
|
318
|
+
"⡿",
|
|
319
|
+
"⢀",
|
|
320
|
+
"⢁",
|
|
321
|
+
"⢂",
|
|
322
|
+
"⢃",
|
|
323
|
+
"⢄",
|
|
324
|
+
"⢅",
|
|
325
|
+
"⢆",
|
|
326
|
+
"⢇",
|
|
327
|
+
"⣀",
|
|
328
|
+
"⣁",
|
|
329
|
+
"⣂",
|
|
330
|
+
"⣃",
|
|
331
|
+
"⣄",
|
|
332
|
+
"⣅",
|
|
333
|
+
"⣆",
|
|
334
|
+
"⣇",
|
|
335
|
+
"⢈",
|
|
336
|
+
"⢉",
|
|
337
|
+
"⢊",
|
|
338
|
+
"⢋",
|
|
339
|
+
"⢌",
|
|
340
|
+
"⢍",
|
|
341
|
+
"⢎",
|
|
342
|
+
"⢏",
|
|
343
|
+
"⣈",
|
|
344
|
+
"⣉",
|
|
345
|
+
"⣊",
|
|
346
|
+
"⣋",
|
|
347
|
+
"⣌",
|
|
348
|
+
"⣍",
|
|
349
|
+
"⣎",
|
|
350
|
+
"⣏",
|
|
351
|
+
"⢐",
|
|
352
|
+
"⢑",
|
|
353
|
+
"⢒",
|
|
354
|
+
"⢓",
|
|
355
|
+
"⢔",
|
|
356
|
+
"⢕",
|
|
357
|
+
"⢖",
|
|
358
|
+
"⢗",
|
|
359
|
+
"⣐",
|
|
360
|
+
"⣑",
|
|
361
|
+
"⣒",
|
|
362
|
+
"⣓",
|
|
363
|
+
"⣔",
|
|
364
|
+
"⣕",
|
|
365
|
+
"⣖",
|
|
366
|
+
"⣗",
|
|
367
|
+
"⢘",
|
|
368
|
+
"⢙",
|
|
369
|
+
"⢚",
|
|
370
|
+
"⢛",
|
|
371
|
+
"⢜",
|
|
372
|
+
"⢝",
|
|
373
|
+
"⢞",
|
|
374
|
+
"⢟",
|
|
375
|
+
"⣘",
|
|
376
|
+
"⣙",
|
|
377
|
+
"⣚",
|
|
378
|
+
"⣛",
|
|
379
|
+
"⣜",
|
|
380
|
+
"⣝",
|
|
381
|
+
"⣞",
|
|
382
|
+
"⣟",
|
|
383
|
+
"⢠",
|
|
384
|
+
"⢡",
|
|
385
|
+
"⢢",
|
|
386
|
+
"⢣",
|
|
387
|
+
"⢤",
|
|
388
|
+
"⢥",
|
|
389
|
+
"⢦",
|
|
390
|
+
"⢧",
|
|
391
|
+
"⣠",
|
|
392
|
+
"⣡",
|
|
393
|
+
"⣢",
|
|
394
|
+
"⣣",
|
|
395
|
+
"⣤",
|
|
396
|
+
"⣥",
|
|
397
|
+
"⣦",
|
|
398
|
+
"⣧",
|
|
399
|
+
"⢨",
|
|
400
|
+
"⢩",
|
|
401
|
+
"⢪",
|
|
402
|
+
"⢫",
|
|
403
|
+
"⢬",
|
|
404
|
+
"⢭",
|
|
405
|
+
"⢮",
|
|
406
|
+
"⢯",
|
|
407
|
+
"⣨",
|
|
408
|
+
"⣩",
|
|
409
|
+
"⣪",
|
|
410
|
+
"⣫",
|
|
411
|
+
"⣬",
|
|
412
|
+
"⣭",
|
|
413
|
+
"⣮",
|
|
414
|
+
"⣯",
|
|
415
|
+
"⢰",
|
|
416
|
+
"⢱",
|
|
417
|
+
"⢲",
|
|
418
|
+
"⢳",
|
|
419
|
+
"⢴",
|
|
420
|
+
"⢵",
|
|
421
|
+
"⢶",
|
|
422
|
+
"⢷",
|
|
423
|
+
"⣰",
|
|
424
|
+
"⣱",
|
|
425
|
+
"⣲",
|
|
426
|
+
"⣳",
|
|
427
|
+
"⣴",
|
|
428
|
+
"⣵",
|
|
429
|
+
"⣶",
|
|
430
|
+
"⣷",
|
|
431
|
+
"⢸",
|
|
432
|
+
"⢹",
|
|
433
|
+
"⢺",
|
|
434
|
+
"⢻",
|
|
435
|
+
"⢼",
|
|
436
|
+
"⢽",
|
|
437
|
+
"⢾",
|
|
438
|
+
"⢿",
|
|
439
|
+
"⣸",
|
|
440
|
+
"⣹",
|
|
441
|
+
"⣺",
|
|
442
|
+
"⣻",
|
|
443
|
+
"⣼",
|
|
444
|
+
"⣽",
|
|
445
|
+
"⣾",
|
|
446
|
+
"⣿",
|
|
447
|
+
],
|
|
448
|
+
"dotsCircle": ["⢎ ", "⠎⠁", "⠊⠑", "⠈⠱", " ⡱", "⢀⡰", "⢄⡠", "⢆⡀"],
|
|
449
|
+
"sand": [
|
|
450
|
+
"⠁",
|
|
451
|
+
"⠂",
|
|
452
|
+
"⠄",
|
|
453
|
+
"⡀",
|
|
454
|
+
"⡈",
|
|
455
|
+
"⡐",
|
|
456
|
+
"⡠",
|
|
457
|
+
"⣀",
|
|
458
|
+
"⣁",
|
|
459
|
+
"⣂",
|
|
460
|
+
"⣄",
|
|
461
|
+
"⣌",
|
|
462
|
+
"⣔",
|
|
463
|
+
"⣤",
|
|
464
|
+
"⣥",
|
|
465
|
+
"⣦",
|
|
466
|
+
"⣮",
|
|
467
|
+
"⣶",
|
|
468
|
+
"⣷",
|
|
469
|
+
"⣿",
|
|
470
|
+
"⡿",
|
|
471
|
+
"⠿",
|
|
472
|
+
"⢟",
|
|
473
|
+
"⠟",
|
|
474
|
+
"⡛",
|
|
475
|
+
"⠛",
|
|
476
|
+
"⠫",
|
|
477
|
+
"⢋",
|
|
478
|
+
"⠋",
|
|
479
|
+
"⠍",
|
|
480
|
+
"⡉",
|
|
481
|
+
"⠉",
|
|
482
|
+
"⠑",
|
|
483
|
+
"⠡",
|
|
484
|
+
"⢁",
|
|
485
|
+
],
|
|
486
|
+
"line": ["-", "\\", "|", "/"],
|
|
487
|
+
"yapp": ["=D", "=)"],
|
|
488
|
+
"lol": ["=l", "=P"],
|
|
489
|
+
"smile": [":|", ":)"],
|
|
490
|
+
"bugs": ["🐛", "🐜", "🪲", "🐞", "🦗", "🪳", "🪰", "🦟"],
|
|
491
|
+
"line2": ["⠂", "-", "–", "—", "–", "-"],
|
|
492
|
+
"rollingLine": ["/ ", " - ", " \\ ", " |", " |", " \\ ", " - ", "/ "],
|
|
493
|
+
"pipe": ["┤", "┘", "┴", "└", "├", "┌", "┬", "┐"],
|
|
494
|
+
"simpleDots": [". ", ".. ", "...", " "],
|
|
495
|
+
"simpleDotsScrolling": [". ", ".. ", "...", " ..", " .", " "],
|
|
496
|
+
"flip": ["_", "_", "_", "-", "`", "`", "'", "´", "-", "_", "_", "_"],
|
|
497
|
+
"growVertical": ["▁", "▃", "▄", "▅", "▆", "▇", "▆", "▅", "▄", "▃"],
|
|
498
|
+
"growHorizontal": ["▏", "▎", "▍", "▌", "▋", "▊", "▉", "▊", "▋", "▌", "▍", "▎"],
|
|
499
|
+
"balloon": [" ", ".", "o", "O", "@", "*", " "],
|
|
500
|
+
"balloon2": [".", "o", "O", "°", "O", "o", "."],
|
|
501
|
+
"bounce": ["⠁", "⠂", "⠄", "⠂"],
|
|
502
|
+
"boxBounce": ["▖", "▘", "▝", "▗"],
|
|
503
|
+
"boxBounce2": ["▌", "▀", "▐", "▄"],
|
|
504
|
+
"triangle": ["◢", "◣", "◤", "◥"],
|
|
505
|
+
"binary": [
|
|
506
|
+
"010010",
|
|
507
|
+
"001100",
|
|
508
|
+
"100101",
|
|
509
|
+
"111010",
|
|
510
|
+
"111101",
|
|
511
|
+
"010111",
|
|
512
|
+
"101011",
|
|
513
|
+
"111000",
|
|
514
|
+
"110011",
|
|
515
|
+
"110101",
|
|
516
|
+
],
|
|
517
|
+
"arc": ["◜", "◠", "◝", "◞", "◡", "◟"],
|
|
518
|
+
"squareCorners": ["◰", "◳", "◲", "◱"],
|
|
519
|
+
"circleQuarters": ["◴", "◷", "◶", "◵"],
|
|
520
|
+
"circleHalves": ["◐", "◓", "◑", "◒"],
|
|
521
|
+
"toggle": ["⊶", "⊷"],
|
|
522
|
+
"toggle2": ["▫", "▪"],
|
|
523
|
+
"toggle3": ["□", "■"],
|
|
524
|
+
"toggle4": ["■", "□", "▪", "▫"],
|
|
525
|
+
"toggle5": ["▮", "▯"],
|
|
526
|
+
"toggle6": ["ဝ", "၀"],
|
|
527
|
+
"toggle7": ["⦾", "⦿"],
|
|
528
|
+
"toggle8": ["◍", "◌"],
|
|
529
|
+
"toggle9": ["◉", "◎"],
|
|
530
|
+
"toggle10": ["⧇", "⧆"],
|
|
531
|
+
"toggle11": ["☗", "☖"],
|
|
532
|
+
"arrow": ["←", "↖", "↑", "↗", "→", "↘", "↓", "↙"],
|
|
533
|
+
"arrowTrain": ["▹▹▹▹▹", "▸▹▹▹▹", "▹▸▹▹▹", "▹▹▸▹▹", "▹▹▹▸▹", "▹▹▹▹▸"],
|
|
534
|
+
"bouncingBar": [
|
|
535
|
+
"[ ]",
|
|
536
|
+
"[= ]",
|
|
537
|
+
"[== ]",
|
|
538
|
+
"[=== ]",
|
|
539
|
+
"[====]",
|
|
540
|
+
"[ ===]",
|
|
541
|
+
"[ ==]",
|
|
542
|
+
"[ =]",
|
|
543
|
+
"[ ]",
|
|
544
|
+
"[ =]",
|
|
545
|
+
"[ ==]",
|
|
546
|
+
"[ ===]",
|
|
547
|
+
"[====]",
|
|
548
|
+
"[=== ]",
|
|
549
|
+
"[== ]",
|
|
550
|
+
"[= ]",
|
|
551
|
+
],
|
|
552
|
+
"bouncingBall": [
|
|
553
|
+
"( ● )",
|
|
554
|
+
"( ● )",
|
|
555
|
+
"( ● )",
|
|
556
|
+
"( ● )",
|
|
557
|
+
"( ●)",
|
|
558
|
+
"( ● )",
|
|
559
|
+
"( ● )",
|
|
560
|
+
"( ● )",
|
|
561
|
+
"( ● )",
|
|
562
|
+
"(● )",
|
|
563
|
+
],
|
|
564
|
+
"monkey": ["🙈 ", "🙈 ", "🙉 ", "🙊 "],
|
|
565
|
+
"clock": [
|
|
566
|
+
"🕛 ",
|
|
567
|
+
"🕐 ",
|
|
568
|
+
"🕑 ",
|
|
569
|
+
"🕒 ",
|
|
570
|
+
"🕓 ",
|
|
571
|
+
"🕔 ",
|
|
572
|
+
"🕕 ",
|
|
573
|
+
"🕖 ",
|
|
574
|
+
"🕗 ",
|
|
575
|
+
"🕘 ",
|
|
576
|
+
"🕙 ",
|
|
577
|
+
"🕚 ",
|
|
578
|
+
],
|
|
579
|
+
"material": [
|
|
580
|
+
"█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
581
|
+
"██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
582
|
+
"███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
583
|
+
"████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
584
|
+
"██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
585
|
+
"██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
586
|
+
"███████▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
587
|
+
"████████▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
588
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
589
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
590
|
+
"██████████▁▁▁▁▁▁▁▁▁▁",
|
|
591
|
+
"███████████▁▁▁▁▁▁▁▁▁",
|
|
592
|
+
"█████████████▁▁▁▁▁▁▁",
|
|
593
|
+
"██████████████▁▁▁▁▁▁",
|
|
594
|
+
"██████████████▁▁▁▁▁▁",
|
|
595
|
+
"▁██████████████▁▁▁▁▁",
|
|
596
|
+
"▁██████████████▁▁▁▁▁",
|
|
597
|
+
"▁██████████████▁▁▁▁▁",
|
|
598
|
+
"▁▁██████████████▁▁▁▁",
|
|
599
|
+
"▁▁▁██████████████▁▁▁",
|
|
600
|
+
"▁▁▁▁█████████████▁▁▁",
|
|
601
|
+
"▁▁▁▁██████████████▁▁",
|
|
602
|
+
"▁▁▁▁██████████████▁▁",
|
|
603
|
+
"▁▁▁▁▁██████████████▁",
|
|
604
|
+
"▁▁▁▁▁██████████████▁",
|
|
605
|
+
"▁▁▁▁▁██████████████▁",
|
|
606
|
+
"▁▁▁▁▁▁██████████████",
|
|
607
|
+
"▁▁▁▁▁▁██████████████",
|
|
608
|
+
"▁▁▁▁▁▁▁█████████████",
|
|
609
|
+
"▁▁▁▁▁▁▁█████████████",
|
|
610
|
+
"▁▁▁▁▁▁▁▁████████████",
|
|
611
|
+
"▁▁▁▁▁▁▁▁████████████",
|
|
612
|
+
"▁▁▁▁▁▁▁▁▁███████████",
|
|
613
|
+
"▁▁▁▁▁▁▁▁▁███████████",
|
|
614
|
+
"▁▁▁▁▁▁▁▁▁▁██████████",
|
|
615
|
+
"▁▁▁▁▁▁▁▁▁▁██████████",
|
|
616
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁████████",
|
|
617
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
|
|
618
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████",
|
|
619
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
|
|
620
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
|
|
621
|
+
"█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
622
|
+
"██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
623
|
+
"██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
624
|
+
"███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
625
|
+
"████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
626
|
+
"█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
627
|
+
"█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
628
|
+
"██████▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
629
|
+
"████████▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
630
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
631
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
632
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
633
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
634
|
+
"███████████▁▁▁▁▁▁▁▁▁",
|
|
635
|
+
"████████████▁▁▁▁▁▁▁▁",
|
|
636
|
+
"████████████▁▁▁▁▁▁▁▁",
|
|
637
|
+
"██████████████▁▁▁▁▁▁",
|
|
638
|
+
"██████████████▁▁▁▁▁▁",
|
|
639
|
+
"▁██████████████▁▁▁▁▁",
|
|
640
|
+
"▁██████████████▁▁▁▁▁",
|
|
641
|
+
"▁▁▁█████████████▁▁▁▁",
|
|
642
|
+
"▁▁▁▁▁████████████▁▁▁",
|
|
643
|
+
"▁▁▁▁▁████████████▁▁▁",
|
|
644
|
+
"▁▁▁▁▁▁███████████▁▁▁",
|
|
645
|
+
"▁▁▁▁▁▁▁▁█████████▁▁▁",
|
|
646
|
+
"▁▁▁▁▁▁▁▁█████████▁▁▁",
|
|
647
|
+
"▁▁▁▁▁▁▁▁▁█████████▁▁",
|
|
648
|
+
"▁▁▁▁▁▁▁▁▁█████████▁▁",
|
|
649
|
+
"▁▁▁▁▁▁▁▁▁▁█████████▁",
|
|
650
|
+
"▁▁▁▁▁▁▁▁▁▁▁████████▁",
|
|
651
|
+
"▁▁▁▁▁▁▁▁▁▁▁████████▁",
|
|
652
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁███████▁",
|
|
653
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁███████▁",
|
|
654
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
|
|
655
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
|
|
656
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
|
|
657
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
658
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
659
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
660
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
661
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
662
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
663
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
664
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
665
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
666
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
667
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
668
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
669
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
670
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
671
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
672
|
+
],
|
|
673
|
+
"moon": ["🌑 ", "🌒 ", "🌓 ", "🌔 ", "🌕 ", "🌖 ", "🌗 ", "🌘 "],
|
|
674
|
+
"runner": ["🚶 ", "🏃 "],
|
|
675
|
+
"pong": [
|
|
676
|
+
"▐⠂ ▌",
|
|
677
|
+
"▐⠈ ▌",
|
|
678
|
+
"▐ ⠂ ▌",
|
|
679
|
+
"▐ ⠠ ▌",
|
|
680
|
+
"▐ ⡀ ▌",
|
|
681
|
+
"▐ ⠠ ▌",
|
|
682
|
+
"▐ ⠂ ▌",
|
|
683
|
+
"▐ ⠈ ▌",
|
|
684
|
+
"▐ ⠂ ▌",
|
|
685
|
+
"▐ ⠠ ▌",
|
|
686
|
+
"▐ ⡀ ▌",
|
|
687
|
+
"▐ ⠠ ▌",
|
|
688
|
+
"▐ ⠂ ▌",
|
|
689
|
+
"▐ ⠈ ▌",
|
|
690
|
+
"▐ ⠂▌",
|
|
691
|
+
"▐ ⠠▌",
|
|
692
|
+
"▐ ⡀▌",
|
|
693
|
+
"▐ ⠠ ▌",
|
|
694
|
+
"▐ ⠂ ▌",
|
|
695
|
+
"▐ ⠈ ▌",
|
|
696
|
+
"▐ ⠂ ▌",
|
|
697
|
+
"▐ ⠠ ▌",
|
|
698
|
+
"▐ ⡀ ▌",
|
|
699
|
+
"▐ ⠠ ▌",
|
|
700
|
+
"▐ ⠂ ▌",
|
|
701
|
+
"▐ ⠈ ▌",
|
|
702
|
+
"▐ ⠂ ▌",
|
|
703
|
+
"▐ ⠠ ▌",
|
|
704
|
+
"▐ ⡀ ▌",
|
|
705
|
+
"▐⠠ ▌",
|
|
706
|
+
],
|
|
707
|
+
"shark": [
|
|
708
|
+
"▐|\\____________▌",
|
|
709
|
+
"▐_|\\___________▌",
|
|
710
|
+
"▐__|\\__________▌",
|
|
711
|
+
"▐___|\\_________▌",
|
|
712
|
+
"▐____|\\________▌",
|
|
713
|
+
"▐_____|\\_______▌",
|
|
714
|
+
"▐______|\\______▌",
|
|
715
|
+
"▐_______|\\_____▌",
|
|
716
|
+
"▐________|\\____▌",
|
|
717
|
+
"▐_________|\\___▌",
|
|
718
|
+
"▐__________|\\__▌",
|
|
719
|
+
"▐___________|\\_▌",
|
|
720
|
+
"▐____________|\\▌",
|
|
721
|
+
"▐____________/|▌",
|
|
722
|
+
"▐___________/|_▌",
|
|
723
|
+
"▐__________/|__▌",
|
|
724
|
+
"▐_________/|___▌",
|
|
725
|
+
"▐________/|____▌",
|
|
726
|
+
"▐_______/|_____▌",
|
|
727
|
+
"▐______/|______▌",
|
|
728
|
+
"▐_____/|_______▌",
|
|
729
|
+
"▐____/|________▌",
|
|
730
|
+
"▐___/|_________▌",
|
|
731
|
+
"▐__/|__________▌",
|
|
732
|
+
"▐_/|___________▌",
|
|
733
|
+
"▐/|____________▌",
|
|
734
|
+
],
|
|
735
|
+
"point": ["∙∙∙", "●∙∙", "∙●∙", "∙∙●", "∙∙∙"],
|
|
736
|
+
"layer": ["-", "=", "≡"],
|
|
737
|
+
"fingerDance": ["🤘 ", "🤟 ", "🖖 ", "✋ ", "🤚 ", "👆 "],
|
|
738
|
+
"fistBump": [
|
|
739
|
+
"🤜\u3000\u3000\u3000\u3000🤛 ",
|
|
740
|
+
"🤜\u3000\u3000\u3000\u3000🤛 ",
|
|
741
|
+
"🤜\u3000\u3000\u3000\u3000🤛 ",
|
|
742
|
+
"\u3000🤜\u3000\u3000🤛\u3000 ",
|
|
743
|
+
"\u3000\u3000🤜🤛\u3000\u3000 ",
|
|
744
|
+
"\u3000🤜✨🤛\u3000\u3000 ",
|
|
745
|
+
"🤜\u3000✨\u3000🤛\u3000 ",
|
|
746
|
+
],
|
|
747
|
+
"soccerHeader": [
|
|
748
|
+
" 🧑⚽️ 🧑 ",
|
|
749
|
+
"🧑 ⚽️ 🧑 ",
|
|
750
|
+
"🧑 ⚽️ 🧑 ",
|
|
751
|
+
"🧑 ⚽️ 🧑 ",
|
|
752
|
+
"🧑 ⚽️ 🧑 ",
|
|
753
|
+
"🧑 ⚽️ 🧑 ",
|
|
754
|
+
"🧑 ⚽️🧑 ",
|
|
755
|
+
"🧑 ⚽️ 🧑 ",
|
|
756
|
+
"🧑 ⚽️ 🧑 ",
|
|
757
|
+
"🧑 ⚽️ 🧑 ",
|
|
758
|
+
"🧑 ⚽️ 🧑 ",
|
|
759
|
+
"🧑 ⚽️ 🧑 ",
|
|
760
|
+
],
|
|
761
|
+
"backTime": [
|
|
762
|
+
"🕛 ",
|
|
763
|
+
"🕚 ",
|
|
764
|
+
"🕙 ",
|
|
765
|
+
"🕘 ",
|
|
766
|
+
"🕗 ",
|
|
767
|
+
"🕖 ",
|
|
768
|
+
"🕕 ",
|
|
769
|
+
"🕔 ",
|
|
770
|
+
"🕓 ",
|
|
771
|
+
"🕒 ",
|
|
772
|
+
"🕑 ",
|
|
773
|
+
"🕐 ",
|
|
774
|
+
],
|
|
775
|
+
"status": [
|
|
776
|
+
"▰▱▱▱▱▱▱",
|
|
777
|
+
"▰▰▱▱▱▱▱",
|
|
778
|
+
"▰▰▰▱▱▱▱",
|
|
779
|
+
"▰▰▰▰▱▱▱",
|
|
780
|
+
"▰▰▰▰▰▱▱",
|
|
781
|
+
"▰▰▰▰▰▰▱",
|
|
782
|
+
"▰▰▰▰▰▰▰",
|
|
783
|
+
"▰▰▰▰▰▰▱",
|
|
784
|
+
"▰▰▰▰▰▱▱",
|
|
785
|
+
"▰▰▰▰▱▱▱",
|
|
786
|
+
"▰▰▰▱▱▱▱",
|
|
787
|
+
"▰▰▱▱▱▱▱",
|
|
788
|
+
],
|
|
789
|
+
"crash": [
|
|
790
|
+
"▰▱▱▱▱▱▱▰",
|
|
791
|
+
"▰▰▱▱▱▱▰▰",
|
|
792
|
+
"▰▰▰▱▱▰▰▰",
|
|
793
|
+
"▰▰▰▰▰▰▰▰",
|
|
794
|
+
"▰▰▰▱▱▰▰▰",
|
|
795
|
+
"▰▰▱▱▱▱▰▰",
|
|
796
|
+
],
|
|
797
|
+
"fish": [
|
|
798
|
+
"~~~~~~~~~~~~~~~~~~~~",
|
|
799
|
+
"> ~~~~~~~~~~~~~~~~~~",
|
|
800
|
+
"º> ~~~~~~~~~~~~~~~~~",
|
|
801
|
+
"(º> ~~~~~~~~~~~~~~~~",
|
|
802
|
+
"((º> ~~~~~~~~~~~~~~~",
|
|
803
|
+
"<((º> ~~~~~~~~~~~~~~",
|
|
804
|
+
"><((º> ~~~~~~~~~~~~~",
|
|
805
|
+
" ><((º> ~~~~~~~~~~~~",
|
|
806
|
+
"~ ><((º> ~~~~~~~~~~~",
|
|
807
|
+
"~~ <>((º> ~~~~~~~~~~",
|
|
808
|
+
"~~~ ><((º> ~~~~~~~~~",
|
|
809
|
+
"~~~~ <>((º> ~~~~~~~~",
|
|
810
|
+
"~~~~~ ><((º> ~~~~~~~",
|
|
811
|
+
"~~~~~~ <>((º> ~~~~~~",
|
|
812
|
+
"~~~~~~~ ><((º> ~~~~~",
|
|
813
|
+
"~~~~~~~~ <>((º> ~~~~",
|
|
814
|
+
"~~~~~~~~~ ><((º> ~~~",
|
|
815
|
+
"~~~~~~~~~~ <>((º> ~~",
|
|
816
|
+
"~~~~~~~~~~~ ><((º> ~",
|
|
817
|
+
"~~~~~~~~~~~~ <>((º> ",
|
|
818
|
+
"~~~~~~~~~~~~~ ><((º>",
|
|
819
|
+
"~~~~~~~~~~~~~~ <>((º",
|
|
820
|
+
"~~~~~~~~~~~~~~~ ><((",
|
|
821
|
+
"~~~~~~~~~~~~~~~~ <>(",
|
|
822
|
+
"~~~~~~~~~~~~~~~~~ ><",
|
|
823
|
+
"~~~~~~~~~~~~~~~~~~ <",
|
|
824
|
+
"~~~~~~~~~~~~~~~~~~~~",
|
|
825
|
+
],
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
# Frames
|
|
829
|
+
frames = SPINNERS["dots"]
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
class Spinner:
|
|
833
|
+
def __init__(
|
|
834
|
+
self,
|
|
835
|
+
text="Loading...",
|
|
836
|
+
spinner="dots",
|
|
837
|
+
delay=0.08,
|
|
838
|
+
custom_frames=None,
|
|
839
|
+
):
|
|
840
|
+
if custom_frames is None:
|
|
841
|
+
if spinner not in SPINNERS:
|
|
842
|
+
raise ValueError(f"Unknown spinner {spinner!r}. Choose a valid one.")
|
|
843
|
+
selected_frames = SPINNERS[spinner]
|
|
844
|
+
else:
|
|
845
|
+
if isinstance(custom_frames, str):
|
|
846
|
+
selected_frames = list(custom_frames)
|
|
847
|
+
else:
|
|
848
|
+
selected_frames = list(custom_frames)
|
|
849
|
+
if not selected_frames:
|
|
850
|
+
raise ValueError("Custom frames cannot be empty.")
|
|
851
|
+
|
|
852
|
+
self.text = text
|
|
853
|
+
self.frames = selected_frames
|
|
854
|
+
self.delay = delay
|
|
855
|
+
self._stop = threading.Event()
|
|
856
|
+
self._thread = None
|
|
857
|
+
|
|
858
|
+
def _run(self):
|
|
859
|
+
frame_index = 0
|
|
860
|
+
while not self._stop.is_set():
|
|
861
|
+
frame = self.frames[frame_index % len(self.frames)]
|
|
862
|
+
frame_index += 1
|
|
863
|
+
if self._stop.is_set():
|
|
864
|
+
break
|
|
865
|
+
sys.stdout.write(f"\r{frame} {self.text}")
|
|
866
|
+
sys.stdout.flush()
|
|
867
|
+
self._stop.wait(self.delay)
|
|
868
|
+
|
|
869
|
+
def start(self):
|
|
870
|
+
self._stop.clear()
|
|
871
|
+
self._thread = threading.Thread(target=self._run, daemon=True)
|
|
872
|
+
self._thread.start()
|
|
873
|
+
return self
|
|
874
|
+
|
|
875
|
+
def stop(self):
|
|
876
|
+
self._stop.set()
|
|
877
|
+
if self._thread is not None:
|
|
878
|
+
self._thread.join()
|
|
879
|
+
sys.stdout.write("\r\033[K")
|
|
880
|
+
sys.stdout.flush()
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
@contextmanager
|
|
884
|
+
def spinner(
|
|
885
|
+
text="Working...",
|
|
886
|
+
spinner="dots",
|
|
887
|
+
delay=0.08,
|
|
888
|
+
custom_frames=None,
|
|
889
|
+
):
|
|
890
|
+
"""Create and Run a spinner"""
|
|
891
|
+
instance = Spinner(text, spinner, delay, custom_frames).start()
|
|
892
|
+
try:
|
|
893
|
+
yield instance
|
|
894
|
+
finally:
|
|
895
|
+
instance.stop()
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
if __name__ == "__main__":
|
|
899
|
+
print("""
|
|
900
|
+
Spinnerz by QuickMash
|
|
901
|
+
|
|
902
|
+
This Module Cannot Be Ran Standalone.
|
|
903
|
+
""")
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: spinnerz
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A collection of terminal spinners for Python
|
|
5
|
+
Author: QuickMash (Tanner Curr)
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Keywords: cli,progress,spinner,terminal
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
+
Classifier: Topic :: Terminals
|
|
19
|
+
Requires-Python: >=3.9
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
# Spinnerz
|
|
23
|
+
|
|
24
|
+
Spinnerz provides animated terminal spinners for Python command-line applications. And it looks cool!
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
pip install spinnerz
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
|
|
34
|
+
```python
|
|
35
|
+
from spinnerz import Spinner, spinner
|
|
36
|
+
|
|
37
|
+
# Start and stop a spinner manually
|
|
38
|
+
loading = Spinner("Loading...", spinner="dots10")
|
|
39
|
+
loading.start()
|
|
40
|
+
# Do work here
|
|
41
|
+
loading.stop()
|
|
42
|
+
|
|
43
|
+
# Or use it as a context manager ()
|
|
44
|
+
with spinner("Processing the meaning of life...", spinner="bouncingBall"):
|
|
45
|
+
time.sleep(10) # load for 10 seconds
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Available spinners
|
|
49
|
+
|
|
50
|
+
Here are some directly out of the module.
|
|
51
|
+
```python
|
|
52
|
+
SPINNERS = {
|
|
53
|
+
"dots": ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"],
|
|
54
|
+
"dots2": ["⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"],
|
|
55
|
+
"dots3": ["⠋", "⠙", "⠚", "⠞", "⠖", "⠦", "⠴", "⠲", "⠳", "⠓"],
|
|
56
|
+
"dots4": ["⠄", "⠆", "⠇", "⠋", "⠙", "⠸", "⠰", "⠠", "⠰", "⠸", "⠙", "⠋", "⠇", "⠆"],
|
|
57
|
+
"dots5": ["⠋", "⠙", "⠚", "⠒", "⠂", "⠂", "⠒", "⠲", "⠴", "⠦", "⠖", "⠒", "⠐", "⠐", "⠒", "⠓", "⠋"],
|
|
58
|
+
"dots6": ["⠁", "⠉", "⠙", "⠚", "⠒", "⠂", "⠂", "⠒", "⠲", "⠴", "⠤", "⠄", "⠄", "⠤", "⠴", "⠲", "⠒", "⠂", "⠂", "⠒", "⠚", "⠙", "⠉", "⠁"],
|
|
59
|
+
"dots7": ["⠈", "⠉", "⠋", "⠓", "⠒", "⠐", "⠐", "⠒", "⠖", "⠦", "⠤", "⠠", "⠠", "⠤", "⠦", "⠖", "⠒", "⠐", "⠐", "⠒", "⠓", "⠋", "⠉", "⠈"],
|
|
60
|
+
"dots8": ["⠁", "⠁", "⠉", "⠙", "⠚", "⠒", "⠂", "⠂", "⠒", "⠲", "⠴", "⠤", "⠄", "⠄", "⠤", "⠠", "⠠", "⠤", "⠦", "⠖", "⠒", "⠐", "⠐", "⠒", "⠓", "⠋", "⠉", "⠈", "⠈"],
|
|
61
|
+
"dots9": ["⢹", "⢺", "⢼", "⣸", "⣇", "⡧", "⡗", "⡏"],
|
|
62
|
+
"dots10": ["⢄", "⢂", "⢁", "⡁", "⡈", "⡐", "⡠"],
|
|
63
|
+
"dots11": ["⠁", "⠂", "⠄", "⡀", "⢀", "⠠", "⠐", "⠈"],
|
|
64
|
+
"dots12": ["⢀⠀", "⡀⠀", "⠄⠀", "⢂⠀", "⡂⠀", "⠅⠀", "⢃⠀", "⡃⠀", "⠍⠀", "⢋⠀", "⡋⠀", "⠍⠁", "⢋⠁", "⡋⠁", "⠍⠉", "⠋⠉", "⠋⠉", "⠉⠙", "⠉⠙", "⠉⠩", "⠈⢙", "⠈⡙", "⢈⠩", "⡀⢙", "⠄⡙", "⢂⠩", "⡂⢘", "⠅⡘", "⢃⠨", "⡃⢐", "⠍⡐", "⢋⠠", "⡋⢀", "⠍⡁", "⢋⠁", "⡋⠁", "⠍⠉", "⠋⠉", "⠋⠉", "⠉⠙", "⠉⠙", "⠉⠩", "⠈⢙", "⠈⡙", "⠈⠩", "⠀⢙", "⠀⡙", "⠀⠩", "⠀⢘", "⠀⡘", "⠀⠨", "⠀⢐", "⠀⡐", "⠀⠠", "⠀⢀", "⠀⡀"],
|
|
65
|
+
"dots13": ["⣼", "⣹", "⢻", "⠿", "⡟", "⣏", "⣧", "⣶"],
|
|
66
|
+
"dots14": ["⠉⠉", "⠈⠙", "⠀⠹", "⠀⢸", "⠀⣰", "⢀⣠", "⣀⣀", "⣄⡀", "⣆⠀", "⡇⠀", "⠏⠀", "⠋⠁"],
|
|
67
|
+
"dots8Bit": ["⠀", "⠁", "⠂", "⠃", "⠄", "⠅", "⠆", "⠇", "⡀", "⡁", "⡂", "⡃", "⡄", "⡅", "⡆", "⡇", "⠈", "⠉", "⠊", "⠋", "⠌", "⠍", "⠎", "⠏", "⡈", "⡉", "⡊", "⡋", "⡌", "⡍", "⡎", "⡏", "⠐", "⠑", "⠒", "⠓", "⠔", "⠕", "⠖", "⠗", "⡐", "⡑", "⡒", "⡓", "⡔", "⡕", "⡖", "⡗", "⠘", "⠙", "⠚", "⠛", "⠜", "⠝", "⠞", "⠟", "⡘", "⡙", "⡚", "⡛", "⡜", "⡝", "⡞", "⡟", "⠠", "⠡", "⠢", "⠣", "⠤", "⠥", "⠦", "⠧", "⡠", "⡡", "⡢", "⡣", "⡤", "⡥", "⡦", "⡧", "⠨", "⠩", "⠪", "⠫", "⠬", "⠭", "⠮", "⠯", "⡨", "⡩", "⡪", "⡫", "⡬", "⡭", "⡮", "⡯", "⠰", "⠱", "⠲", "⠳", "⠴", "⠵", "⠶", "⠷", "⡰", "⡱", "⡲", "⡳", "⡴", "⡵", "⡶", "⡷", "⠸", "⠹", "⠺", "⠻", "⠼", "⠽", "⠾", "⠿", "⡸", "⡹", "⡺", "⡻", "⡼", "⡽", "⡾", "⡿", "⢀", "⢁", "⢂", "⢃", "⢄", "⢅", "⢆", "⢇", "⣀", "⣁", "⣂", "⣃", "⣄", "⣅", "⣆", "⣇", "⢈", "⢉", "⢊", "⢋", "⢌", "⢍", "⢎", "⢏", "⣈", "⣉", "⣊", "⣋", "⣌", "⣍", "⣎", "⣏", "⢐", "⢑", "⢒", "⢓", "⢔", "⢕", "⢖", "⢗", "⣐", "⣑", "⣒", "⣓", "⣔", "⣕", "⣖", "⣗", "⢘", "⢙", "⢚", "⢛", "⢜", "⢝", "⢞", "⢟", "⣘", "⣙", "⣚", "⣛", "⣜", "⣝", "⣞", "⣟", "⢠", "⢡", "⢢", "⢣", "⢤", "⢥", "⢦", "⢧", "⣠", "⣡", "⣢", "⣣", "⣤", "⣥", "⣦", "⣧", "⢨", "⢩", "⢪", "⢫", "⢬", "⢭", "⢮", "⢯", "⣨", "⣩", "⣪", "⣫", "⣬", "⣭", "⣮", "⣯", "⢰", "⢱", "⢲", "⢳", "⢴", "⢵", "⢶", "⢷", "⣰", "⣱", "⣲", "⣳", "⣴", "⣵", "⣶", "⣷", "⢸", "⢹", "⢺", "⢻", "⢼", "⢽", "⢾", "⢿", "⣸", "⣹", "⣺", "⣻", "⣼", "⣽", "⣾", "⣿"],
|
|
68
|
+
"dotsCircle": ["⢎ ", "⠎⠁", "⠊⠑", "⠈⠱", " ⡱", "⢀⡰", "⢄⡠", "⢆⡀"],
|
|
69
|
+
"sand": ["⠁", "⠂", "⠄", "⡀", "⡈", "⡐", "⡠", "⣀", "⣁", "⣂", "⣄", "⣌", "⣔", "⣤", "⣥", "⣦", "⣮", "⣶", "⣷", "⣿", "⡿", "⠿", "⢟", "⠟", "⡛", "⠛", "⠫", "⢋", "⠋", "⠍", "⡉", "⠉", "⠑", "⠡", "⢁"],
|
|
70
|
+
"line": ["-", "\\", "|", "/"],
|
|
71
|
+
"yapp": ["=D", "=)"],
|
|
72
|
+
"lol": ["=l", "=P"],
|
|
73
|
+
"smile": [":|", ":)"],
|
|
74
|
+
"bugs": ["🐛", "🐜", "🪲", "🐞", "🦗", "🪳", "🪰", "🦟"],
|
|
75
|
+
"line2": ["⠂", "-", "–", "—", "–", "-"],
|
|
76
|
+
"rollingLine": ["/ ", " - ", " \\ ", " |", " |", " \\ ", " - ", "/ "],
|
|
77
|
+
"pipe": ["┤", "┘", "┴", "└", "├", "┌", "┬", "┐"],
|
|
78
|
+
"simpleDots": [". ", ".. ", "...", " "],
|
|
79
|
+
"simpleDotsScrolling": [". ", ".. ", "...", " ..", " .", " "],
|
|
80
|
+
"flip": ["_", "_", "_", "-", "`", "`", "'", "´", "-", "_", "_", "_"],
|
|
81
|
+
"growVertical": ["▁", "▃", "▄", "▅", "▆", "▇", "▆", "▅", "▄", "▃"],
|
|
82
|
+
"growHorizontal": ["▏", "▎", "▍", "▌", "▋", "▊", "▉", "▊", "▋", "▌", "▍", "▎"],
|
|
83
|
+
"balloon": [" ", ".", "o", "O", "@", "*", " "],
|
|
84
|
+
"balloon2": [".", "o", "O", "°", "O", "o", "."],
|
|
85
|
+
"bounce": ["⠁", "⠂", "⠄", "⠂"],
|
|
86
|
+
"boxBounce": ["▖", "▘", "▝", "▗"],
|
|
87
|
+
"boxBounce2": ["▌", "▀", "▐", "▄"],
|
|
88
|
+
"triangle": ["◢", "◣", "◤", "◥"],
|
|
89
|
+
"binary": ["010010", "001100", "100101", "111010", "111101", "010111", "101011", "111000", "110011", "110101"],
|
|
90
|
+
"arc": ["◜", "◠", "◝", "◞", "◡", "◟"],
|
|
91
|
+
"squareCorners": ["◰", "◳", "◲", "◱"],
|
|
92
|
+
"circleQuarters": ["◴", "◷", "◶", "◵"],
|
|
93
|
+
"circleHalves": ["◐", "◓", "◑", "◒"],
|
|
94
|
+
"toggle": ["⊶", "⊷"],
|
|
95
|
+
"toggle2": ["▫", "▪"],
|
|
96
|
+
"toggle3": ["□", "■"],
|
|
97
|
+
"toggle4": ["■", "□", "▪", "▫"],
|
|
98
|
+
"toggle5": ["▮", "▯"],
|
|
99
|
+
"toggle6": ["ဝ", "၀"],
|
|
100
|
+
"toggle7": ["⦾", "⦿"],
|
|
101
|
+
"toggle8": ["◍", "◌"],
|
|
102
|
+
"toggle9": ["◉", "◎"],
|
|
103
|
+
"toggle10": ["⧇", "⧆"],
|
|
104
|
+
"toggle11": ["☗", "☖"],
|
|
105
|
+
"arrow": ["←", "↖", "↑", "↗", "→", "↘", "↓", "↙"],
|
|
106
|
+
"arrowTrain": ["▹▹▹▹▹", "▸▹▹▹▹", "▹▸▹▹▹", "▹▹▸▹▹", "▹▹▹▸▹", "▹▹▹▹▸"],
|
|
107
|
+
"bouncingBar": ["[ ]", "[= ]", "[== ]", "[=== ]", "[====]", "[ ===]", "[ ==]", "[ =]", "[ ]", "[ =]", "[ ==]", "[ ===]", "[====]", "[=== ]", "[== ]", "[= ]"],
|
|
108
|
+
"bouncingBall": ["( ● )", "( ● )", "( ● )", "( ● )", "( ●)", "( ● )", "( ● )", "( ● )", "( ● )", "(● )"],
|
|
109
|
+
"monkey": ["🙈 ", "🙈 ", "🙉 ", "🙊 "],
|
|
110
|
+
"clock": ["🕛 ", "🕐 ", "🕑 ", "🕒 ", "🕓 ", "🕔 ", "🕕 ", "🕖 ", "🕗 ", "🕘 ", "🕙 ", "🕚 "],
|
|
111
|
+
"material": [
|
|
112
|
+
"█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", "███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", "████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
113
|
+
"██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁", "██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁", "███████▁▁▁▁▁▁▁▁▁▁▁▁▁", "████████▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
114
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁", "█████████▁▁▁▁▁▁▁▁▁▁▁", "██████████▁▁▁▁▁▁▁▁▁▁", "███████████▁▁▁▁▁▁▁▁▁",
|
|
115
|
+
"█████████████▁▁▁▁▁▁▁", "██████████████▁▁▁▁▁▁", "██████████████▁▁▁▁▁▁", "▁██████████████▁▁▁▁▁",
|
|
116
|
+
"▁██████████████▁▁▁▁▁", "▁██████████████▁▁▁▁▁", "▁▁██████████████▁▁▁▁", "▁▁▁██████████████▁▁▁",
|
|
117
|
+
"▁▁▁▁█████████████▁▁▁", "▁▁▁▁██████████████▁▁", "▁▁▁▁██████████████▁▁", "▁▁▁▁▁██████████████▁",
|
|
118
|
+
"▁▁▁▁▁██████████████▁", "▁▁▁▁▁██████████████▁", "▁▁▁▁▁▁██████████████", "▁▁▁▁▁▁██████████████",
|
|
119
|
+
"▁▁▁▁▁▁▁█████████████", "▁▁▁▁▁▁▁█████████████", "▁▁▁▁▁▁▁▁████████████", "▁▁▁▁▁▁▁▁████████████",
|
|
120
|
+
"▁▁▁▁▁▁▁▁▁███████████", "▁▁▁▁▁▁▁▁▁███████████", "▁▁▁▁▁▁▁▁▁▁██████████", "▁▁▁▁▁▁▁▁▁▁██████████",
|
|
121
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁████████", "▁▁▁▁▁▁▁▁▁▁▁▁▁███████", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
|
|
122
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████", "█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████", "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
123
|
+
"███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", "████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██", "█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█", "█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
124
|
+
"██████▁▁▁▁▁▁▁▁▁▁▁▁▁█", "████████▁▁▁▁▁▁▁▁▁▁▁▁", "█████████▁▁▁▁▁▁▁▁▁▁▁", "█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
125
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁", "█████████▁▁▁▁▁▁▁▁▁▁▁", "███████████▁▁▁▁▁▁▁▁▁", "████████████▁▁▁▁▁▁▁▁",
|
|
126
|
+
"████████████▁▁▁▁▁▁▁▁", "██████████████▁▁▁▁▁▁", "██████████████▁▁▁▁▁▁", "▁██████████████▁▁▁▁▁",
|
|
127
|
+
"▁██████████████▁▁▁▁▁", "▁▁▁█████████████▁▁▁▁", "▁▁▁▁▁████████████▁▁▁", "▁▁▁▁▁████████████▁▁▁",
|
|
128
|
+
"▁▁▁▁▁▁███████████▁▁▁", "▁▁▁▁▁▁▁▁█████████▁▁▁", "▁▁▁▁▁▁▁▁█████████▁▁▁", "▁▁▁▁▁▁▁▁▁█████████▁▁",
|
|
129
|
+
"▁▁▁▁▁▁▁▁▁█████████▁▁", "▁▁▁▁▁▁▁▁▁▁█████████▁", "▁▁▁▁▁▁▁▁▁▁▁████████▁", "▁▁▁▁▁▁▁▁▁▁▁████████▁",
|
|
130
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁███████▁", "▁▁▁▁▁▁▁▁▁▁▁▁███████▁", "▁▁▁▁▁▁▁▁▁▁▁▁▁███████", "▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
|
|
131
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
132
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
133
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
134
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
135
|
+
],
|
|
136
|
+
"moon": ["🌑 ", "🌒 ", "🌓 ", "🌔 ", "🌕 ", "🌖 ", "🌗 ", "🌘 "],
|
|
137
|
+
"runner": ["🚶 ", "🏃 "],
|
|
138
|
+
"pong": ["▐⠂ ▌", "▐⠈ ▌", "▐ ⠂ ▌", "▐ ⠠ ▌", "▐ ⡀ ▌", "▐ ⠠ ▌", "▐ ⠂ ▌", "▐ ⠈ ▌", "▐ ⠂ ▌", "▐ ⠠ ▌", "▐ ⡀ ▌", "▐ ⠠ ▌", "▐ ⠂ ▌", "▐ ⠈ ▌", "▐ ⠂▌", "▐ ⠠▌", "▐ ⡀▌", "▐ ⠠ ▌", "▐ ⠂ ▌", "▐ ⠈ ▌", "▐ ⠂ ▌", "▐ ⠠ ▌", "▐ ⡀ ▌", "▐ ⠠ ▌", "▐ ⠂ ▌", "▐ ⠈ ▌", "▐ ⠂ ▌", "▐ ⠠ ▌", "▐ ⡀ ▌", "▐⠠ ▌"],
|
|
139
|
+
"shark": ["▐|\\____________▌", "▐_|\\___________▌", "▐__|\\__________▌", "▐___|\\_________▌", "▐____|\\________▌", "▐_____|\\_______▌", "▐______|\\______▌", "▐_______|\\_____▌", "▐________|\\____▌", "▐_________|\\___▌", "▐__________|\\__▌", "▐___________|\\_▌", "▐____________|\\▌", "▐____________/|▌", "▐___________/|_▌", "▐__________/|__▌", "▐_________/|___▌", "▐________/|____▌", "▐_______/|_____▌", "▐______/|______▌", "▐_____/|_______▌", "▐____/|________▌", "▐___/|_________▌", "▐__/|__________▌", "▐_/|___________▌", "▐/|____________▌"],
|
|
140
|
+
"point": ["∙∙∙", "●∙∙", "∙●∙", "∙∙●", "∙∙∙"],
|
|
141
|
+
"layer": ["-", "=", "≡"],
|
|
142
|
+
"fingerDance": ["🤘 ", "🤟 ", "🖖 ", "✋ ", "🤚 ", "👆 "],
|
|
143
|
+
"fistBump": ["🤜\u3000\u3000\u3000\u3000🤛 ", "🤜\u3000\u3000\u3000\u3000🤛 ", "🤜\u3000\u3000\u3000\u3000🤛 ", "\u3000🤜\u3000\u3000🤛\u3000 ", "\u3000\u3000🤜🤛\u3000\u3000 ", "\u3000🤜✨🤛\u3000\u3000 ", "🤜\u3000✨\u3000🤛\u3000 "],
|
|
144
|
+
"soccerHeader": [" 🧑⚽️ 🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️ 🧑 ", "🧑 ⚽️ 🧑 "],
|
|
145
|
+
"backTime": ["🕛 ", "🕚 ", "🕙 ", "🕘 ", "🕗 ", "🕖 ", "🕕 ", "🕔 ", "🕓 ", "🕒 ", "🕑 ", "🕐 "],
|
|
146
|
+
"status": ["▰▱▱▱▱▱▱", "▰▰▱▱▱▱▱", "▰▰▰▱▱▱▱", "▰▰▰▰▱▱▱", "▰▰▰▰▰▱▱", "▰▰▰▰▰▰▱", "▰▰▰▰▰▰▰", "▰▰▰▰▰▰▱", "▰▰▰▰▰▱▱", "▰▰▰▰▱▱▱", "▰▰▰▱▱▱▱", "▰▰▱▱▱▱▱"],
|
|
147
|
+
"crash": ["▰▱▱▱▱▱▱▰", "▰▰▱▱▱▱▰▰", "▰▰▰▱▱▰▰▰", "▰▰▰▰▰▰▰▰", "▰▰▰▱▱▰▰▰", "▰▰▱▱▱▱▰▰"],
|
|
148
|
+
"fish": ["~~~~~~~~~~~~~~~~~~~~", "> ~~~~~~~~~~~~~~~~~~", "º> ~~~~~~~~~~~~~~~~~", "(º> ~~~~~~~~~~~~~~~~", "((º> ~~~~~~~~~~~~~~~", "<((º> ~~~~~~~~~~~~~~", "><((º> ~~~~~~~~~~~~~", " ><((º> ~~~~~~~~~~~~", "~ ><((º> ~~~~~~~~~~~", "~~ <>((º> ~~~~~~~~~~", "~~~ ><((º> ~~~~~~~~~", "~~~~ <>((º> ~~~~~~~~", "~~~~~ ><((º> ~~~~~~~", "~~~~~~ <>((º> ~~~~~~", "~~~~~~~ ><((º> ~~~~~", "~~~~~~~~ <>((º> ~~~~", "~~~~~~~~~ ><((º> ~~~", "~~~~~~~~~~ <>((º> ~~", "~~~~~~~~~~~ ><((º> ~", "~~~~~~~~~~~~ <>((º> ", "~~~~~~~~~~~~~ ><((º>", "~~~~~~~~~~~~~~ <>((º", "~~~~~~~~~~~~~~~ ><((", "~~~~~~~~~~~~~~~~ <>(", "~~~~~~~~~~~~~~~~~ ><", "~~~~~~~~~~~~~~~~~~ <", "~~~~~~~~~~~~~~~~~~~~"],
|
|
149
|
+
}
|
|
150
|
+
```
|
|
151
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
spinnerz/__init__.py,sha256=PPDEWdokCq4Is7i395aOSDXgNuzgVtttUuTB2MZ-zGs,266
|
|
2
|
+
spinnerz/main.py,sha256=tbm_anQwGJD6dsZzES3sVa0iM7tj8qRA84aXxfPU8dU,25318
|
|
3
|
+
spinnerz-0.1.0.dist-info/METADATA,sha256=I0z274mmmHcHlvKdpqcP4B3SlfRUg8wkAyQ1zeA9XnY,17704
|
|
4
|
+
spinnerz-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
5
|
+
spinnerz-0.1.0.dist-info/licenses/LICENSE,sha256=Fk3n7f9GKzzeVEs7w_MIUlzjBtg-QbOnBj9iF2Vv24I,1080
|
|
6
|
+
spinnerz-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 QuickMash (Tanner Curr)
|
|
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.
|