kececinumbers 0.4.4__tar.gz → 0.4.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kececinumbers
3
- Version: 0.4.4
3
+ Version: 0.4.6
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
@@ -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.4"
24
+ __version__ = "0.4.5"
25
25
  __author__ = "Mehmet Keçeci"
26
26
  __email__ = "mkececi@yaani.com"
27
27
 
@@ -1,6 +1,6 @@
1
1
  # _version.py
2
2
 
3
- __version__ = "0.4.4"
3
+ __version__ = "0.4.5"
4
4
  __license__ = "MIT"
5
5
  __description__ = "Keçeci Numbers: An Exploration of a Dynamic Sequence Across Diverse Number Sets."
6
6
  __author__ = "Mehmet Keçeci"
@@ -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}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kececinumbers
3
- Version: 0.4.4
3
+ Version: 0.4.6
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
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "kececinumbers"
9
- version = "0.4.4"
9
+ version = "0.4.6"
10
10
 
11
11
  # Diğer proje bilgileri (isteğe bağlı ama tavsiye edilir)
12
12
  authors = [
File without changes
File without changes
File without changes
File without changes
File without changes