anipy-cli 3.7.0__py3-none-any.whl → 3.8.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 CHANGED
@@ -1,2 +1,2 @@
1
1
  __appname__ = "anipy-cli"
2
- __version__ = "3.7.0"
2
+ __version__ = "3.8.0"
anipy_cli/config.py CHANGED
@@ -76,7 +76,7 @@ class Config:
76
76
 
77
77
  For an updated list of providers look here: https://sdaqo.github.io/anipy-cli/availabilty
78
78
 
79
- Supported providers (as of $version): allanime, animekai (animekai is not functional for now)
79
+ Supported providers (as of $version): allanime, animekai (animekai is not functional for now), native (filesystem provider, set root in provider_urls config)
80
80
 
81
81
  Examples:
82
82
  providers:
@@ -106,9 +106,12 @@ class Config:
106
106
  def provider_urls(self) -> Dict[str, str]:
107
107
  """A list of pairs to override the default urls that providers use.
108
108
 
109
+ Note: the native provider accepts a path instead of a url, it defaults to ~/Videos
110
+
109
111
  Examples:
110
112
  provider_urls:
111
113
  gogoanime: "https://gogoanime3.co"
114
+ native: "~/Videos"
112
115
  provider_urls: {} # do not override any urls
113
116
  """
114
117
 
anipy_cli/prompts.py CHANGED
@@ -44,7 +44,7 @@ def search_show_prompt(
44
44
  mandatory=False,
45
45
  ).execute()
46
46
 
47
- if query is None:
47
+ if not (query and query.strip()):
48
48
  return None
49
49
 
50
50
  with DotSpinner("Searching for ", colors.BLUE, query, "..."):
@@ -132,7 +132,7 @@ def season_search_prompt(
132
132
  mandatory=False,
133
133
  ).execute()
134
134
 
135
- if year is None:
135
+ if not year or not str(year).strip():
136
136
  return
137
137
 
138
138
  if season is None:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: anipy-cli
3
- Version: 3.7.0
3
+ Version: 3.8.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,8 @@ 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.7.0,<4.0.0)
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Dist: anipy-api (>=3.8.0,<4.0.0)
18
19
  Requires-Dist: appdirs (>=1.4.4,<2.0.0)
19
20
  Requires-Dist: inquirerpy (>=0.3.4,<0.4.0)
20
21
  Requires-Dist: pypresence (>=4.3.0,<5.0.0)
@@ -1,4 +1,4 @@
1
- anipy_cli/__init__.py,sha256=EL0yP7gZXBY46LGldGizAg2y65A4G__8xgoFACNgKns,48
1
+ anipy_cli/__init__.py,sha256=OS97bV_0kIzUTc3cvYL55kXL7FSdO9xV1YWxPzfKHEw,48
2
2
  anipy_cli/anilist_proxy.py,sha256=Uc1fyiz6wOGNMZgBvt312qfVElkAWPkzz4RV8PQH_mw,7293
3
3
  anipy_cli/arg_parser.py,sha256=eWoWZCtjMBCj-VY7Nc_Qd1tm4JKE0e4CO5K-yXY96bQ,7496
4
4
  anipy_cli/cli.py,sha256=XHWIwjCRxRhzrwOB8sjaA7pf8UzJUH1DWMHucxYbhJ8,2902
@@ -12,7 +12,7 @@ anipy_cli/clis/history_cli.py,sha256=2ccv6BpQQpUhY4K-KM7lO9qxVLXBrmCY5lec6czipSE
12
12
  anipy_cli/clis/mal_cli.py,sha256=_tSLgDUOa6GOZNyCncSSzaVj088y5GAKkHVRSndLLxk,2258
13
13
  anipy_cli/clis/seasonal_cli.py,sha256=GV2TQNm9UotG1cxfYbrFFgg7Jmy8SFa7w_GlFtPdRVE,616
14
14
  anipy_cli/colors.py,sha256=l4KJoAMnkie6guktKMnYcfAHajPTMamTsPHiUIxF92c,974
15
- anipy_cli/config.py,sha256=lIs1eEwFWdmY_dAvY4AspHUQwUxp8kMBmiXanyuYFAo,18328
15
+ anipy_cli/config.py,sha256=OBko-CClBk28VP8GzXce6fkhkRfRDLeYbuKPgpNZNEY,18517
16
16
  anipy_cli/discord.py,sha256=c6mdqnEdblzZBYs3cGP66oDeS4ySm59OfTRP-R-Duls,1160
17
17
  anipy_cli/download_component.py,sha256=8W_AMeT1pIdA18uaMQosf6W7V9QhF-hf5nipZ0UwGvw,6216
18
18
  anipy_cli/logger.py,sha256=beLn_fr4iRFU_AuUvhuA6Y25X4kheK7Hr6mQmugvXi0,5194
@@ -23,9 +23,9 @@ anipy_cli/menus/base_menu.py,sha256=vDvPI36grmk0Dklthj3d_3yE_vG9oyHWNrWwVvJLxpg,
23
23
  anipy_cli/menus/mal_menu.py,sha256=9z8FbwLH8py6TY0pq7Llk3cNPRCVgKUnmBvcTbItQDk,23760
24
24
  anipy_cli/menus/menu.py,sha256=BasA7VOLS8ajlAJ2pFANiHm9BeBiRDSdyThWBcA4AjE,8645
25
25
  anipy_cli/menus/seasonal_menu.py,sha256=CdtK1Z98z31et0q18MeVqdsIrP3IWOxX9CALOyTRCDE,8949
26
- anipy_cli/prompts.py,sha256=fegNqV7mPxY2bG6OjrB23hjFce9GvOyLisA3eHrJegs,11909
26
+ anipy_cli/prompts.py,sha256=839gD7o4yfEJTQpaz7E3qWqefZwW2lW3W0d1QUWOZDc,11946
27
27
  anipy_cli/util.py,sha256=D-eSkUakEk6WMT-eHfTdzfM8THdIrdQUV8z-wnEMtq8,7102
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,,
28
+ anipy_cli-3.8.0.dist-info/METADATA,sha256=i5bHSmGo84l1yZ0Xd84VZgpdD85IiSy67j1FkYoCusw,3532
29
+ anipy_cli-3.8.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
30
+ anipy_cli-3.8.0.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
31
+ anipy_cli-3.8.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.2.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any