kececinumbers 0.3.2__py3-none-any.whl → 0.3.4__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 +89 -9
- kececinumbers/_version.py +1 -1
- kececinumbers/kececinumbers.py +288 -638
- {kececinumbers-0.3.2.dist-info → kececinumbers-0.3.4.dist-info}/METADATA +12 -7
- kececinumbers-0.3.4.dist-info/RECORD +8 -0
- kececinumbers-0.3.2.dist-info/RECORD +0 -8
- {kececinumbers-0.3.2.dist-info → kececinumbers-0.3.4.dist-info}/WHEEL +0 -0
- {kececinumbers-0.3.2.dist-info → kececinumbers-0.3.4.dist-info}/licenses/LICENSE +0 -0
- {kececinumbers-0.3.2.dist-info → kececinumbers-0.3.4.dist-info}/top_level.txt +0 -0
kececinumbers/__init__.py
CHANGED
@@ -1,20 +1,104 @@
|
|
1
1
|
# __init__.py
|
2
|
-
|
3
|
-
|
2
|
+
|
3
|
+
"""
|
4
|
+
Keçeci Numbers: A Comprehensive Framework for Number Sequence Analysis.
|
5
|
+
|
6
|
+
This package provides tools for generating, analyzing, and visualizing
|
7
|
+
11 different types of Keçeci Number sequences, from standard integers
|
8
|
+
to complex algebraic structures like quaternions and neutrosophic numbers.
|
9
|
+
|
10
|
+
Bu dosya paketin başlangıç noktası olarak çalışır.
|
11
|
+
Alt modülleri yükler, sürüm bilgileri tanımlar ve geriye dönük uyumluluk için uyarılar sağlar.
|
12
|
+
"""
|
4
13
|
|
5
14
|
from __future__ import annotations
|
6
15
|
import importlib
|
7
|
-
import warnings
|
8
16
|
import os
|
17
|
+
import warnings
|
18
|
+
|
9
19
|
# if os.getenv("DEVELOPMENT") == "true":
|
10
20
|
# importlib.reload(kececinumbers) # F821 undefined name 'kececinumbers'
|
11
21
|
|
22
|
+
# Paket sürüm numarası
|
23
|
+
__version__ = "0.3.4"
|
24
|
+
__author__ = "Mehmet Keçeci"
|
25
|
+
__email__ = "mkececi@yaani.com"
|
26
|
+
|
27
|
+
# Public API exposed to users of the 'kececinumbers' package.
|
28
|
+
__all__ = [
|
29
|
+
# --- Custom Number Classes ---
|
30
|
+
'NeutrosophicNumber',
|
31
|
+
'NeutrosophicComplexNumber',
|
32
|
+
'HyperrealNumber',
|
33
|
+
'BicomplexNumber',
|
34
|
+
'NeutrosophicBicomplexNumber',
|
35
|
+
|
36
|
+
# --- High-Level Functions ---
|
37
|
+
'get_with_params',
|
38
|
+
'get_interactive',
|
39
|
+
'get_random_type',
|
40
|
+
|
41
|
+
# --- Core Generation and Analysis ---
|
42
|
+
'unified_generator',
|
43
|
+
'is_prime',
|
44
|
+
'find_kececi_prime_number',
|
45
|
+
|
46
|
+
# --- Visualization and Reporting ---
|
47
|
+
'plot_numbers',
|
48
|
+
'print_detailed_report',
|
49
|
+
|
50
|
+
# --- Type Constants ---
|
51
|
+
'TYPE_POSITIVE_REAL',
|
52
|
+
'TYPE_NEGATIVE_REAL',
|
53
|
+
'TYPE_COMPLEX',
|
54
|
+
'TYPE_FLOAT',
|
55
|
+
'TYPE_RATIONAL',
|
56
|
+
'TYPE_QUATERNION',
|
57
|
+
'TYPE_NEUTROSOPHIC',
|
58
|
+
'TYPE_NEUTROSOPHIC_COMPLEX',
|
59
|
+
'TYPE_HYPERREAL',
|
60
|
+
'TYPE_BICOMPLEX',
|
61
|
+
'TYPE_NEUTROSOPHIC_BICOMPLEX'
|
62
|
+
]
|
63
|
+
|
12
64
|
# Göreli modül içe aktarmaları
|
13
65
|
# F401 hatasını önlemek için sadece kullanacağınız şeyleri dışa aktarın
|
14
66
|
# Aksi halde linter'lar "imported but unused" uyarısı verir
|
15
67
|
try:
|
16
|
-
from .kececinumbers import * # gerekirse burada belirli fonksiyonları seçmeli yapmak daha güvenlidir
|
17
|
-
from . import kececinumbers # Modülün kendisine doğrudan erişim isteniyorsa
|
68
|
+
#from .kececinumbers import * # gerekirse burada belirli fonksiyonları seçmeli yapmak daha güvenlidir
|
69
|
+
#from . import kececinumbers # Modülün kendisine doğrudan erişim isteniyorsa
|
70
|
+
# Import the public API into the package's namespace.
|
71
|
+
from .kececinumbers import (
|
72
|
+
# Classes
|
73
|
+
NeutrosophicNumber,
|
74
|
+
NeutrosophicComplexNumber,
|
75
|
+
HyperrealNumber,
|
76
|
+
BicomplexNumber,
|
77
|
+
NeutrosophicBicomplexNumber,
|
78
|
+
|
79
|
+
# Functions
|
80
|
+
get_with_params,
|
81
|
+
get_interactive,
|
82
|
+
get_random_type,
|
83
|
+
unified_generator,
|
84
|
+
is_prime,
|
85
|
+
find_kececi_prime_number,
|
86
|
+
plot_numbers,
|
87
|
+
print_detailed_report,
|
88
|
+
|
89
|
+
# Constants
|
90
|
+
TYPE_POSITIVE_REAL,
|
91
|
+
TYPE_NEGATIVE_REAL,
|
92
|
+
TYPE_COMPLEX,
|
93
|
+
TYPE_FLOAT,
|
94
|
+
TYPE_RATIONAL,
|
95
|
+
TYPE_QUATERNION,
|
96
|
+
TYPE_NEUTROSOPHIC,
|
97
|
+
TYPE_NEUTROSOPHIC_COMPLEX,
|
98
|
+
TYPE_HYPERREAL,
|
99
|
+
TYPE_BICOMPLEX,
|
100
|
+
TYPE_NEUTROSOPHIC_BICOMPLEX
|
101
|
+
)
|
18
102
|
except ImportError as e:
|
19
103
|
warnings.warn(f"Gerekli modül yüklenemedi: {e}", ImportWarning)
|
20
104
|
|
@@ -31,7 +115,3 @@ def eski_fonksiyon():
|
|
31
115
|
category=DeprecationWarning,
|
32
116
|
stacklevel=2
|
33
117
|
)
|
34
|
-
|
35
|
-
|
36
|
-
# Paket sürüm numarası
|
37
|
-
__version__ = "0.3.2"
|