kececinumbers 0.2.1__tar.gz → 0.2.2__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.2.1/kececinumbers.egg-info → kececinumbers-0.2.2}/PKG-INFO +1 -1
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/kececinumbers/__init__.py +1 -1
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/kececinumbers/_version.py +1 -1
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/kececinumbers/kececinumbers.py +18 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2/kececinumbers.egg-info}/PKG-INFO +1 -1
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/setup.py +1 -1
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/LICENSE +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/MANIFEST.in +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/README.md +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/kececinumbers.egg-info/SOURCES.txt +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/kececinumbers.egg-info/dependency_links.txt +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/kececinumbers.egg-info/requires.txt +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/kececinumbers.egg-info/top_level.txt +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/pyproject.toml +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/setup.cfg +0 -0
- {kececinumbers-0.2.1 → kececinumbers-0.2.2}/tests/test_sample.py +0 -0
@@ -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
|
"""
|
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
|
3
3
|
|
4
4
|
setup(
|
5
5
|
name="kececinumbers",
|
6
|
-
version="0.2.
|
6
|
+
version="0.2.2",
|
7
7
|
description="Keçeci Numbers: An Exploration of a Dynamic Sequence Across Diverse Number Sets",
|
8
8
|
long_description=open("README.md").read(),
|
9
9
|
long_description_content_type="text/markdown",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|