kececinumbers 0.4.3__py3-none-any.whl → 0.4.5__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 +3 -1
- kececinumbers/_version.py +1 -1
- kececinumbers/kececinumbers.py +4 -2
- {kececinumbers-0.4.3.dist-info → kececinumbers-0.4.5.dist-info}/METADATA +1 -1
- kececinumbers-0.4.5.dist-info/RECORD +8 -0
- kececinumbers-0.4.3.dist-info/RECORD +0 -8
- {kececinumbers-0.4.3.dist-info → kececinumbers-0.4.5.dist-info}/WHEEL +0 -0
- {kececinumbers-0.4.3.dist-info → kececinumbers-0.4.5.dist-info}/licenses/LICENSE +0 -0
- {kececinumbers-0.4.3.dist-info → kececinumbers-0.4.5.dist-info}/top_level.txt +0 -0
kececinumbers/__init__.py
CHANGED
@@ -21,7 +21,7 @@ import warnings
|
|
21
21
|
# importlib.reload(kececinumbers) # F821 undefined name 'kececinumbers'
|
22
22
|
|
23
23
|
# Paket sürüm numarası
|
24
|
-
__version__ = "0.4.
|
24
|
+
__version__ = "0.4.5"
|
25
25
|
__author__ = "Mehmet Keçeci"
|
26
26
|
__email__ = "mkececi@yaani.com"
|
27
27
|
|
@@ -38,6 +38,7 @@ __all__ = [
|
|
38
38
|
'get_with_params',
|
39
39
|
'get_interactive',
|
40
40
|
'get_random_type',
|
41
|
+
'_get_integer_representation',
|
41
42
|
|
42
43
|
# --- Core Generation and Analysis ---
|
43
44
|
'unified_generator',
|
@@ -82,6 +83,7 @@ try:
|
|
82
83
|
get_with_params,
|
83
84
|
get_interactive,
|
84
85
|
get_random_type,
|
86
|
+
_get_integer_representation,
|
85
87
|
unified_generator,
|
86
88
|
is_prime,
|
87
89
|
find_period,
|
kececinumbers/_version.py
CHANGED
kececinumbers/kececinumbers.py
CHANGED
@@ -488,6 +488,10 @@ def get_random_type(num_iterations: int, fixed_start_raw: str = "0", fixed_add_b
|
|
488
488
|
|
489
489
|
def unified_generator(kececi_type: int, start_input_raw: str, add_input_base_scalar: float, iterations: int) -> List[Any]:
|
490
490
|
"""Core engine to generate Keçeci Number sequences."""
|
491
|
+
|
492
|
+
if not (TYPE_POSITIVE_REAL <= kececi_type <= TYPE_NEUTROSOPHIC_BICOMPLEX):
|
493
|
+
raise ValueError(f"Invalid Keçeci Number Type: {kececi_type}. Must be between {TYPE_POSITIVE_REAL} and {TYPE_NEUTROSOPHIC_BICOMPLEX}.")
|
494
|
+
|
491
495
|
current_value = None
|
492
496
|
add_value_typed = None
|
493
497
|
ask_unit = None
|
@@ -545,8 +549,6 @@ def unified_generator(kececi_type: int, start_input_raw: str, add_input_base_sca
|
|
545
549
|
current_value = _parse_quaternion(start_input_raw)
|
546
550
|
add_value_typed = np.quaternion(a_float, a_float, a_float, a_float)
|
547
551
|
ask_unit = np.quaternion(1, 1, 1, 1)
|
548
|
-
else:
|
549
|
-
raise ValueError(f"Invalid Keçeci Number Type: {kececi_type}")
|
550
552
|
|
551
553
|
except (ValueError, TypeError) as e:
|
552
554
|
print(f"ERROR: Failed to initialize type {kececi_type} with input '{start_input_raw}': {e}")
|
@@ -0,0 +1,8 @@
|
|
1
|
+
kececinumbers/__init__.py,sha256=-tFCu7U8ZtvdRKlNEbWYvbaj4iESqnZIiHuOv8_SJnk,3596
|
2
|
+
kececinumbers/_version.py,sha256=UqBf2qxJKmEp9RFNVJUqugyd4v60MzcUIwqPKkbyMGM,429
|
3
|
+
kececinumbers/kececinumbers.py,sha256=nlK65PcoiCJ32xbnwLpNFesfTiaksUyodqc2bj7lcSk,39705
|
4
|
+
kececinumbers-0.4.5.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
|
5
|
+
kececinumbers-0.4.5.dist-info/METADATA,sha256=1v5CbMZ1uw_7VrnubSmo_H_kUQKpfdZWvl6PQSGk3IQ,32997
|
6
|
+
kececinumbers-0.4.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
kececinumbers-0.4.5.dist-info/top_level.txt,sha256=VvlbQKmTjOlzBbvq54-AaXp_WPRZ5dOhw91lV-ytPRQ,14
|
8
|
+
kececinumbers-0.4.5.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
kececinumbers/__init__.py,sha256=VXI0lGJDkbwZSSHkjUuXVdPlSXKSGMvWmVCe0zktBzs,3524
|
2
|
-
kececinumbers/_version.py,sha256=xWPrHescd18VB2ZfGcr_QyxQbDc8QJzm_EHNC7UETME,429
|
3
|
-
kececinumbers/kececinumbers.py,sha256=xCEc-nj8wj4jd290nkdInytaSMNS56bUJo7VZIpzUFM,39565
|
4
|
-
kececinumbers-0.4.3.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
|
5
|
-
kececinumbers-0.4.3.dist-info/METADATA,sha256=guYA_dplig5chncXia-qk7Lm6h7cIApdJm82dn3yeOo,32997
|
6
|
-
kececinumbers-0.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
kececinumbers-0.4.3.dist-info/top_level.txt,sha256=VvlbQKmTjOlzBbvq54-AaXp_WPRZ5dOhw91lV-ytPRQ,14
|
8
|
-
kececinumbers-0.4.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|