kececinumbers 0.3.3__tar.gz → 0.3.4__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.3.3
3
+ Version: 0.3.4
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
@@ -58,7 +58,8 @@ Dynamic: summary
58
58
  [![Binder](https://terrarium.evidencepub.io/badge_logo.svg)](https://terrarium.evidencepub.io/v2/gh/WhiteSymmetry/kececinumbers/HEAD)
59
59
  [![PyPI version](https://badge.fury.io/py/kececinumbers.svg)](https://badge.fury.io/py/kececinumbers)
60
60
  [![PyPI Downloads](https://static.pepy.tech/badge/kececinumbers)](https://pepy.tech/projects/kececinumbers)
61
- [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
61
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
62
+ [![Linted with Ruff](https://img.shields.io/badge/Linted%20with-Ruff-green?logo=python&logoColor=white)](https://github.com/astral-sh/ruff)
62
63
 
63
64
  ---
64
65
 
@@ -25,7 +25,8 @@
25
25
  [![Binder](https://terrarium.evidencepub.io/badge_logo.svg)](https://terrarium.evidencepub.io/v2/gh/WhiteSymmetry/kececinumbers/HEAD)
26
26
  [![PyPI version](https://badge.fury.io/py/kececinumbers.svg)](https://badge.fury.io/py/kececinumbers)
27
27
  [![PyPI Downloads](https://static.pepy.tech/badge/kececinumbers)](https://pepy.tech/projects/kececinumbers)
28
- [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
28
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
29
+ [![Linted with Ruff](https://img.shields.io/badge/Linted%20with-Ruff-green?logo=python&logoColor=white)](https://github.com/astral-sh/ruff)
29
30
 
30
31
  ---
31
32
 
@@ -0,0 +1,117 @@
1
+ # __init__.py
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
+ """
13
+
14
+ from __future__ import annotations
15
+ import importlib
16
+ import os
17
+ import warnings
18
+
19
+ # if os.getenv("DEVELOPMENT") == "true":
20
+ # importlib.reload(kececinumbers) # F821 undefined name 'kececinumbers'
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
+
64
+ # Göreli modül içe aktarmaları
65
+ # F401 hatasını önlemek için sadece kullanacağınız şeyleri dışa aktarın
66
+ # Aksi halde linter'lar "imported but unused" uyarısı verir
67
+ try:
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
+ )
102
+ except ImportError as e:
103
+ warnings.warn(f"Gerekli modül yüklenemedi: {e}", ImportWarning)
104
+
105
+ # Eski bir fonksiyonun yer tutucusu - gelecekte kaldırılacak
106
+ def eski_fonksiyon():
107
+ """
108
+ Kaldırılması planlanan eski bir fonksiyondur.
109
+ Lütfen alternatif fonksiyonları kullanın.
110
+ """
111
+ warnings.warn(
112
+ "eski_fonksiyon() artık kullanılmamaktadır ve gelecekte kaldırılacaktır. "
113
+ "Lütfen yeni alternatif fonksiyonları kullanın. "
114
+ "Keçeci numbers; Python 3.7-3.14 sürümlerinde sorunsuz çalışmalıdır.",
115
+ category=DeprecationWarning,
116
+ stacklevel=2
117
+ )
@@ -1,6 +1,6 @@
1
1
  # _version.py
2
2
 
3
- __version__ = "0.3.3"
3
+ __version__ = "0.3.4"
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"