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 +1 -1
- kececinumbers/_version.py +1 -1
- kececinumbers/kececinumbers.py +18 -0
- {kececinumbers-0.2.1.dist-info → kececinumbers-0.2.2.dist-info}/METADATA +1 -1
- kececinumbers-0.2.2.dist-info/RECORD +8 -0
- kececinumbers-0.2.1.dist-info/RECORD +0 -8
- {kececinumbers-0.2.1.dist-info → kececinumbers-0.2.2.dist-info}/WHEEL +0 -0
- {kececinumbers-0.2.1.dist-info → kececinumbers-0.2.2.dist-info}/licenses/LICENSE +0 -0
- {kececinumbers-0.2.1.dist-info → kececinumbers-0.2.2.dist-info}/top_level.txt +0 -0
kececinumbers/__init__.py
CHANGED
kececinumbers/_version.py
CHANGED
kececinumbers/kececinumbers.py
CHANGED
@@ -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
|
"""
|
@@ -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,,
|
File without changes
|
File without changes
|
File without changes
|