numpy-fast 0.1.2__tar.gz → 0.1.3__tar.gz
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.
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/PKG-INFO +1 -1
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/pyproject.toml +1 -1
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/src/nampy/core.py +13 -4
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/src/numpy_fast.egg-info/PKG-INFO +1 -1
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/README.md +0 -0
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/setup.cfg +0 -0
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/src/nampy/__init__.py +0 -0
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/src/numpy_fast.egg-info/SOURCES.txt +0 -0
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/src/numpy_fast.egg-info/dependency_links.txt +0 -0
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/src/numpy_fast.egg-info/top_level.txt +0 -0
- {numpy_fast-0.1.2 → numpy_fast-0.1.3}/tests/test_nampy.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: numpy_fast
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Python AI toolkit — max, min, mean functions powered by top AI models
|
|
5
5
|
Author-email: Karen_Poghosyan_042009 <karenpoghosyan242@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/karen/numpy_fast
|
|
@@ -71,7 +71,10 @@ def max(model_idx=None, prompt=None):
|
|
|
71
71
|
"""
|
|
72
72
|
Strong AI models via OpenRouter.
|
|
73
73
|
"""
|
|
74
|
-
if model_idx
|
|
74
|
+
if isinstance(model_idx, str):
|
|
75
|
+
prompt = model_idx
|
|
76
|
+
model_idx = 2
|
|
77
|
+
elif model_idx is None:
|
|
75
78
|
model_idx = 2
|
|
76
79
|
|
|
77
80
|
if prompt is None:
|
|
@@ -115,8 +118,11 @@ def min(model_idx=None, prompt=None):
|
|
|
115
118
|
"""
|
|
116
119
|
Mistral AI models.
|
|
117
120
|
"""
|
|
118
|
-
if model_idx
|
|
119
|
-
|
|
121
|
+
if isinstance(model_idx, str):
|
|
122
|
+
prompt = model_idx
|
|
123
|
+
model_idx = 0
|
|
124
|
+
elif model_idx is None:
|
|
125
|
+
model_idx = 0
|
|
120
126
|
if prompt is None:
|
|
121
127
|
prompt = input("Մուտքագրեք հարցումը: ")
|
|
122
128
|
|
|
@@ -163,7 +169,10 @@ def mean(model_idx=None, prompt=None):
|
|
|
163
169
|
"""
|
|
164
170
|
Lightweight and fast AI models via OpenRouter.
|
|
165
171
|
"""
|
|
166
|
-
if model_idx
|
|
172
|
+
if isinstance(model_idx, str):
|
|
173
|
+
prompt = model_idx
|
|
174
|
+
model_idx = 0
|
|
175
|
+
elif model_idx is None:
|
|
167
176
|
model_idx = 0
|
|
168
177
|
|
|
169
178
|
if prompt is None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: numpy_fast
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Python AI toolkit — max, min, mean functions powered by top AI models
|
|
5
5
|
Author-email: Karen_Poghosyan_042009 <karenpoghosyan242@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/karen/numpy_fast
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|