adnus 0.1.6__tar.gz → 0.1.7__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.6 → adnus-0.1.7}/PKG-INFO +7 -10
- {adnus-0.1.6 → adnus-0.1.7}/README.md +1 -6
- {adnus-0.1.6 → adnus-0.1.7}/meta.yaml +2 -2
- {adnus-0.1.6 → adnus-0.1.7}/pyproject.toml +11 -2
- {adnus-0.1.6 → adnus-0.1.7}/recipe/meta.yaml +2 -2
- adnus-0.1.7/setup.py +45 -0
- {adnus-0.1.6 → adnus-0.1.7}/src/adnus/__init__.py +2 -1
- {adnus-0.1.6 → adnus-0.1.7}/src/adnus/_version.py +1 -1
- {adnus-0.1.6 → adnus-0.1.7}/src/adnus.egg-info/PKG-INFO +7 -10
- adnus-0.1.6/setup.py +0 -69
- {adnus-0.1.6 → adnus-0.1.7}/.gitattributes +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/CODEOWNERS +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/dependabot.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/ci-cd.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/codeql.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/conda-publish.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/jekyll-gh-pages.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/lint.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/python-package.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/python-publish.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/python_ci.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/static.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/workflow.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.github/workflows/zenodo.yml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.gitignore +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.pre-commit-config.yaml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.readthedocs.yaml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.ruff.toml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/.zenodo.json +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/CITATION.cff +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/CODE_OF_CONDUCT.md +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/CONTRIBUTING.md +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/LICENSE +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/MANIFEST.in +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/SECURITY.md +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/conda_build_config.yaml +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/docs/conf.py +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/docs/index.rst +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/docs/requirements.txt +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/package-lock.json +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/package.json +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/poetry.lock +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/requirements.txt +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/setup.cfg +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/src/adnus/main.py +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/src/adnus.egg-info/SOURCES.txt +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/src/adnus.egg-info/dependency_links.txt +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/src/adnus.egg-info/requires.txt +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/src/adnus.egg-info/top_level.txt +0 -0
- {adnus-0.1.6 → adnus-0.1.7}/tests/test_adnus.py +0 -0
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adnus
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
5
5
|
Home-page: https://github.com/WhiteSymmetry/adnus
|
|
6
6
|
Author: Mehmet Keçeci
|
|
7
7
|
Author-email: Mehmet Keçeci <mkececi@yaani.com>
|
|
8
8
|
Maintainer: Mehmet Keçeci
|
|
9
|
-
Maintainer-email: mkececi@yaani.com
|
|
9
|
+
Maintainer-email: Mehmet Keçeci <mkececi@yaani.com>
|
|
10
10
|
License: MIT
|
|
11
|
-
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Requires-Python: >=3.11
|
|
12
15
|
Description-Content-Type: text/markdown
|
|
13
16
|
License-File: LICENSE
|
|
14
17
|
Requires-Dist: numpy<3.0.0,>=2.3.3
|
|
@@ -22,7 +25,6 @@ Dynamic: author
|
|
|
22
25
|
Dynamic: home-page
|
|
23
26
|
Dynamic: license-file
|
|
24
27
|
Dynamic: maintainer
|
|
25
|
-
Dynamic: maintainer-email
|
|
26
28
|
Dynamic: requires-python
|
|
27
29
|
|
|
28
30
|
# adnus (AdNuS): Advanced Number Systems.
|
|
@@ -133,11 +135,6 @@ poetry install
|
|
|
133
135
|
|
|
134
136
|
## Kullanım (Türkçe) / Usage (English)
|
|
135
137
|
|
|
136
|
-
```python
|
|
137
|
-
import adnus
|
|
138
|
-
adnus.__version__
|
|
139
|
-
```
|
|
140
|
-
|
|
141
138
|
Here's a quick overview of how to use the different number systems available in `adnus`.
|
|
142
139
|
|
|
143
140
|
### Bicomplex Numbers
|
|
@@ -168,7 +165,7 @@ print(f"Multiplication: {n1 * n2}")
|
|
|
168
165
|
|
|
169
166
|
```python
|
|
170
167
|
import adnus as ad
|
|
171
|
-
C = cayley_dickson_construction(ad.Complex)
|
|
168
|
+
C = ad.cayley_dickson_construction(ad.Complex)
|
|
172
169
|
print(C(3-7j))
|
|
173
170
|
```
|
|
174
171
|
|
|
@@ -106,11 +106,6 @@ poetry install
|
|
|
106
106
|
|
|
107
107
|
## Kullanım (Türkçe) / Usage (English)
|
|
108
108
|
|
|
109
|
-
```python
|
|
110
|
-
import adnus
|
|
111
|
-
adnus.__version__
|
|
112
|
-
```
|
|
113
|
-
|
|
114
109
|
Here's a quick overview of how to use the different number systems available in `adnus`.
|
|
115
110
|
|
|
116
111
|
### Bicomplex Numbers
|
|
@@ -141,7 +136,7 @@ print(f"Multiplication: {n1 * n2}")
|
|
|
141
136
|
|
|
142
137
|
```python
|
|
143
138
|
import adnus as ad
|
|
144
|
-
C = cayley_dickson_construction(ad.Complex)
|
|
139
|
+
C = ad.cayley_dickson_construction(ad.Complex)
|
|
145
140
|
print(C(3-7j))
|
|
146
141
|
```
|
|
147
142
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# pyproject.toml
|
|
1
2
|
[project]
|
|
2
3
|
name = "adnus"
|
|
3
4
|
dynamic = ["version"]
|
|
@@ -5,6 +6,9 @@ description = "A Python library for Advanced Number Systems (AdNuS), including B
|
|
|
5
6
|
authors = [
|
|
6
7
|
{name = "Mehmet Keçeci", email = "mkececi@yaani.com"}
|
|
7
8
|
]
|
|
9
|
+
maintainers = [
|
|
10
|
+
{name = "Mehmet Keçeci", email = "mkececi@yaani.com"}
|
|
11
|
+
]
|
|
8
12
|
license = {text = "MIT"}
|
|
9
13
|
readme = "README.md"
|
|
10
14
|
requires-python = ">=3.11"
|
|
@@ -12,6 +16,11 @@ dependencies = [
|
|
|
12
16
|
"numpy>=2.3.3,<3.0.0",
|
|
13
17
|
"hypercomplex==0.3.4"
|
|
14
18
|
]
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"License :: OSI Approved :: MIT License",
|
|
22
|
+
"Operating System :: OS Independent"
|
|
23
|
+
]
|
|
15
24
|
|
|
16
25
|
[project.optional-dependencies]
|
|
17
26
|
dev = [
|
|
@@ -31,8 +40,8 @@ version = {attr = "adnus._version.__version__"}
|
|
|
31
40
|
|
|
32
41
|
[build-system]
|
|
33
42
|
requires = [
|
|
34
|
-
"setuptools>=
|
|
43
|
+
"setuptools>=77.0",
|
|
35
44
|
"wheel",
|
|
36
|
-
"setuptools_scm>=6.2"
|
|
45
|
+
"setuptools_scm>=6.2"
|
|
37
46
|
]
|
|
38
47
|
build-backend = "setuptools.build_meta"
|
adnus-0.1.7/setup.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# setup.py
|
|
2
|
+
from setuptools import setup, find_packages
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
def get_version():
|
|
6
|
+
"""_version.py'den versiyon al"""
|
|
7
|
+
version_file = os.path.join(os.path.dirname(__file__), 'src', 'adnus', '_version.py')
|
|
8
|
+
try:
|
|
9
|
+
with open(version_file, 'r') as f:
|
|
10
|
+
for line in f:
|
|
11
|
+
if line.startswith('__version__'):
|
|
12
|
+
return line.split('=')[1].strip().strip('"\'')
|
|
13
|
+
except FileNotFoundError:
|
|
14
|
+
return "0.1.7"
|
|
15
|
+
return "0.1.7"
|
|
16
|
+
|
|
17
|
+
setup(
|
|
18
|
+
name="adnus",
|
|
19
|
+
version=get_version(),
|
|
20
|
+
description="A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.",
|
|
21
|
+
long_description=open("README.md").read(),
|
|
22
|
+
long_description_content_type="text/markdown",
|
|
23
|
+
author="Mehmet Keçeci",
|
|
24
|
+
author_email="mkececi@yaani.com",
|
|
25
|
+
maintainer="Mehmet Keçeci",
|
|
26
|
+
maintainer_email="mkececi@yaani.com",
|
|
27
|
+
url="https://github.com/WhiteSymmetry/adnus",
|
|
28
|
+
package_dir={"": "src"},
|
|
29
|
+
packages=find_packages(where="src"),
|
|
30
|
+
install_requires=[
|
|
31
|
+
"numpy>=2.3.3,<3.0.0",
|
|
32
|
+
"hypercomplex==0.3.4"
|
|
33
|
+
],
|
|
34
|
+
extras_require={
|
|
35
|
+
'dev': ["pytest>=8.4.2,<9.0.0"],
|
|
36
|
+
'build': ["setuptools>=80.9.0,<81.0.0", "cython>=3.1.3,<4.0.0"]
|
|
37
|
+
},
|
|
38
|
+
classifiers=[
|
|
39
|
+
"Programming Language :: Python :: 3",
|
|
40
|
+
"License :: OSI Approved :: MIT License",
|
|
41
|
+
"Operating System :: OS Independent"
|
|
42
|
+
],
|
|
43
|
+
python_requires='>=3.11',
|
|
44
|
+
license="MIT",
|
|
45
|
+
)
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# src/adnus/__init__.py
|
|
2
2
|
"""
|
|
3
3
|
adnus (AdNuS): Advanced Number Systems.
|
|
4
|
-
|
|
5
4
|
A Python library for exploring number systems beyond the standard real and complex numbers.
|
|
6
5
|
"""
|
|
7
6
|
|
|
7
|
+
__version__ = "0.1.6"
|
|
8
|
+
|
|
8
9
|
# main.py dosyasındaki ana sınıfları ve fonksiyonları buraya import et
|
|
9
10
|
from .main import (
|
|
10
11
|
AdvancedNumber,
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adnus
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
5
5
|
Home-page: https://github.com/WhiteSymmetry/adnus
|
|
6
6
|
Author: Mehmet Keçeci
|
|
7
7
|
Author-email: Mehmet Keçeci <mkececi@yaani.com>
|
|
8
8
|
Maintainer: Mehmet Keçeci
|
|
9
|
-
Maintainer-email: mkececi@yaani.com
|
|
9
|
+
Maintainer-email: Mehmet Keçeci <mkececi@yaani.com>
|
|
10
10
|
License: MIT
|
|
11
|
-
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Requires-Python: >=3.11
|
|
12
15
|
Description-Content-Type: text/markdown
|
|
13
16
|
License-File: LICENSE
|
|
14
17
|
Requires-Dist: numpy<3.0.0,>=2.3.3
|
|
@@ -22,7 +25,6 @@ Dynamic: author
|
|
|
22
25
|
Dynamic: home-page
|
|
23
26
|
Dynamic: license-file
|
|
24
27
|
Dynamic: maintainer
|
|
25
|
-
Dynamic: maintainer-email
|
|
26
28
|
Dynamic: requires-python
|
|
27
29
|
|
|
28
30
|
# adnus (AdNuS): Advanced Number Systems.
|
|
@@ -133,11 +135,6 @@ poetry install
|
|
|
133
135
|
|
|
134
136
|
## Kullanım (Türkçe) / Usage (English)
|
|
135
137
|
|
|
136
|
-
```python
|
|
137
|
-
import adnus
|
|
138
|
-
adnus.__version__
|
|
139
|
-
```
|
|
140
|
-
|
|
141
138
|
Here's a quick overview of how to use the different number systems available in `adnus`.
|
|
142
139
|
|
|
143
140
|
### Bicomplex Numbers
|
|
@@ -168,7 +165,7 @@ print(f"Multiplication: {n1 * n2}")
|
|
|
168
165
|
|
|
169
166
|
```python
|
|
170
167
|
import adnus as ad
|
|
171
|
-
C = cayley_dickson_construction(ad.Complex)
|
|
168
|
+
C = ad.cayley_dickson_construction(ad.Complex)
|
|
172
169
|
print(C(3-7j))
|
|
173
170
|
```
|
|
174
171
|
|
adnus-0.1.6/setup.py
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
import io
|
|
3
|
-
import re
|
|
4
|
-
from setuptools import setup, find_packages
|
|
5
|
-
import os
|
|
6
|
-
import sys
|
|
7
|
-
|
|
8
|
-
def get_version():
|
|
9
|
-
"""_version.py dosyasından versiyon numarasını al"""
|
|
10
|
-
version_file = os.path.join(os.path.dirname(__file__), 'src', 'adnus', '_version.py')
|
|
11
|
-
|
|
12
|
-
try:
|
|
13
|
-
with open(version_file, 'r') as f:
|
|
14
|
-
version_content = f.read()
|
|
15
|
-
version_match = re.search(r"^__version__\s*=\s*['\"]([^'\"]*)['\"]",
|
|
16
|
-
version_content, re.M)
|
|
17
|
-
if version_match:
|
|
18
|
-
return version_match.group(1)
|
|
19
|
-
except FileNotFoundError:
|
|
20
|
-
pass
|
|
21
|
-
|
|
22
|
-
# Fallback: __init__.py'den versiyon almayı dene
|
|
23
|
-
init_file = os.path.join(os.path.dirname(__file__), 'src', 'adnus', '__init__.py')
|
|
24
|
-
try:
|
|
25
|
-
with open(init_file, 'r') as f:
|
|
26
|
-
init_content = f.read()
|
|
27
|
-
version_match = re.search(r"^__version__\s*=\s*['\"]([^'\"]*)['\"]",
|
|
28
|
-
init_content, re.M)
|
|
29
|
-
if version_match:
|
|
30
|
-
return version_match.group(1)
|
|
31
|
-
except FileNotFoundError:
|
|
32
|
-
pass
|
|
33
|
-
|
|
34
|
-
# Hiçbiri yoksa varsayılan versiyon
|
|
35
|
-
return "0.1.0"
|
|
36
|
-
|
|
37
|
-
setup(
|
|
38
|
-
name="adnus",
|
|
39
|
-
version=get_version(),
|
|
40
|
-
description="adnus",
|
|
41
|
-
long_description=open("README.md").read(),
|
|
42
|
-
long_description_content_type="text/markdown",
|
|
43
|
-
author="Mehmet Keçeci",
|
|
44
|
-
maintainer="Mehmet Keçeci",
|
|
45
|
-
author_email="mkececi@yaani.com",
|
|
46
|
-
maintainer_email="mkececi@yaani.com",
|
|
47
|
-
url="https://github.com/WhiteSymmetry/adnus",
|
|
48
|
-
packages=find_packages(where='src'), # src klasöründeki paketleri bul
|
|
49
|
-
package_dir={'': 'src'}, # Paketlerin src altında olduğunu belirt
|
|
50
|
-
package_data={
|
|
51
|
-
"adnus": ["*.py", "*.pyi"], # Tüm Python dosyalarını dahil et
|
|
52
|
-
},
|
|
53
|
-
install_requires=[
|
|
54
|
-
"hypercomplex",
|
|
55
|
-
],
|
|
56
|
-
extras_require={
|
|
57
|
-
'test': [
|
|
58
|
-
"pytest",
|
|
59
|
-
"pytest-cov",
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
classifiers=[
|
|
63
|
-
"Programming Language :: Python :: 3",
|
|
64
|
-
"License :: OSI Approved :: MIT License",
|
|
65
|
-
"Operating System :: OS Independent"
|
|
66
|
-
],
|
|
67
|
-
python_requires='>=3.10',
|
|
68
|
-
license="MIT",
|
|
69
|
-
)
|
|
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
|
|
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
|
|
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
|
|
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
|