kececinumbers 0.6.7__py3-none-any.whl → 0.6.9__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.
- kececinumbers/__init__.py +175 -6
- kececinumbers/_version.py +1 -1
- kececinumbers/kececinumbers.py +2385 -746
- {kececinumbers-0.6.7.dist-info → kececinumbers-0.6.9.dist-info}/METADATA +54 -4
- kececinumbers-0.6.9.dist-info/RECORD +10 -0
- kececinumbers-0.6.7.dist-info/RECORD +0 -10
- {kececinumbers-0.6.7.dist-info → kececinumbers-0.6.9.dist-info}/WHEEL +0 -0
- {kececinumbers-0.6.7.dist-info → kececinumbers-0.6.9.dist-info}/licenses/LICENSE +0 -0
- {kececinumbers-0.6.7.dist-info → kececinumbers-0.6.9.dist-info}/top_level.txt +0 -0
kececinumbers/__init__.py
CHANGED
@@ -22,10 +22,11 @@ import warnings
|
|
22
22
|
# importlib.reload(kececinumbers) # F821 undefined name 'kececinumbers'
|
23
23
|
|
24
24
|
# Paket sürüm numarası
|
25
|
-
__version__ = "0.6.
|
25
|
+
__version__ = "0.6.9"
|
26
26
|
__author__ = "Mehmet Keçeci"
|
27
27
|
__email__ = "mkececi@yaani.com"
|
28
28
|
|
29
|
+
# Public API exposed to users of the 'kececinumbers' package.
|
29
30
|
# Public API exposed to users of the 'kececinumbers' package.
|
30
31
|
__all__ = [
|
31
32
|
# --- Custom Number Classes ---
|
@@ -34,6 +35,12 @@ __all__ = [
|
|
34
35
|
'HyperrealNumber',
|
35
36
|
'BicomplexNumber',
|
36
37
|
'NeutrosophicBicomplexNumber',
|
38
|
+
'OctonionNumber',
|
39
|
+
'Constants',
|
40
|
+
'SedenionNumber',
|
41
|
+
'CliffordNumber',
|
42
|
+
'DualNumber',
|
43
|
+
'SplitcomplexNumber',
|
37
44
|
|
38
45
|
# --- High-Level Functions ---
|
39
46
|
'get_with_params',
|
@@ -42,14 +49,40 @@ __all__ = [
|
|
42
49
|
'_get_integer_representation',
|
43
50
|
'_parse_quaternion_from_csv',
|
44
51
|
'generate_kececi_vectorial',
|
45
|
-
'_plot_comparison',
|
52
|
+
'_plot_comparison', # DÜZELTİLDİ: '_plot_comparsion' -> '_plot_comparison'
|
46
53
|
'_find_kececi_zeta_zeros',
|
47
54
|
'_compute_gue_similarity',
|
48
55
|
'_load_zeta_zeros',
|
49
56
|
'analyze_all_types',
|
50
57
|
'analyze_pair_correlation',
|
58
|
+
'print_detailed_report',
|
51
59
|
'_gue_pair_correlation',
|
52
60
|
'_pair_correlation',
|
61
|
+
'_parse_octonion',
|
62
|
+
'generate_octonion',
|
63
|
+
'OctonionNumber',
|
64
|
+
'is_quaternion_like',
|
65
|
+
'is_neutrosophic_like',
|
66
|
+
'_has_bicomplex_format',
|
67
|
+
'_parse_bicomplex',
|
68
|
+
'coeffs',
|
69
|
+
'convert_to_float',
|
70
|
+
'safe_add',
|
71
|
+
'ZERO',
|
72
|
+
'ONE',
|
73
|
+
'I',
|
74
|
+
'J',
|
75
|
+
'K',
|
76
|
+
'E',
|
77
|
+
'F',
|
78
|
+
'G',
|
79
|
+
'H',
|
80
|
+
'_extract_numeric_part',
|
81
|
+
'_has_comma_format',
|
82
|
+
'_is_complex_like',
|
83
|
+
'is_prime_like',
|
84
|
+
'is_near_integer',
|
85
|
+
|
53
86
|
|
54
87
|
# --- Core Generation and Analysis ---
|
55
88
|
'unified_generator',
|
@@ -59,7 +92,6 @@ __all__ = [
|
|
59
92
|
|
60
93
|
# --- Visualization and Reporting ---
|
61
94
|
'plot_numbers',
|
62
|
-
'print_detailed_report',
|
63
95
|
|
64
96
|
# --- Type Constants ---
|
65
97
|
'TYPE_POSITIVE_REAL',
|
@@ -72,12 +104,19 @@ __all__ = [
|
|
72
104
|
'TYPE_NEUTROSOPHIC_COMPLEX',
|
73
105
|
'TYPE_HYPERREAL',
|
74
106
|
'TYPE_BICOMPLEX',
|
75
|
-
'TYPE_NEUTROSOPHIC_BICOMPLEX'
|
107
|
+
'TYPE_NEUTROSOPHIC_BICOMPLEX',
|
108
|
+
'TYPE_OCTONION',
|
109
|
+
'TYPE_SEDENION',
|
110
|
+
'TYPE_CLIFFORD',
|
111
|
+
'TYPE_DUAL',
|
112
|
+
'TYPE_SPLIT_COMPLEX',
|
76
113
|
]
|
77
114
|
|
78
115
|
# Göreli modül içe aktarmaları
|
79
116
|
# F401 hatasını önlemek için sadece kullanacağınız şeyleri dışa aktarın
|
80
117
|
# Aksi halde linter'lar "imported but unused" uyarısı verir
|
118
|
+
from .kececinumbers import *
|
119
|
+
|
81
120
|
try:
|
82
121
|
#from .kececinumbers import * # gerekirse burada belirli fonksiyonları seçmeli yapmak daha güvenlidir
|
83
122
|
#from . import kececinumbers # Modülün kendisine doğrudan erişim isteniyorsa
|
@@ -89,6 +128,13 @@ try:
|
|
89
128
|
HyperrealNumber,
|
90
129
|
BicomplexNumber,
|
91
130
|
NeutrosophicBicomplexNumber,
|
131
|
+
OctonionNumber,
|
132
|
+
Constants,
|
133
|
+
SedenionNumber,
|
134
|
+
CliffordNumber,
|
135
|
+
DualNumber,
|
136
|
+
SplitcomplexNumber,
|
137
|
+
|
92
138
|
|
93
139
|
# Functions
|
94
140
|
get_with_params,
|
@@ -111,7 +157,30 @@ try:
|
|
111
157
|
analyze_pair_correlation,
|
112
158
|
_gue_pair_correlation,
|
113
159
|
_pair_correlation,
|
114
|
-
|
160
|
+
_parse_octonion,
|
161
|
+
generate_octonion,
|
162
|
+
is_quaternion_like,
|
163
|
+
is_neutrosophic_like,
|
164
|
+
_has_bicomplex_format,
|
165
|
+
_parse_bicomplex,
|
166
|
+
coeffs,
|
167
|
+
convert_to_float,
|
168
|
+
safe_add,
|
169
|
+
ZERO,
|
170
|
+
ONE,
|
171
|
+
I,
|
172
|
+
J,
|
173
|
+
K,
|
174
|
+
E,
|
175
|
+
F,
|
176
|
+
G,
|
177
|
+
H,
|
178
|
+
_extract_numeric_part,
|
179
|
+
_has_comma_format,
|
180
|
+
_is_complex_like,
|
181
|
+
is_prime_like,
|
182
|
+
is_near_integer,
|
183
|
+
|
115
184
|
|
116
185
|
# Constants
|
117
186
|
TYPE_POSITIVE_REAL,
|
@@ -124,7 +193,12 @@ try:
|
|
124
193
|
TYPE_NEUTROSOPHIC_COMPLEX,
|
125
194
|
TYPE_HYPERREAL,
|
126
195
|
TYPE_BICOMPLEX,
|
127
|
-
TYPE_NEUTROSOPHIC_BICOMPLEX
|
196
|
+
TYPE_NEUTROSOPHIC_BICOMPLEX,
|
197
|
+
TYPE_OCTONION,
|
198
|
+
TYPE_SEDENION,
|
199
|
+
TYPE_CLIFFORD,
|
200
|
+
TYPE_DUAL,
|
201
|
+
TYPE_SPLIT_COMPLEX,
|
128
202
|
)
|
129
203
|
except ImportError as e:
|
130
204
|
warnings.warn(f"Gerekli modül yüklenemedi: {e}", ImportWarning)
|
@@ -142,3 +216,98 @@ def eski_fonksiyon():
|
|
142
216
|
category=DeprecationWarning,
|
143
217
|
stacklevel=2
|
144
218
|
)
|
219
|
+
"""
|
220
|
+
# Explicit import for critical functions to avoid cache issues
|
221
|
+
try:
|
222
|
+
from .kececinumbers import (
|
223
|
+
NeutrosophicNumber,
|
224
|
+
NeutrosophicComplexNumber,
|
225
|
+
HyperrealNumber,
|
226
|
+
BicomplexNumber,
|
227
|
+
NeutrosophicBicomplexNumber,
|
228
|
+
OctonionNumber,
|
229
|
+
Constants,
|
230
|
+
SedenionNumber,
|
231
|
+
CliffordNumber,
|
232
|
+
DualNumber,
|
233
|
+
SplitcomplexNumber,
|
234
|
+
# Functions
|
235
|
+
get_with_params,
|
236
|
+
get_interactive,
|
237
|
+
get_random_type,
|
238
|
+
_get_integer_representation,
|
239
|
+
_parse_quaternion_from_csv,
|
240
|
+
generate_kececi_vectorial,
|
241
|
+
unified_generator,
|
242
|
+
is_prime,
|
243
|
+
find_period,
|
244
|
+
find_kececi_prime_number,
|
245
|
+
plot_numbers,
|
246
|
+
_plot_comparison,
|
247
|
+
_find_kececi_zeta_zeros,
|
248
|
+
_compute_gue_similarity,
|
249
|
+
_load_zeta_zeros,
|
250
|
+
analyze_all_types,
|
251
|
+
analyze_pair_correlation,
|
252
|
+
_gue_pair_correlation,
|
253
|
+
_pair_correlation,
|
254
|
+
_parse_octonion,
|
255
|
+
generate_octonion,
|
256
|
+
ZERO,
|
257
|
+
ONE,
|
258
|
+
I,
|
259
|
+
J,
|
260
|
+
K,
|
261
|
+
E,
|
262
|
+
F,
|
263
|
+
G,
|
264
|
+
H,
|
265
|
+
# Constants
|
266
|
+
TYPE_POSITIVE_REAL,
|
267
|
+
TYPE_NEGATIVE_REAL,
|
268
|
+
TYPE_COMPLEX,
|
269
|
+
TYPE_FLOAT,
|
270
|
+
TYPE_RATIONAL,
|
271
|
+
TYPE_QUATERNION,
|
272
|
+
TYPE_NEUTROSOPHIC,
|
273
|
+
TYPE_NEUTROSOPHIC_COMPLEX,
|
274
|
+
TYPE_HYPERREAL,
|
275
|
+
TYPE_BICOMPLEX,
|
276
|
+
TYPE_NEUTROSOPHIC_BICOMPLEX,
|
277
|
+
TYPE_OCTONION,
|
278
|
+
TYPE_SEDENION,
|
279
|
+
TYPE_CLIFFORD,
|
280
|
+
TYPE_DUAL,
|
281
|
+
TYPE_SPLIT_COMPLEX
|
282
|
+
)
|
283
|
+
|
284
|
+
# Explicit olarak global namespace'e ekle
|
285
|
+
globals().update({
|
286
|
+
'analyze_all_types': analyze_all_types,
|
287
|
+
'_plot_comparison': _plot_comparison,
|
288
|
+
'TYPE_OCTONION': TYPE_OCTONION,
|
289
|
+
'TYPE_FLOAT': TYPE_FLOAT
|
290
|
+
})
|
291
|
+
|
292
|
+
except ImportError as e:
|
293
|
+
warnings.warn(f"Kritik fonksiyonlar import edilemedi: {e}", ImportWarning)
|
294
|
+
"""
|
295
|
+
"""
|
296
|
+
def __getattr__(name):
|
297
|
+
#Dynamic attribute access for better compatibility
|
298
|
+
if name in ['analyze_all_types', '_plot_comparison']:
|
299
|
+
try:
|
300
|
+
from .kececinumbers import analyze_all_types, _plot_comparison, TYPE_OCTONION, TYPE_FLOAT
|
301
|
+
if name == 'analyze_all_types':
|
302
|
+
return analyze_all_types
|
303
|
+
elif name == '_plot_comparison':
|
304
|
+
return _plot_comparison
|
305
|
+
elif name == 'TYPE_OCTONION':
|
306
|
+
return TYPE_OCTONION
|
307
|
+
elif name == 'TYPE_FLOAT':
|
308
|
+
return TYPE_FLOAT
|
309
|
+
except ImportError:
|
310
|
+
pass
|
311
|
+
|
312
|
+
raise AttributeError(f"module 'kececinumbers' has no attribute '{name}'")
|
313
|
+
"""
|
kececinumbers/_version.py
CHANGED