kececinumbers 0.6.7__tar.gz → 0.6.9__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.
- {kececinumbers-0.6.7/kececinumbers.egg-info → kececinumbers-0.6.9}/PKG-INFO +54 -4
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/README.md +53 -3
- kececinumbers-0.6.9/kececinumbers/__init__.py +313 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/kececinumbers/_version.py +1 -1
- kececinumbers-0.6.9/kececinumbers/kececinumbers.py +3132 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9/kececinumbers.egg-info}/PKG-INFO +54 -4
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/pyproject.toml +1 -1
- kececinumbers-0.6.7/kececinumbers/__init__.py +0 -144
- kececinumbers-0.6.7/kececinumbers/kececinumbers.py +0 -1493
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/LICENSE +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/MANIFEST.in +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/docs/conf.py +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/kececinumbers.egg-info/SOURCES.txt +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/kececinumbers.egg-info/dependency_links.txt +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/kececinumbers.egg-info/requires.txt +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/kececinumbers.egg-info/top_level.txt +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/setup.cfg +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/setup.py +0 -0
- {kececinumbers-0.6.7 → kececinumbers-0.6.9}/tests/test_sample.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: kececinumbers
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.9
|
4
4
|
Summary: Keçeci Numbers: An Exploration of a Dynamic Sequence Across Diverse Number Sets
|
5
5
|
Home-page: https://github.com/WhiteSymmetry/kececinumbers
|
6
6
|
Author: Mehmet Keçeci
|
@@ -136,7 +136,7 @@ Dynamic: requires-python
|
|
136
136
|
|
137
137
|
**Keçeci Numbers** is a Python library for generating, analyzing, and visualizing dynamic sequences inspired by the Collatz Conjecture across diverse number systems.
|
138
138
|
|
139
|
-
This library provides a unified algorithm that operates on
|
139
|
+
This library provides a unified algorithm that operates on 16 different number types, from standard integers to complex algebraic structures like quaternions and neutrosophic numbers. It is designed as a tool for academic research and exploration in number theory.
|
140
140
|
|
141
141
|
<details>
|
142
142
|
<summary>🇹🇷 Türkçe Açıklama (Click to expand)</summary>
|
@@ -160,11 +160,50 @@ This flexible mechanism provides a rich framework for studying the behavior of n
|
|
160
160
|
|
161
161
|
## Key Features
|
162
162
|
|
163
|
-
* **
|
163
|
+
* **16 Different Number Types:** Supports integers, rationals, complex numbers, quaternions, neutrosophic numbers, and more.
|
164
164
|
* **Unified Generator:** Uses a single, consistent `unified_generator` algorithm for all number types.
|
165
165
|
* **Advanced Visualization:** Provides a multi-dimensional `plot_numbers` function tailored to the nature of each number system.
|
166
166
|
* **Keçeci Prime Number (KPN) Analysis:** Identifies the most recurring prime representation in sequences to analyze their convergence behavior.
|
167
167
|
* **Interactive and Programmatic Usage:** Supports both interactive parameter input (`get_interactive`) and direct use in scripts (`get_with_params`).
|
168
|
+
* 0.6.9: 16 Nubers
|
169
|
+
* 0.6.7: 11 Numbers
|
170
|
+
|
171
|
+
---
|
172
|
+
|
173
|
+
## MODULE CONSTANTS: KEÇECİ NUMBER TYPES
|
174
|
+
|
175
|
+
|
176
|
+
TYPE_POSITIVE_REAL = 1
|
177
|
+
|
178
|
+
TYPE_NEGATIVE_REAL = 2
|
179
|
+
|
180
|
+
TYPE_COMPLEX = 3
|
181
|
+
|
182
|
+
TYPE_FLOAT = 4
|
183
|
+
|
184
|
+
TYPE_RATIONAL = 5
|
185
|
+
|
186
|
+
TYPE_QUATERNION = 6
|
187
|
+
|
188
|
+
TYPE_NEUTROSOPHIC = 7
|
189
|
+
|
190
|
+
TYPE_NEUTROSOPHIC_COMPLEX = 8
|
191
|
+
|
192
|
+
TYPE_HYPERREAL = 9
|
193
|
+
|
194
|
+
TYPE_BICOMPLEX = 10
|
195
|
+
|
196
|
+
TYPE_NEUTROSOPHIC_BICOMPLEX = 11
|
197
|
+
|
198
|
+
TYPE_OCTONION = 12
|
199
|
+
|
200
|
+
TYPE_SEDENION = 13
|
201
|
+
|
202
|
+
TYPE_CLIFFORD = 14
|
203
|
+
|
204
|
+
TYPE_DUAL = 15
|
205
|
+
|
206
|
+
TYPE_SPLIT_COMPLEX = 16
|
168
207
|
|
169
208
|
---
|
170
209
|
|
@@ -410,7 +449,18 @@ Keçeci Number Types:
|
|
410
449
|
|
411
450
|
11: Neutro-Bicomplex
|
412
451
|
|
413
|
-
|
452
|
+
12: Octonion (in 'e0,e1,e2,e3,e4,e5,e6,e7' format, e.g., '1.0,0.5,-0.2,0.3,0.1,-0.4,0.2,0.0')
|
453
|
+
|
454
|
+
13: "Sedenion(in 'e0,e1,...,e15' format, e.g., '1.0', '0.0'): ",
|
455
|
+
|
456
|
+
14: "Clifford(in 'scalar,e1,e2,e12,...' format, e.g., '0.1+0.2e1', '1.0+2.0e1+3.0e12')
|
457
|
+
|
458
|
+
15: "Dual(in 'real,dual' format, e.g., '2.0,0.5')
|
459
|
+
|
460
|
+
16: "Split-Complex(in 'real,split' format, e.g., '1.0,0.8')
|
461
|
+
|
462
|
+
|
463
|
+
Please select Keçeci Number Type (1-16): 1
|
414
464
|
|
415
465
|
Enter the starting number (e.g., 0 or 2.5, complex:3+4j, rational: 3/4, quaternions: 1) : 0
|
416
466
|
|
@@ -69,7 +69,7 @@
|
|
69
69
|
|
70
70
|
**Keçeci Numbers** is a Python library for generating, analyzing, and visualizing dynamic sequences inspired by the Collatz Conjecture across diverse number systems.
|
71
71
|
|
72
|
-
This library provides a unified algorithm that operates on
|
72
|
+
This library provides a unified algorithm that operates on 16 different number types, from standard integers to complex algebraic structures like quaternions and neutrosophic numbers. It is designed as a tool for academic research and exploration in number theory.
|
73
73
|
|
74
74
|
<details>
|
75
75
|
<summary>🇹🇷 Türkçe Açıklama (Click to expand)</summary>
|
@@ -93,11 +93,50 @@ This flexible mechanism provides a rich framework for studying the behavior of n
|
|
93
93
|
|
94
94
|
## Key Features
|
95
95
|
|
96
|
-
* **
|
96
|
+
* **16 Different Number Types:** Supports integers, rationals, complex numbers, quaternions, neutrosophic numbers, and more.
|
97
97
|
* **Unified Generator:** Uses a single, consistent `unified_generator` algorithm for all number types.
|
98
98
|
* **Advanced Visualization:** Provides a multi-dimensional `plot_numbers` function tailored to the nature of each number system.
|
99
99
|
* **Keçeci Prime Number (KPN) Analysis:** Identifies the most recurring prime representation in sequences to analyze their convergence behavior.
|
100
100
|
* **Interactive and Programmatic Usage:** Supports both interactive parameter input (`get_interactive`) and direct use in scripts (`get_with_params`).
|
101
|
+
* 0.6.9: 16 Nubers
|
102
|
+
* 0.6.7: 11 Numbers
|
103
|
+
|
104
|
+
---
|
105
|
+
|
106
|
+
## MODULE CONSTANTS: KEÇECİ NUMBER TYPES
|
107
|
+
|
108
|
+
|
109
|
+
TYPE_POSITIVE_REAL = 1
|
110
|
+
|
111
|
+
TYPE_NEGATIVE_REAL = 2
|
112
|
+
|
113
|
+
TYPE_COMPLEX = 3
|
114
|
+
|
115
|
+
TYPE_FLOAT = 4
|
116
|
+
|
117
|
+
TYPE_RATIONAL = 5
|
118
|
+
|
119
|
+
TYPE_QUATERNION = 6
|
120
|
+
|
121
|
+
TYPE_NEUTROSOPHIC = 7
|
122
|
+
|
123
|
+
TYPE_NEUTROSOPHIC_COMPLEX = 8
|
124
|
+
|
125
|
+
TYPE_HYPERREAL = 9
|
126
|
+
|
127
|
+
TYPE_BICOMPLEX = 10
|
128
|
+
|
129
|
+
TYPE_NEUTROSOPHIC_BICOMPLEX = 11
|
130
|
+
|
131
|
+
TYPE_OCTONION = 12
|
132
|
+
|
133
|
+
TYPE_SEDENION = 13
|
134
|
+
|
135
|
+
TYPE_CLIFFORD = 14
|
136
|
+
|
137
|
+
TYPE_DUAL = 15
|
138
|
+
|
139
|
+
TYPE_SPLIT_COMPLEX = 16
|
101
140
|
|
102
141
|
---
|
103
142
|
|
@@ -343,7 +382,18 @@ Keçeci Number Types:
|
|
343
382
|
|
344
383
|
11: Neutro-Bicomplex
|
345
384
|
|
346
|
-
|
385
|
+
12: Octonion (in 'e0,e1,e2,e3,e4,e5,e6,e7' format, e.g., '1.0,0.5,-0.2,0.3,0.1,-0.4,0.2,0.0')
|
386
|
+
|
387
|
+
13: "Sedenion(in 'e0,e1,...,e15' format, e.g., '1.0', '0.0'): ",
|
388
|
+
|
389
|
+
14: "Clifford(in 'scalar,e1,e2,e12,...' format, e.g., '0.1+0.2e1', '1.0+2.0e1+3.0e12')
|
390
|
+
|
391
|
+
15: "Dual(in 'real,dual' format, e.g., '2.0,0.5')
|
392
|
+
|
393
|
+
16: "Split-Complex(in 'real,split' format, e.g., '1.0,0.8')
|
394
|
+
|
395
|
+
|
396
|
+
Please select Keçeci Number Type (1-16): 1
|
347
397
|
|
348
398
|
Enter the starting number (e.g., 0 or 2.5, complex:3+4j, rational: 3/4, quaternions: 1) : 0
|
349
399
|
|
@@ -0,0 +1,313 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# __init__.py
|
3
|
+
|
4
|
+
"""
|
5
|
+
Keçeci Numbers: A Comprehensive Framework for Number Sequence Analysis.
|
6
|
+
|
7
|
+
This package provides tools for generating, analyzing, and visualizing
|
8
|
+
11 different types of Keçeci Number sequences, from standard integers
|
9
|
+
to complex algebraic structures like quaternions and neutrosophic numbers.
|
10
|
+
|
11
|
+
Bu dosya paketin başlangıç noktası olarak çalışır.
|
12
|
+
Alt modülleri yükler, sürüm bilgileri tanımlar ve geriye dönük uyumluluk için uyarılar sağlar.
|
13
|
+
"""
|
14
|
+
|
15
|
+
from __future__ import annotations
|
16
|
+
import inspect
|
17
|
+
import importlib
|
18
|
+
import os
|
19
|
+
import warnings
|
20
|
+
|
21
|
+
# if os.getenv("DEVELOPMENT") == "true":
|
22
|
+
# importlib.reload(kececinumbers) # F821 undefined name 'kececinumbers'
|
23
|
+
|
24
|
+
# Paket sürüm numarası
|
25
|
+
__version__ = "0.6.9"
|
26
|
+
__author__ = "Mehmet Keçeci"
|
27
|
+
__email__ = "mkececi@yaani.com"
|
28
|
+
|
29
|
+
# Public API exposed to users of the 'kececinumbers' package.
|
30
|
+
# Public API exposed to users of the 'kececinumbers' package.
|
31
|
+
__all__ = [
|
32
|
+
# --- Custom Number Classes ---
|
33
|
+
'NeutrosophicNumber',
|
34
|
+
'NeutrosophicComplexNumber',
|
35
|
+
'HyperrealNumber',
|
36
|
+
'BicomplexNumber',
|
37
|
+
'NeutrosophicBicomplexNumber',
|
38
|
+
'OctonionNumber',
|
39
|
+
'Constants',
|
40
|
+
'SedenionNumber',
|
41
|
+
'CliffordNumber',
|
42
|
+
'DualNumber',
|
43
|
+
'SplitcomplexNumber',
|
44
|
+
|
45
|
+
# --- High-Level Functions ---
|
46
|
+
'get_with_params',
|
47
|
+
'get_interactive',
|
48
|
+
'get_random_type',
|
49
|
+
'_get_integer_representation',
|
50
|
+
'_parse_quaternion_from_csv',
|
51
|
+
'generate_kececi_vectorial',
|
52
|
+
'_plot_comparison', # DÜZELTİLDİ: '_plot_comparsion' -> '_plot_comparison'
|
53
|
+
'_find_kececi_zeta_zeros',
|
54
|
+
'_compute_gue_similarity',
|
55
|
+
'_load_zeta_zeros',
|
56
|
+
'analyze_all_types',
|
57
|
+
'analyze_pair_correlation',
|
58
|
+
'print_detailed_report',
|
59
|
+
'_gue_pair_correlation',
|
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
|
+
|
86
|
+
|
87
|
+
# --- Core Generation and Analysis ---
|
88
|
+
'unified_generator',
|
89
|
+
'is_prime',
|
90
|
+
'find_period',
|
91
|
+
'find_kececi_prime_number',
|
92
|
+
|
93
|
+
# --- Visualization and Reporting ---
|
94
|
+
'plot_numbers',
|
95
|
+
|
96
|
+
# --- Type Constants ---
|
97
|
+
'TYPE_POSITIVE_REAL',
|
98
|
+
'TYPE_NEGATIVE_REAL',
|
99
|
+
'TYPE_COMPLEX',
|
100
|
+
'TYPE_FLOAT',
|
101
|
+
'TYPE_RATIONAL',
|
102
|
+
'TYPE_QUATERNION',
|
103
|
+
'TYPE_NEUTROSOPHIC',
|
104
|
+
'TYPE_NEUTROSOPHIC_COMPLEX',
|
105
|
+
'TYPE_HYPERREAL',
|
106
|
+
'TYPE_BICOMPLEX',
|
107
|
+
'TYPE_NEUTROSOPHIC_BICOMPLEX',
|
108
|
+
'TYPE_OCTONION',
|
109
|
+
'TYPE_SEDENION',
|
110
|
+
'TYPE_CLIFFORD',
|
111
|
+
'TYPE_DUAL',
|
112
|
+
'TYPE_SPLIT_COMPLEX',
|
113
|
+
]
|
114
|
+
|
115
|
+
# Göreli modül içe aktarmaları
|
116
|
+
# F401 hatasını önlemek için sadece kullanacağınız şeyleri dışa aktarın
|
117
|
+
# Aksi halde linter'lar "imported but unused" uyarısı verir
|
118
|
+
from .kececinumbers import *
|
119
|
+
|
120
|
+
try:
|
121
|
+
#from .kececinumbers import * # gerekirse burada belirli fonksiyonları seçmeli yapmak daha güvenlidir
|
122
|
+
#from . import kececinumbers # Modülün kendisine doğrudan erişim isteniyorsa
|
123
|
+
# Import the public API into the package's namespace.
|
124
|
+
from .kececinumbers import (
|
125
|
+
# Classes
|
126
|
+
NeutrosophicNumber,
|
127
|
+
NeutrosophicComplexNumber,
|
128
|
+
HyperrealNumber,
|
129
|
+
BicomplexNumber,
|
130
|
+
NeutrosophicBicomplexNumber,
|
131
|
+
OctonionNumber,
|
132
|
+
Constants,
|
133
|
+
SedenionNumber,
|
134
|
+
CliffordNumber,
|
135
|
+
DualNumber,
|
136
|
+
SplitcomplexNumber,
|
137
|
+
|
138
|
+
|
139
|
+
# Functions
|
140
|
+
get_with_params,
|
141
|
+
get_interactive,
|
142
|
+
get_random_type,
|
143
|
+
_get_integer_representation,
|
144
|
+
_parse_quaternion_from_csv,
|
145
|
+
generate_kececi_vectorial,
|
146
|
+
unified_generator,
|
147
|
+
is_prime,
|
148
|
+
find_period,
|
149
|
+
find_kececi_prime_number,
|
150
|
+
plot_numbers,
|
151
|
+
print_detailed_report,
|
152
|
+
_plot_comparison,
|
153
|
+
_find_kececi_zeta_zeros,
|
154
|
+
_compute_gue_similarity,
|
155
|
+
_load_zeta_zeros,
|
156
|
+
analyze_all_types,
|
157
|
+
analyze_pair_correlation,
|
158
|
+
_gue_pair_correlation,
|
159
|
+
_pair_correlation,
|
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
|
+
|
184
|
+
|
185
|
+
# Constants
|
186
|
+
TYPE_POSITIVE_REAL,
|
187
|
+
TYPE_NEGATIVE_REAL,
|
188
|
+
TYPE_COMPLEX,
|
189
|
+
TYPE_FLOAT,
|
190
|
+
TYPE_RATIONAL,
|
191
|
+
TYPE_QUATERNION,
|
192
|
+
TYPE_NEUTROSOPHIC,
|
193
|
+
TYPE_NEUTROSOPHIC_COMPLEX,
|
194
|
+
TYPE_HYPERREAL,
|
195
|
+
TYPE_BICOMPLEX,
|
196
|
+
TYPE_NEUTROSOPHIC_BICOMPLEX,
|
197
|
+
TYPE_OCTONION,
|
198
|
+
TYPE_SEDENION,
|
199
|
+
TYPE_CLIFFORD,
|
200
|
+
TYPE_DUAL,
|
201
|
+
TYPE_SPLIT_COMPLEX,
|
202
|
+
)
|
203
|
+
except ImportError as e:
|
204
|
+
warnings.warn(f"Gerekli modül yüklenemedi: {e}", ImportWarning)
|
205
|
+
|
206
|
+
# Eski bir fonksiyonun yer tutucusu - gelecekte kaldırılacak
|
207
|
+
def eski_fonksiyon():
|
208
|
+
"""
|
209
|
+
Kaldırılması planlanan eski bir fonksiyondur.
|
210
|
+
Lütfen alternatif fonksiyonları kullanın.
|
211
|
+
"""
|
212
|
+
warnings.warn(
|
213
|
+
"eski_fonksiyon() artık kullanılmamaktadır ve gelecekte kaldırılacaktır. "
|
214
|
+
"Lütfen yeni alternatif fonksiyonları kullanın. "
|
215
|
+
"Keçeci numbers; Python 3.7-3.14 sürümlerinde sorunsuz çalışmalıdır.",
|
216
|
+
category=DeprecationWarning,
|
217
|
+
stacklevel=2
|
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
|
+
"""
|