kececinumbers 0.2.1__py3-none-any.whl → 0.2.2__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 CHANGED
@@ -34,4 +34,4 @@ def eski_fonksiyon():
34
34
 
35
35
 
36
36
  # Paket sürüm numarası
37
- __version__ = "0.2.0"
37
+ __version__ = "0.2.2"
kececinumbers/_version.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # _version.py
2
2
 
3
- __version__ = "0.2.0"
3
+ __version__ = "0.2.2"
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"
@@ -53,6 +53,24 @@ TYPE_NEUTROSOPHIC_BICOMPLEX = 11
53
53
  # --- CUSTOM NUMBER CLASS DEFINITIONS ---
54
54
  # ==============================================================================
55
55
 
56
+ def get_random_type(num_iterations, use_fixed_params_for_selected_type=True,
57
+ fixed_start_raw="0", fixed_add_base_scalar=9.0, random_factor=10):
58
+ """
59
+ Generates Keçeci Numbers for a randomly selected type.
60
+ """
61
+ random_type_choice = random.randint(1, 6)
62
+ type_names_list = ["Positive Integer", "Negative Integer", "Complex", "Float", "Rational", "Quaternion"]
63
+ print(f"\nRandomly selected Keçeci Number Type: {random_type_choice} ({type_names_list[random_type_choice-1]})")
64
+
65
+ # get_with_params fonksiyonu zaten KPN'yi yazdıracak, bu yüzden burada tekrar yazdırmaya gerek yok.
66
+ # Sadece get_with_params'ı çağırıyoruz.
67
+ generated_sequence = get_with_params(random_type_choice, num_iterations,
68
+ start_value_raw=fixed_start_raw,
69
+ add_value_base_scalar=fixed_add_base_scalar,
70
+ fixed_params=use_fixed_params_for_selected_type,
71
+ random_range_factor=random_factor)
72
+ return generated_sequence # get_with_params zaten KPN yazdırıyor.
73
+
56
74
  @dataclass
57
75
  class NeutrosophicNumber:
58
76
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kececinumbers
3
- Version: 0.2.1
3
+ Version: 0.2.2
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
@@ -0,0 +1,8 @@
1
+ kececinumbers/__init__.py,sha256=JsyncFH_EvulqHonq8ZwQ0U320Pn6jQGnDQGZIZ9J2k,1427
2
+ kececinumbers/_version.py,sha256=jUYrWHUGa7z5CqDjSpttj3lcGyBCIj6VN42MMCBWxL8,428
3
+ kececinumbers/kececinumbers.py,sha256=HKzpmaTy59CGilyn5Y-fbgyjK4VftNPg_SbQi3EYW9s,37918
4
+ kececinumbers-0.2.2.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
5
+ kececinumbers-0.2.2.dist-info/METADATA,sha256=euR0t75LxU49XvdiKOBoYWxQxYOCPHM2zByoQVMmlqg,14097
6
+ kececinumbers-0.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ kececinumbers-0.2.2.dist-info/top_level.txt,sha256=VvlbQKmTjOlzBbvq54-AaXp_WPRZ5dOhw91lV-ytPRQ,14
8
+ kececinumbers-0.2.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- kececinumbers/__init__.py,sha256=k5lyoaqCfkLoRfgQ_ITfAQBBDwxz-MMkB3Vuo8W8cfs,1427
2
- kececinumbers/_version.py,sha256=Cfs4a53BI6K8jI_1NHNBFWPPJ_zXwUrVNHA10jMt4fg,428
3
- kececinumbers/kececinumbers.py,sha256=0zvzVA5JdZONoXDicxEAcktFoJIpRfQDA5vIU7QVERQ,36768
4
- kececinumbers-0.2.1.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
5
- kececinumbers-0.2.1.dist-info/METADATA,sha256=SxaEnEhu4gjF8-URz1MapbR85x0LEybWgUz4vUB9vAs,14097
6
- kececinumbers-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- kececinumbers-0.2.1.dist-info/top_level.txt,sha256=VvlbQKmTjOlzBbvq54-AaXp_WPRZ5dOhw91lV-ytPRQ,14
8
- kececinumbers-0.2.1.dist-info/RECORD,,