anipy-cli 3.6.0__py3-none-any.whl → 3.7.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.
Potentially problematic release.
This version of anipy-cli might be problematic. Click here for more details.
- anipy_cli/__init__.py +1 -1
- anipy_cli/anilist_proxy.py +221 -0
- anipy_cli/arg_parser.py +19 -0
- anipy_cli/cli.py +1 -0
- anipy_cli/clis/__init__.py +2 -0
- anipy_cli/clis/anilist_cli.py +62 -0
- anipy_cli/config.py +46 -42
- anipy_cli/mal_proxy.py +9 -9
- anipy_cli/menus/__init__.py +2 -1
- anipy_cli/menus/anilist_menu.py +648 -0
- anipy_cli/menus/mal_menu.py +14 -14
- {anipy_cli-3.6.0.dist-info → anipy_cli-3.7.0.dist-info}/METADATA +2 -2
- {anipy_cli-3.6.0.dist-info → anipy_cli-3.7.0.dist-info}/RECORD +15 -12
- {anipy_cli-3.6.0.dist-info → anipy_cli-3.7.0.dist-info}/WHEEL +0 -0
- {anipy_cli-3.6.0.dist-info → anipy_cli-3.7.0.dist-info}/entry_points.txt +0 -0
anipy_cli/menus/mal_menu.py
CHANGED
|
@@ -189,19 +189,19 @@ class MALMenu(MenuBase):
|
|
|
189
189
|
config = Config()
|
|
190
190
|
|
|
191
191
|
choices = []
|
|
192
|
-
if config.
|
|
192
|
+
if config.tracker_dub_tag:
|
|
193
193
|
choices.append(
|
|
194
194
|
Choice(
|
|
195
|
-
value=config.
|
|
196
|
-
name=f"{config.
|
|
195
|
+
value=config.tracker_dub_tag,
|
|
196
|
+
name=f"{config.tracker_dub_tag} (sets wheter you prefer to watch a particular anime in dub)",
|
|
197
197
|
)
|
|
198
198
|
)
|
|
199
199
|
|
|
200
|
-
if config.
|
|
200
|
+
if config.tracker_ignore_tag:
|
|
201
201
|
choices.append(
|
|
202
202
|
Choice(
|
|
203
|
-
value=config.
|
|
204
|
-
name=f"{config.
|
|
203
|
+
value=config.tracker_ignore_tag,
|
|
204
|
+
name=f"{config.tracker_ignore_tag} (sets wheter anipy-cli will ignore a particular anime)",
|
|
205
205
|
)
|
|
206
206
|
)
|
|
207
207
|
|
|
@@ -320,12 +320,12 @@ class MALMenu(MenuBase):
|
|
|
320
320
|
with DotSpinner("Syncing Seasonals into MyAnimeList") as s:
|
|
321
321
|
for k, v in mappings.items():
|
|
322
322
|
tags = set()
|
|
323
|
-
if config.
|
|
323
|
+
if config.tracker_dub_tag:
|
|
324
324
|
if k.language == LanguageTypeEnum.DUB:
|
|
325
|
-
tags.add(config.
|
|
325
|
+
tags.add(config.tracker_dub_tag)
|
|
326
326
|
|
|
327
327
|
if v.my_list_status:
|
|
328
|
-
if config.
|
|
328
|
+
if config.tracker_ignore_tag in v.my_list_status.tags:
|
|
329
329
|
continue
|
|
330
330
|
tags |= set(v.my_list_status.tags)
|
|
331
331
|
|
|
@@ -343,8 +343,8 @@ class MALMenu(MenuBase):
|
|
|
343
343
|
mappings = self._create_maps_mal(mylist)
|
|
344
344
|
with DotSpinner("Syncing MyAnimeList into Seasonals") as s:
|
|
345
345
|
for k, v in mappings.items():
|
|
346
|
-
if config.
|
|
347
|
-
if k.my_list_status and config.
|
|
346
|
+
if config.tracker_dub_tag:
|
|
347
|
+
if k.my_list_status and config.tracker_dub_tag in k.my_list_status.tags:
|
|
348
348
|
pref_lang = LanguageTypeEnum.DUB
|
|
349
349
|
else:
|
|
350
350
|
pref_lang = LanguageTypeEnum.SUB
|
|
@@ -444,8 +444,8 @@ class MALMenu(MenuBase):
|
|
|
444
444
|
)
|
|
445
445
|
continue
|
|
446
446
|
|
|
447
|
-
if config.
|
|
448
|
-
if e.my_list_status and config.
|
|
447
|
+
if config.tracker_dub_tag:
|
|
448
|
+
if e.my_list_status and config.tracker_dub_tag in e.my_list_status.tags:
|
|
449
449
|
pref_lang = LanguageTypeEnum.DUB
|
|
450
450
|
else:
|
|
451
451
|
pref_lang = LanguageTypeEnum.SUB
|
|
@@ -629,7 +629,7 @@ class MALMenu(MenuBase):
|
|
|
629
629
|
def _format_mal_anime(anime: MALAnime) -> str:
|
|
630
630
|
config = Config()
|
|
631
631
|
dub = (
|
|
632
|
-
config.
|
|
632
|
+
config.tracker_dub_tag in anime.my_list_status.tags
|
|
633
633
|
if anime.my_list_status
|
|
634
634
|
else False
|
|
635
635
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anipy-cli
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.7.0
|
|
4
4
|
Summary: Watch and Download anime from the comfort of your Terminal
|
|
5
5
|
License: GPL-3.0
|
|
6
6
|
Keywords: anime,cli
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
Requires-Dist: anipy-api (>=3.
|
|
17
|
+
Requires-Dist: anipy-api (>=3.7.0,<4.0.0)
|
|
18
18
|
Requires-Dist: appdirs (>=1.4.4,<2.0.0)
|
|
19
19
|
Requires-Dist: inquirerpy (>=0.3.4,<0.4.0)
|
|
20
20
|
Requires-Dist: pypresence (>=4.3.0,<5.0.0)
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
anipy_cli/__init__.py,sha256=
|
|
2
|
-
anipy_cli/
|
|
3
|
-
anipy_cli/
|
|
4
|
-
anipy_cli/
|
|
1
|
+
anipy_cli/__init__.py,sha256=EL0yP7gZXBY46LGldGizAg2y65A4G__8xgoFACNgKns,48
|
|
2
|
+
anipy_cli/anilist_proxy.py,sha256=Uc1fyiz6wOGNMZgBvt312qfVElkAWPkzz4RV8PQH_mw,7293
|
|
3
|
+
anipy_cli/arg_parser.py,sha256=eWoWZCtjMBCj-VY7Nc_Qd1tm4JKE0e4CO5K-yXY96bQ,7496
|
|
4
|
+
anipy_cli/cli.py,sha256=XHWIwjCRxRhzrwOB8sjaA7pf8UzJUH1DWMHucxYbhJ8,2902
|
|
5
|
+
anipy_cli/clis/__init__.py,sha256=zJrVQnb9E1sDsZKdFT1aoD9zNKrWxa291ZR0sPjBbRY,479
|
|
6
|
+
anipy_cli/clis/anilist_cli.py,sha256=XuDmEnAwOpXn3AtH2M3I7SHH_o0btOmEIaGh_jDHa3A,1857
|
|
5
7
|
anipy_cli/clis/base_cli.py,sha256=JfS7mnxNgTK4_Pqeg4IyjHluhfVyO_YLL_TqdyTtyiQ,803
|
|
6
8
|
anipy_cli/clis/binge_cli.py,sha256=ioZ-V0WfGYBqETFkd8epGrT9dPHwsRJ1qvIdqf4waIs,2551
|
|
7
9
|
anipy_cli/clis/default_cli.py,sha256=aJrJwtwdD7l-Z3dMjSHlvMvgTVnwA3_OXwS-9DZQIy8,3078
|
|
@@ -10,19 +12,20 @@ anipy_cli/clis/history_cli.py,sha256=2ccv6BpQQpUhY4K-KM7lO9qxVLXBrmCY5lec6czipSE
|
|
|
10
12
|
anipy_cli/clis/mal_cli.py,sha256=_tSLgDUOa6GOZNyCncSSzaVj088y5GAKkHVRSndLLxk,2258
|
|
11
13
|
anipy_cli/clis/seasonal_cli.py,sha256=GV2TQNm9UotG1cxfYbrFFgg7Jmy8SFa7w_GlFtPdRVE,616
|
|
12
14
|
anipy_cli/colors.py,sha256=l4KJoAMnkie6guktKMnYcfAHajPTMamTsPHiUIxF92c,974
|
|
13
|
-
anipy_cli/config.py,sha256=
|
|
15
|
+
anipy_cli/config.py,sha256=lIs1eEwFWdmY_dAvY4AspHUQwUxp8kMBmiXanyuYFAo,18328
|
|
14
16
|
anipy_cli/discord.py,sha256=c6mdqnEdblzZBYs3cGP66oDeS4ySm59OfTRP-R-Duls,1160
|
|
15
17
|
anipy_cli/download_component.py,sha256=8W_AMeT1pIdA18uaMQosf6W7V9QhF-hf5nipZ0UwGvw,6216
|
|
16
18
|
anipy_cli/logger.py,sha256=beLn_fr4iRFU_AuUvhuA6Y25X4kheK7Hr6mQmugvXi0,5194
|
|
17
|
-
anipy_cli/mal_proxy.py,sha256=
|
|
18
|
-
anipy_cli/menus/__init__.py,sha256=
|
|
19
|
+
anipy_cli/mal_proxy.py,sha256=qlV-sLE_ergyM4zPjFSvTdCLvjzwdfIJZlwJNKTTHlY,7134
|
|
20
|
+
anipy_cli/menus/__init__.py,sha256=U9RLQ61ulY3MpHvz3Q02my_q61LoM3KY1SLd9v3JhnY,253
|
|
21
|
+
anipy_cli/menus/anilist_menu.py,sha256=54OHxBCqxME40227fhar4n685NQlFZPIqmpvGT8rtlc,24134
|
|
19
22
|
anipy_cli/menus/base_menu.py,sha256=vDvPI36grmk0Dklthj3d_3yE_vG9oyHWNrWwVvJLxpg,1132
|
|
20
|
-
anipy_cli/menus/mal_menu.py,sha256=
|
|
23
|
+
anipy_cli/menus/mal_menu.py,sha256=9z8FbwLH8py6TY0pq7Llk3cNPRCVgKUnmBvcTbItQDk,23760
|
|
21
24
|
anipy_cli/menus/menu.py,sha256=BasA7VOLS8ajlAJ2pFANiHm9BeBiRDSdyThWBcA4AjE,8645
|
|
22
25
|
anipy_cli/menus/seasonal_menu.py,sha256=CdtK1Z98z31et0q18MeVqdsIrP3IWOxX9CALOyTRCDE,8949
|
|
23
26
|
anipy_cli/prompts.py,sha256=fegNqV7mPxY2bG6OjrB23hjFce9GvOyLisA3eHrJegs,11909
|
|
24
27
|
anipy_cli/util.py,sha256=D-eSkUakEk6WMT-eHfTdzfM8THdIrdQUV8z-wnEMtq8,7102
|
|
25
|
-
anipy_cli-3.
|
|
26
|
-
anipy_cli-3.
|
|
27
|
-
anipy_cli-3.
|
|
28
|
-
anipy_cli-3.
|
|
28
|
+
anipy_cli-3.7.0.dist-info/METADATA,sha256=iGLLRp1HMXMlT8Rc4APSUUUaCz2lJSbiJe0TH-Nqqm8,3481
|
|
29
|
+
anipy_cli-3.7.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
30
|
+
anipy_cli-3.7.0.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
|
|
31
|
+
anipy_cli-3.7.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|