adnus 0.1.0__tar.gz → 0.1.1__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.
Potentially problematic release.
This version of adnus might be problematic. Click here for more details.
- {adnus-0.1.0 → adnus-0.1.1}/PKG-INFO +59 -43
- {adnus-0.1.0 → adnus-0.1.1}/README.md +57 -41
- {adnus-0.1.0 → adnus-0.1.1}/pyproject.toml +5 -5
- {adnus-0.1.0 → adnus-0.1.1}/src/adnus/_version.py +1 -1
- {adnus-0.1.0 → adnus-0.1.1}/LICENSE +0 -0
- {adnus-0.1.0 → adnus-0.1.1}/src/adnus/__init__.py +0 -0
- {adnus-0.1.0 → adnus-0.1.1}/src/adnus/main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: adnus
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, and Hyperreal numbers.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Mehmet Keçeci
|
|
@@ -11,11 +11,42 @@ Classifier: Programming Language :: Python :: 3
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
-
Requires-Dist: numpy (>=2.3.
|
|
14
|
+
Requires-Dist: numpy (>=2.3.2,<3.0.0)
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
|
|
17
17
|
# adnus (AdNuS): Advanced Number Systems.
|
|
18
18
|
|
|
19
|
+
---
|
|
20
|
+
[](https://badge.fury.io/py/adnus)
|
|
21
|
+
|
|
22
|
+
[](https://opensource.org/licenses/MIT)
|
|
23
|
+
|
|
24
|
+
[](https://doi.org/10.5281/zenodo.16341919)
|
|
25
|
+
|
|
26
|
+
[](https://doi.org/10.48546/workflowhub.datafile.23.1)
|
|
27
|
+
|
|
28
|
+
[](https://doi.org/10.6084/m9.figshare.29621336)
|
|
29
|
+
|
|
30
|
+
[](https://doi.org/10.17605/OSF.IO/9C26Y)
|
|
31
|
+
|
|
32
|
+
[](https://anaconda.org/bilgi/adnus)
|
|
33
|
+
[](https://anaconda.org/bilgi/adnus)
|
|
34
|
+
[](https://anaconda.org/bilgi/adnus)
|
|
35
|
+
[](https://anaconda.org/bilgi/adnus)
|
|
36
|
+
|
|
37
|
+
[](https://opensource.org/)
|
|
38
|
+
[](https://adnus.readthedocs.io/en/latest)
|
|
39
|
+
|
|
40
|
+
[](https://www.bestpractices.dev/projects/-)
|
|
41
|
+
|
|
42
|
+
[](https://github.com/WhiteSymmetry/adnus/actions/workflows/python_ci.yml)
|
|
43
|
+
[](https://codecov.io/gh/WhiteSymmetry/adnus)
|
|
44
|
+
[](https://adnus.readthedocs.io/en/latest/)
|
|
45
|
+
[](https://terrarium.evidencepub.io/v2/gh/WhiteSymmetry/adnus/HEAD)
|
|
46
|
+
[](https://badge.fury.io/py/adnus)
|
|
47
|
+
[](https://pepy.tech/projects/adnus)
|
|
48
|
+
[](CODE_OF_CONDUCT.md)
|
|
49
|
+
[](https://github.com/astral-sh/ruff)
|
|
19
50
|
|
|
20
51
|
---
|
|
21
52
|
|
|
@@ -40,8 +71,8 @@ Description-Content-Type: text/markdown
|
|
|
40
71
|
<tr>
|
|
41
72
|
<td style="text-align: center;">DOI</td>
|
|
42
73
|
<td style="text-align: center;">
|
|
43
|
-
<a href="https://doi.org/10.5281/zenodo.
|
|
44
|
-
<img src="https://zenodo.org/badge/DOI
|
|
74
|
+
<a href="https://doi.org/10.5281/zenodo.16341919">
|
|
75
|
+
<img src="https://zenodo.org/badge/DOI/10.5281/zenodo.16341919.svg" alt="DOI" height="18"/>
|
|
45
76
|
</a>
|
|
46
77
|
</td>
|
|
47
78
|
</tr>
|
|
@@ -57,12 +88,7 @@ Description-Content-Type: text/markdown
|
|
|
57
88
|
</p>
|
|
58
89
|
|
|
59
90
|
---
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
adnus (AdNuS): Advanced Number Systems.
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
# AdNuS: Advanced Number Systems
|
|
91
|
+
# adnus (AdNuS): Advanced Number Systems.
|
|
66
92
|
|
|
67
93
|
`adnus` is a Python library that provides an implementation of various advanced number systems. This library is designed for mathematicians, researchers, and developers who need to work with number systems beyond the standard real and complex numbers.
|
|
68
94
|
|
|
@@ -85,17 +111,23 @@ cd adnus
|
|
|
85
111
|
poetry install
|
|
86
112
|
```
|
|
87
113
|
|
|
88
|
-
## Usage
|
|
114
|
+
## Kullanım (Türkçe) / Usage (English)
|
|
115
|
+
|
|
116
|
+
```python
|
|
117
|
+
import adnus
|
|
118
|
+
adnus.__version__
|
|
119
|
+
```
|
|
89
120
|
|
|
90
121
|
Here's a quick overview of how to use the different number systems available in `adnus`.
|
|
91
122
|
|
|
92
123
|
### Bicomplex Numbers
|
|
93
124
|
|
|
94
125
|
```python
|
|
95
|
-
|
|
126
|
+
import adnus as ad
|
|
127
|
+
#from adnus import BicomplexNumber
|
|
96
128
|
|
|
97
|
-
z1 = BicomplexNumber(1 + 2j, 3 + 4j)
|
|
98
|
-
z2 = BicomplexNumber(5 + 6j, 7 + 8j)
|
|
129
|
+
z1 = ad.BicomplexNumber(1 + 2j, 3 + 4j)
|
|
130
|
+
z2 = ad.BicomplexNumber(5 + 6j, 7 + 8j)
|
|
99
131
|
|
|
100
132
|
print(f"Addition: {z1 + z2}")
|
|
101
133
|
print(f"Multiplication: {z1 * z2}")
|
|
@@ -104,10 +136,11 @@ print(f"Multiplication: {z1 * z2}")
|
|
|
104
136
|
### Neutrosophic Numbers
|
|
105
137
|
|
|
106
138
|
```python
|
|
107
|
-
|
|
139
|
+
import adnus as ad
|
|
140
|
+
# from adnus import NeutrosophicNumber
|
|
108
141
|
|
|
109
|
-
n1 = NeutrosophicNumber(1.5, 2.5)
|
|
110
|
-
n2 = NeutrosophicNumber(3.0, 4.0)
|
|
142
|
+
n1 = ad.NeutrosophicNumber(1.5, 2.5)
|
|
143
|
+
n2 = ad. NeutrosophicNumber(3.0, 4.0)
|
|
111
144
|
|
|
112
145
|
print(f"Addition: {n1 + n2}")
|
|
113
146
|
print(f"Multiplication: {n1 * n2}")
|
|
@@ -165,26 +198,6 @@ pip install git+https://github.com/WhiteSymmetry/adnus.git
|
|
|
165
198
|
|
|
166
199
|
---
|
|
167
200
|
|
|
168
|
-
## Kullanım (Türkçe) / Usage (English)
|
|
169
|
-
|
|
170
|
-
```python
|
|
171
|
-
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
```python
|
|
175
|
-
import adnus
|
|
176
|
-
adnus.__version__
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
```python
|
|
180
|
-
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
```python
|
|
184
|
-
|
|
185
|
-
```
|
|
186
|
-
---
|
|
187
|
-
|
|
188
201
|
### Development
|
|
189
202
|
```bash
|
|
190
203
|
# Clone the repository
|
|
@@ -215,11 +228,13 @@ If this library was useful to you in your research, please cite us. Following th
|
|
|
215
228
|
|
|
216
229
|
Keçeci, M. (2025). adnus [Data set]. ResearchGate. https://doi.org/
|
|
217
230
|
|
|
218
|
-
Keçeci, M. (2025). adnus [Data set].
|
|
231
|
+
Keçeci, M. (2025). adnus [Data set]. OSF. https://doi.org/10.17605/OSF.IO/9C26Y
|
|
219
232
|
|
|
220
|
-
Keçeci, M. (2025). adnus [Data set].
|
|
233
|
+
Keçeci, M. (2025). adnus [Data set]. figshare. https://doi.org/10.6084/m9.figshare.29621336
|
|
221
234
|
|
|
222
|
-
Keçeci, M. (2025). adnus
|
|
235
|
+
Keçeci, M. (2025). adnus [Data set]. WorkflowHub. https://doi.org/10.48546/workflowhub.datafile.23.1
|
|
236
|
+
|
|
237
|
+
Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org/10.5281/zenodo.16341919
|
|
223
238
|
|
|
224
239
|
### Chicago
|
|
225
240
|
|
|
@@ -228,11 +243,11 @@ Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org
|
|
|
228
243
|
|
|
229
244
|
Keçeci, Mehmet. adnus [Data set]. ResearchGate, 2025. https://doi.org/
|
|
230
245
|
|
|
231
|
-
Keçeci,
|
|
246
|
+
Keçeci, M. (2025). <i>adnus</i> (Version 1). figshare. https://doi.org/10.6084/m9.figshare.29621336
|
|
232
247
|
|
|
233
|
-
Keçeci, Mehmet. adnus [Data set]. WorkflowHub, 2025. https://doi.org/
|
|
248
|
+
Keçeci, Mehmet. adnus [Data set]. WorkflowHub, 2025. https://doi.org/10.48546/workflowhub.datafile.23.1
|
|
234
249
|
|
|
235
|
-
Keçeci, Mehmet. adnus. Open Science Articles (OSAs), Zenodo, 2025. https://doi.org/
|
|
250
|
+
Keçeci, Mehmet. adnus. Open Science Articles (OSAs), Zenodo, 2025. https://doi.org/10.5281/zenodo.16341919
|
|
236
251
|
|
|
237
252
|
```
|
|
238
253
|
|
|
@@ -247,3 +262,4 @@ This project is licensed under the MIT License.
|
|
|
247
262
|
|
|
248
263
|
Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.
|
|
249
264
|
|
|
265
|
+
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# adnus (AdNuS): Advanced Number Systems.
|
|
2
2
|
|
|
3
|
+
---
|
|
4
|
+
[](https://badge.fury.io/py/adnus)
|
|
5
|
+
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
[](https://doi.org/10.5281/zenodo.16341919)
|
|
9
|
+
|
|
10
|
+
[](https://doi.org/10.48546/workflowhub.datafile.23.1)
|
|
11
|
+
|
|
12
|
+
[](https://doi.org/10.6084/m9.figshare.29621336)
|
|
13
|
+
|
|
14
|
+
[](https://doi.org/10.17605/OSF.IO/9C26Y)
|
|
15
|
+
|
|
16
|
+
[](https://anaconda.org/bilgi/adnus)
|
|
17
|
+
[](https://anaconda.org/bilgi/adnus)
|
|
18
|
+
[](https://anaconda.org/bilgi/adnus)
|
|
19
|
+
[](https://anaconda.org/bilgi/adnus)
|
|
20
|
+
|
|
21
|
+
[](https://opensource.org/)
|
|
22
|
+
[](https://adnus.readthedocs.io/en/latest)
|
|
23
|
+
|
|
24
|
+
[](https://www.bestpractices.dev/projects/-)
|
|
25
|
+
|
|
26
|
+
[](https://github.com/WhiteSymmetry/adnus/actions/workflows/python_ci.yml)
|
|
27
|
+
[](https://codecov.io/gh/WhiteSymmetry/adnus)
|
|
28
|
+
[](https://adnus.readthedocs.io/en/latest/)
|
|
29
|
+
[](https://terrarium.evidencepub.io/v2/gh/WhiteSymmetry/adnus/HEAD)
|
|
30
|
+
[](https://badge.fury.io/py/adnus)
|
|
31
|
+
[](https://pepy.tech/projects/adnus)
|
|
32
|
+
[](CODE_OF_CONDUCT.md)
|
|
33
|
+
[](https://github.com/astral-sh/ruff)
|
|
3
34
|
|
|
4
35
|
---
|
|
5
36
|
|
|
@@ -24,8 +55,8 @@
|
|
|
24
55
|
<tr>
|
|
25
56
|
<td style="text-align: center;">DOI</td>
|
|
26
57
|
<td style="text-align: center;">
|
|
27
|
-
<a href="https://doi.org/10.5281/zenodo.
|
|
28
|
-
<img src="https://zenodo.org/badge/DOI
|
|
58
|
+
<a href="https://doi.org/10.5281/zenodo.16341919">
|
|
59
|
+
<img src="https://zenodo.org/badge/DOI/10.5281/zenodo.16341919.svg" alt="DOI" height="18"/>
|
|
29
60
|
</a>
|
|
30
61
|
</td>
|
|
31
62
|
</tr>
|
|
@@ -41,12 +72,7 @@
|
|
|
41
72
|
</p>
|
|
42
73
|
|
|
43
74
|
---
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
adnus (AdNuS): Advanced Number Systems.
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
# AdNuS: Advanced Number Systems
|
|
75
|
+
# adnus (AdNuS): Advanced Number Systems.
|
|
50
76
|
|
|
51
77
|
`adnus` is a Python library that provides an implementation of various advanced number systems. This library is designed for mathematicians, researchers, and developers who need to work with number systems beyond the standard real and complex numbers.
|
|
52
78
|
|
|
@@ -69,17 +95,23 @@ cd adnus
|
|
|
69
95
|
poetry install
|
|
70
96
|
```
|
|
71
97
|
|
|
72
|
-
## Usage
|
|
98
|
+
## Kullanım (Türkçe) / Usage (English)
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
import adnus
|
|
102
|
+
adnus.__version__
|
|
103
|
+
```
|
|
73
104
|
|
|
74
105
|
Here's a quick overview of how to use the different number systems available in `adnus`.
|
|
75
106
|
|
|
76
107
|
### Bicomplex Numbers
|
|
77
108
|
|
|
78
109
|
```python
|
|
79
|
-
|
|
110
|
+
import adnus as ad
|
|
111
|
+
#from adnus import BicomplexNumber
|
|
80
112
|
|
|
81
|
-
z1 = BicomplexNumber(1 + 2j, 3 + 4j)
|
|
82
|
-
z2 = BicomplexNumber(5 + 6j, 7 + 8j)
|
|
113
|
+
z1 = ad.BicomplexNumber(1 + 2j, 3 + 4j)
|
|
114
|
+
z2 = ad.BicomplexNumber(5 + 6j, 7 + 8j)
|
|
83
115
|
|
|
84
116
|
print(f"Addition: {z1 + z2}")
|
|
85
117
|
print(f"Multiplication: {z1 * z2}")
|
|
@@ -88,10 +120,11 @@ print(f"Multiplication: {z1 * z2}")
|
|
|
88
120
|
### Neutrosophic Numbers
|
|
89
121
|
|
|
90
122
|
```python
|
|
91
|
-
|
|
123
|
+
import adnus as ad
|
|
124
|
+
# from adnus import NeutrosophicNumber
|
|
92
125
|
|
|
93
|
-
n1 = NeutrosophicNumber(1.5, 2.5)
|
|
94
|
-
n2 = NeutrosophicNumber(3.0, 4.0)
|
|
126
|
+
n1 = ad.NeutrosophicNumber(1.5, 2.5)
|
|
127
|
+
n2 = ad. NeutrosophicNumber(3.0, 4.0)
|
|
95
128
|
|
|
96
129
|
print(f"Addition: {n1 + n2}")
|
|
97
130
|
print(f"Multiplication: {n1 * n2}")
|
|
@@ -149,26 +182,6 @@ pip install git+https://github.com/WhiteSymmetry/adnus.git
|
|
|
149
182
|
|
|
150
183
|
---
|
|
151
184
|
|
|
152
|
-
## Kullanım (Türkçe) / Usage (English)
|
|
153
|
-
|
|
154
|
-
```python
|
|
155
|
-
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
```python
|
|
159
|
-
import adnus
|
|
160
|
-
adnus.__version__
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
```python
|
|
164
|
-
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
```python
|
|
168
|
-
|
|
169
|
-
```
|
|
170
|
-
---
|
|
171
|
-
|
|
172
185
|
### Development
|
|
173
186
|
```bash
|
|
174
187
|
# Clone the repository
|
|
@@ -199,11 +212,13 @@ If this library was useful to you in your research, please cite us. Following th
|
|
|
199
212
|
|
|
200
213
|
Keçeci, M. (2025). adnus [Data set]. ResearchGate. https://doi.org/
|
|
201
214
|
|
|
202
|
-
Keçeci, M. (2025). adnus [Data set].
|
|
215
|
+
Keçeci, M. (2025). adnus [Data set]. OSF. https://doi.org/10.17605/OSF.IO/9C26Y
|
|
203
216
|
|
|
204
|
-
Keçeci, M. (2025). adnus [Data set].
|
|
217
|
+
Keçeci, M. (2025). adnus [Data set]. figshare. https://doi.org/10.6084/m9.figshare.29621336
|
|
205
218
|
|
|
206
|
-
Keçeci, M. (2025). adnus
|
|
219
|
+
Keçeci, M. (2025). adnus [Data set]. WorkflowHub. https://doi.org/10.48546/workflowhub.datafile.23.1
|
|
220
|
+
|
|
221
|
+
Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org/10.5281/zenodo.16341919
|
|
207
222
|
|
|
208
223
|
### Chicago
|
|
209
224
|
|
|
@@ -212,11 +227,11 @@ Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org
|
|
|
212
227
|
|
|
213
228
|
Keçeci, Mehmet. adnus [Data set]. ResearchGate, 2025. https://doi.org/
|
|
214
229
|
|
|
215
|
-
Keçeci,
|
|
230
|
+
Keçeci, M. (2025). <i>adnus</i> (Version 1). figshare. https://doi.org/10.6084/m9.figshare.29621336
|
|
216
231
|
|
|
217
|
-
Keçeci, Mehmet. adnus [Data set]. WorkflowHub, 2025. https://doi.org/
|
|
232
|
+
Keçeci, Mehmet. adnus [Data set]. WorkflowHub, 2025. https://doi.org/10.48546/workflowhub.datafile.23.1
|
|
218
233
|
|
|
219
|
-
Keçeci, Mehmet. adnus. Open Science Articles (OSAs), Zenodo, 2025. https://doi.org/
|
|
234
|
+
Keçeci, Mehmet. adnus. Open Science Articles (OSAs), Zenodo, 2025. https://doi.org/10.5281/zenodo.16341919
|
|
220
235
|
|
|
221
236
|
```
|
|
222
237
|
|
|
@@ -230,3 +245,4 @@ This project is licensed under the MIT License.
|
|
|
230
245
|
## Contributing
|
|
231
246
|
|
|
232
247
|
Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.
|
|
248
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "adnus"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.1"
|
|
4
4
|
description = "A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, and Hyperreal numbers."
|
|
5
5
|
authors = ["Mehmet Keçeci <mkececi@yaani.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -8,11 +8,11 @@ readme = "README.md"
|
|
|
8
8
|
|
|
9
9
|
[tool.poetry.dependencies]
|
|
10
10
|
python = "^3.11"
|
|
11
|
-
numpy = "^2.3.
|
|
11
|
+
numpy = "^2.3.2"
|
|
12
12
|
|
|
13
13
|
[tool.poetry.dev-dependencies]
|
|
14
|
-
pytest = "^
|
|
14
|
+
pytest = "^8.4.1"
|
|
15
15
|
|
|
16
16
|
[build-system]
|
|
17
|
-
requires = ["poetry-core
|
|
18
|
-
build-backend = "poetry.core.masonry.api"
|
|
17
|
+
requires = ["poetry-core", "cython", "setuptools"]
|
|
18
|
+
build-backend = "poetry.core.masonry.api"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|