ytdl-sub 2025.12.31.post3__py3-none-any.whl → 2025.12.31.post4__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.
- ytdl_sub/__init__.py +1 -1
- ytdl_sub/script/functions/numeric_functions.py +17 -0
- {ytdl_sub-2025.12.31.post3.dist-info → ytdl_sub-2025.12.31.post4.dist-info}/METADATA +1 -1
- {ytdl_sub-2025.12.31.post3.dist-info → ytdl_sub-2025.12.31.post4.dist-info}/RECORD +8 -8
- {ytdl_sub-2025.12.31.post3.dist-info → ytdl_sub-2025.12.31.post4.dist-info}/WHEEL +0 -0
- {ytdl_sub-2025.12.31.post3.dist-info → ytdl_sub-2025.12.31.post4.dist-info}/entry_points.txt +0 -0
- {ytdl_sub-2025.12.31.post3.dist-info → ytdl_sub-2025.12.31.post4.dist-info}/licenses/LICENSE +0 -0
- {ytdl_sub-2025.12.31.post3.dist-info → ytdl_sub-2025.12.31.post4.dist-info}/top_level.txt +0 -0
ytdl_sub/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__pypi_version__ = "2025.12.31.
|
|
1
|
+
__pypi_version__ = "2025.12.31.post4";__local_version__ = "2025.12.31+c46de04"
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import math
|
|
2
|
+
from typing import Optional
|
|
2
3
|
|
|
4
|
+
from ytdl_sub.script.types.array import Array
|
|
3
5
|
from ytdl_sub.script.types.resolvable import AnyArgument
|
|
4
6
|
from ytdl_sub.script.types.resolvable import Float
|
|
5
7
|
from ytdl_sub.script.types.resolvable import Integer
|
|
@@ -96,3 +98,18 @@ class NumericFunctions:
|
|
|
96
98
|
Returns min of all values.
|
|
97
99
|
"""
|
|
98
100
|
return _to_numeric(min(val.value for val in values))
|
|
101
|
+
|
|
102
|
+
@staticmethod
|
|
103
|
+
def range(
|
|
104
|
+
end: Integer, start: Optional[Integer] = None, step: Optional[Integer] = None
|
|
105
|
+
) -> Array:
|
|
106
|
+
"""
|
|
107
|
+
:description:
|
|
108
|
+
Returns the desired range of Integers in the form of an Array.
|
|
109
|
+
"""
|
|
110
|
+
if start is None:
|
|
111
|
+
start = Integer(0)
|
|
112
|
+
if step is None:
|
|
113
|
+
step = Integer(1)
|
|
114
|
+
|
|
115
|
+
return Array(value=[Integer(idx) for idx in range(start.value, end.value, step.value)])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ytdl_sub/__init__.py,sha256=
|
|
1
|
+
ytdl_sub/__init__.py,sha256=B08vEZY-LmzTe-uIzKBt32_P9K6jiLzMXUML5-9YMm8,79
|
|
2
2
|
ytdl_sub/main.py,sha256=4Rf9wXxSKW7IPnWqG5YtTZ814PjP1n9WtoFDivaainE,1004
|
|
3
3
|
ytdl_sub/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
ytdl_sub/cli/entrypoint.py,sha256=XXjUH4HiOP_BB2ZA_bNcyt5-o6YLAdZmj0EP3xtOtD8,9496
|
|
@@ -103,7 +103,7 @@ ytdl_sub/script/functions/date_functions.py,sha256=q_lfLM7WlXeeLZ0uQTCp_zS_1Zn1M
|
|
|
103
103
|
ytdl_sub/script/functions/error_functions.py,sha256=stF7lYoIE3lg131I2wyBbxjmp7BYX_BoVdZ7VJaroWU,2507
|
|
104
104
|
ytdl_sub/script/functions/json_functions.py,sha256=4Sq5T5lg5_zsiHAIKZL2qb2fYi20llKgI46N9GqcHFY,1351
|
|
105
105
|
ytdl_sub/script/functions/map_functions.py,sha256=RC1jBaxWeyMf_RPwRRGxt_QUIIrCfd9P_ezH04GdRUE,4181
|
|
106
|
-
ytdl_sub/script/functions/numeric_functions.py,sha256=
|
|
106
|
+
ytdl_sub/script/functions/numeric_functions.py,sha256=llg9_pwuVzZmKb_pttbq003xH30_B210Xw7eLxUETC8,3203
|
|
107
107
|
ytdl_sub/script/functions/print_functions.py,sha256=s-EhqdUvDcH3zIkt95LIDGxvlACY0oJwHqiqZ1XA4dM,2274
|
|
108
108
|
ytdl_sub/script/functions/regex_functions.py,sha256=d6omjhD9FjkP0BVjUaMsJfXVt-reh-MI52cUhXdL4S4,6744
|
|
109
109
|
ytdl_sub/script/functions/string_functions.py,sha256=rZbOuP2V9FvoKzMG94R7vsvj-GxHK_hwgVDMa_Yeftw,6095
|
|
@@ -158,9 +158,9 @@ ytdl_sub/validators/string_select_validator.py,sha256=KFXNKWX2J80WGt08m5gVYphPMH
|
|
|
158
158
|
ytdl_sub/validators/validators.py,sha256=JC3-c9fSrozFADUY5jqZEhXpM2q3sfserlooQxT2DK8,9133
|
|
159
159
|
ytdl_sub/ytdl_additions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
160
160
|
ytdl_sub/ytdl_additions/enhanced_download_archive.py,sha256=Lsc0wjHdx9d8dYJCskZYAUGDAQ_QzQ-_xbQlyrBSzfk,24884
|
|
161
|
-
ytdl_sub-2025.12.31.
|
|
162
|
-
ytdl_sub-2025.12.31.
|
|
163
|
-
ytdl_sub-2025.12.31.
|
|
164
|
-
ytdl_sub-2025.12.31.
|
|
165
|
-
ytdl_sub-2025.12.31.
|
|
166
|
-
ytdl_sub-2025.12.31.
|
|
161
|
+
ytdl_sub-2025.12.31.post4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
162
|
+
ytdl_sub-2025.12.31.post4.dist-info/METADATA,sha256=UktKdJ6kXQPhMz5aXYIDErgFzWJ-L3k5-UY7ZxjfhvU,51426
|
|
163
|
+
ytdl_sub-2025.12.31.post4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
164
|
+
ytdl_sub-2025.12.31.post4.dist-info/entry_points.txt,sha256=K3T5235NlAI-WLmHCg5tzLZHqc33OLN5IY5fOGc9t10,48
|
|
165
|
+
ytdl_sub-2025.12.31.post4.dist-info/top_level.txt,sha256=6z-JWazl6jXspC2DNyxOnGnEqYyGzVbgcBDoXfbkUhI,9
|
|
166
|
+
ytdl_sub-2025.12.31.post4.dist-info/RECORD,,
|
|
File without changes
|
{ytdl_sub-2025.12.31.post3.dist-info → ytdl_sub-2025.12.31.post4.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{ytdl_sub-2025.12.31.post3.dist-info → ytdl_sub-2025.12.31.post4.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|