adnus 0.1.9__tar.gz → 0.2.0__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.
Files changed (49) hide show
  1. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/workflow.yml +1 -1
  2. {adnus-0.1.9 → adnus-0.2.0}/CITATION.cff +1 -1
  3. {adnus-0.1.9 → adnus-0.2.0}/PKG-INFO +5 -3
  4. {adnus-0.1.9 → adnus-0.2.0}/README.md +4 -2
  5. {adnus-0.1.9 → adnus-0.2.0}/meta.yaml +1 -1
  6. {adnus-0.1.9 → adnus-0.2.0}/recipe/meta.yaml +1 -1
  7. {adnus-0.1.9 → adnus-0.2.0}/setup.py +14 -14
  8. {adnus-0.1.9 → adnus-0.2.0}/src/adnus/__init__.py +15 -13
  9. {adnus-0.1.9 → adnus-0.2.0}/src/adnus/_version.py +1 -1
  10. {adnus-0.1.9 → adnus-0.2.0}/src/adnus.egg-info/PKG-INFO +5 -3
  11. {adnus-0.1.9 → adnus-0.2.0}/.gitattributes +0 -0
  12. {adnus-0.1.9 → adnus-0.2.0}/.github/CODEOWNERS +0 -0
  13. {adnus-0.1.9 → adnus-0.2.0}/.github/dependabot.yml +0 -0
  14. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/ci-cd.yml +0 -0
  15. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/codeql.yml +0 -0
  16. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/conda-publish.yml +0 -0
  17. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/jekyll-gh-pages.yml +0 -0
  18. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/lint.yml +0 -0
  19. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/python-package.yml +0 -0
  20. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/python-publish.yml +0 -0
  21. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/python_ci.yml +0 -0
  22. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/static.yml +0 -0
  23. {adnus-0.1.9 → adnus-0.2.0}/.github/workflows/zenodo.yml +0 -0
  24. {adnus-0.1.9 → adnus-0.2.0}/.gitignore +0 -0
  25. {adnus-0.1.9 → adnus-0.2.0}/.pre-commit-config.yaml +0 -0
  26. {adnus-0.1.9 → adnus-0.2.0}/.readthedocs.yaml +0 -0
  27. {adnus-0.1.9 → adnus-0.2.0}/.ruff.toml +0 -0
  28. {adnus-0.1.9 → adnus-0.2.0}/.zenodo.json +0 -0
  29. {adnus-0.1.9 → adnus-0.2.0}/CODE_OF_CONDUCT.md +0 -0
  30. {adnus-0.1.9 → adnus-0.2.0}/CONTRIBUTING.md +0 -0
  31. {adnus-0.1.9 → adnus-0.2.0}/LICENSE +0 -0
  32. {adnus-0.1.9 → adnus-0.2.0}/MANIFEST.in +0 -0
  33. {adnus-0.1.9 → adnus-0.2.0}/SECURITY.md +0 -0
  34. {adnus-0.1.9 → adnus-0.2.0}/conda_build_config.yaml +0 -0
  35. {adnus-0.1.9 → adnus-0.2.0}/docs/conf.py +0 -0
  36. {adnus-0.1.9 → adnus-0.2.0}/docs/index.rst +0 -0
  37. {adnus-0.1.9 → adnus-0.2.0}/docs/requirements.txt +0 -0
  38. {adnus-0.1.9 → adnus-0.2.0}/package-lock.json +0 -0
  39. {adnus-0.1.9 → adnus-0.2.0}/package.json +0 -0
  40. {adnus-0.1.9 → adnus-0.2.0}/poetry.lock +0 -0
  41. {adnus-0.1.9 → adnus-0.2.0}/pyproject.toml +0 -0
  42. {adnus-0.1.9 → adnus-0.2.0}/requirements.txt +0 -0
  43. {adnus-0.1.9 → adnus-0.2.0}/setup.cfg +0 -0
  44. {adnus-0.1.9 → adnus-0.2.0}/src/adnus/main.py +0 -0
  45. {adnus-0.1.9 → adnus-0.2.0}/src/adnus.egg-info/SOURCES.txt +0 -0
  46. {adnus-0.1.9 → adnus-0.2.0}/src/adnus.egg-info/dependency_links.txt +0 -0
  47. {adnus-0.1.9 → adnus-0.2.0}/src/adnus.egg-info/requires.txt +0 -0
  48. {adnus-0.1.9 → adnus-0.2.0}/src/adnus.egg-info/top_level.txt +0 -0
  49. {adnus-0.1.9 → adnus-0.2.0}/tests/test_adnus.py +0 -0
@@ -1,4 +1,4 @@
1
- name: PyPI-Publish Python Package to PyPI
1
+ name: PyPI-Publish Python Package to PyPI-Resmi
2
2
 
3
3
  on:
4
4
  push:
@@ -33,5 +33,5 @@ keywords:
33
33
  - adnus
34
34
  license: AGPL-3.0-or-later
35
35
  commit: 'Revision: 1'
36
- version: 0.1.9
36
+ version: 0.2.0
37
37
  date-released: '2025-07-12'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adnus
3
- Version: 0.1.9
3
+ Version: 0.2.0
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
@@ -826,8 +826,10 @@ print(f"Multiplication: {n1 * n2}")
826
826
  ```
827
827
 
828
828
  ```python
829
- import adnus as ad
830
- C = ad.cayley_dickson_construction(ad.Complex)
829
+ import adnus as ad
830
+ # Complex(0, 0) bir HypercomplexNumber örneği döndürür
831
+ ComplexClass = type(ad.Complex(0, 0))
832
+ C = ad.cayley_dickson_process(ComplexClass)
831
833
  print(C(3-7j))
832
834
  ```
833
835
 
@@ -135,8 +135,10 @@ print(f"Multiplication: {n1 * n2}")
135
135
  ```
136
136
 
137
137
  ```python
138
- import adnus as ad
139
- C = ad.cayley_dickson_construction(ad.Complex)
138
+ import adnus as ad
139
+ # Complex(0, 0) bir HypercomplexNumber örneği döndürür
140
+ ComplexClass = type(ad.Complex(0, 0))
141
+ C = ad.cayley_dickson_process(ComplexClass)
140
142
  print(C(3-7j))
141
143
  ```
142
144
 
@@ -1,4 +1,4 @@
1
- {% set version = "0.1.9" %}
1
+ {% set version = "0.2.0" %}
2
2
 
3
3
  package:
4
4
  name: adnus
@@ -1,4 +1,4 @@
1
- {% set version = "0.1.9" %}
1
+ {% set version = "0.2.0" %}
2
2
 
3
3
  package:
4
4
  name: adnus
@@ -1,18 +1,17 @@
1
1
  # setup.py
2
- from setuptools import setup, find_packages
2
+ import io
3
3
  import os
4
+ import re
5
+ from setuptools import setup, find_packages
6
+ import sys
4
7
 
5
8
  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.9"
15
- return "0.1.9"
9
+ with open('src/adnus/__init__.py', 'r', encoding='utf-8') as f:
10
+ content = f.read()
11
+ match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", content, re.M)
12
+ if match:
13
+ return match.group(1)
14
+ raise RuntimeError("Unable to find version string.")
16
15
 
17
16
  setup(
18
17
  name="adnus",
@@ -27,6 +26,7 @@ setup(
27
26
  url="https://github.com/WhiteSymmetry/adnus",
28
27
  package_dir={"": "src"},
29
28
  packages=find_packages(where="src"),
29
+ license="AGPL-3.0-or-later",
30
30
  install_requires=[
31
31
  "numpy>=2.3.3,<3.0.0",
32
32
  "hypercomplex>=0.3.4"
@@ -37,9 +37,9 @@ setup(
37
37
  },
38
38
  classifiers=[
39
39
  "Programming Language :: Python :: 3",
40
- "License :: OSI Approved :: MIT License",
41
- "Operating System :: OS Independent"
40
+ "Operating System :: OS Independent",
41
+ "Intended Audience :: Science/Research",
42
+ "Topic :: Scientific/Engineering :: Visualization",
42
43
  ],
43
44
  python_requires='>=3.11',
44
- license="MIT",
45
45
  )
@@ -26,13 +26,13 @@ Example Usage:
26
26
  >>> print(c.norm()) # 5.0
27
27
  >>> print(q * q) # Quaternion multiplication
28
28
 
29
- Version: 0.1.9
29
+ Version: 0.2.0
30
30
  Author: Mehmet Keçeci
31
31
  License: AGPL-3.0-or-later
32
32
  """
33
33
 
34
34
  # Core version information
35
- __version__ = "0.1.9"
35
+ __version__ = "0.2.0"
36
36
  __author__ = "Mehmet Keçeci"
37
37
  __license__ = "AGPL-3.0-or-later"
38
38
  __copyright__ = "Copyright (C) 2025-2026 Mehmet Keçeci"
@@ -60,17 +60,8 @@ __all__ = [
60
60
  'Chingon',
61
61
  'Routon',
62
62
  'Voudon',
63
-
64
- # Factory functions
65
- 'Real',
66
- 'Complex',
67
- 'Quaternion',
68
- 'Octonion',
69
- 'Sedenion',
70
- 'Pathion',
71
- 'Chingon',
72
- 'Routon',
73
- 'Voudon',
63
+ 'Bicomplex',
64
+ 'Neutrosophic',
74
65
 
75
66
  # Parsing functions
76
67
  '_parse_complex',
@@ -81,6 +72,7 @@ __all__ = [
81
72
  'harmonic_numbers',
82
73
  'binet_formula',
83
74
  'generate_cd_chain',
75
+ 'generate_cd_chain_names',
84
76
 
85
77
  # Utility functions
86
78
  'cd_number_from_components',
@@ -102,6 +94,8 @@ from .main import (
102
94
  cayley_dickson_cebr,
103
95
  Real,
104
96
  Complex,
97
+ Bicomplex,
98
+ Neutrosophic,
105
99
  Quaternion,
106
100
  Octonion,
107
101
  Sedenion,
@@ -111,6 +105,10 @@ from .main import (
111
105
  Voudon,
112
106
  generate_cd_chain,
113
107
  cd_number_from_components,
108
+ oresme_sequence,
109
+ harmonic_numbers,
110
+ binet_formula,
111
+ generate_cd_chain_names,
114
112
 
115
113
  # Import parsing utilities
116
114
  _parse_complex,
@@ -138,6 +136,8 @@ Pathion = Pathion
138
136
  Chingon = Chingon
139
137
  Routon = Routon
140
138
  Voudon = Voudon
139
+ Bicomplex = Bicomplex
140
+ Neutrosophic = Neutrosophic
141
141
 
142
142
  # =============================================
143
143
  # Package initialization
@@ -196,6 +196,8 @@ def show_available_types():
196
196
  "Chingon": "Chingons (64D, via Cayley-Dickson level 6)",
197
197
  "Routon": "Routons (128D, via Cayley-Dickson level 7)",
198
198
  "Voudon": "Voudons (256D, via Cayley-Dickson level 8)",
199
+ "Bicomplex": "Bicomplex",
200
+ "Neutrosophic": "Neutrosophic",
199
201
  }
200
202
 
201
203
  print("Available Number Types in adnus:")
@@ -1,6 +1,6 @@
1
1
  # _version.py
2
2
 
3
- __version__ = "0.1.9"
3
+ __version__ = "0.2.0"
4
4
  __license__ = "AGPL-3.0-or-later"
5
5
  __description__ = "adnus (AdNuS): Advanced Number Systems."
6
6
  __author__ = "Mehmet Keçeci"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adnus
3
- Version: 0.1.9
3
+ Version: 0.2.0
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
@@ -826,8 +826,10 @@ print(f"Multiplication: {n1 * n2}")
826
826
  ```
827
827
 
828
828
  ```python
829
- import adnus as ad
830
- C = ad.cayley_dickson_construction(ad.Complex)
829
+ import adnus as ad
830
+ # Complex(0, 0) bir HypercomplexNumber örneği döndürür
831
+ ComplexClass = type(ad.Complex(0, 0))
832
+ C = ad.cayley_dickson_process(ComplexClass)
831
833
  print(C(3-7j))
832
834
  ```
833
835
 
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