adnus 0.2.3__tar.gz → 0.2.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.
- adnus-0.2.4/.github/workflows/conda-publish.yml +203 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/pixi-workflow.yml +2 -2
- {adnus-0.2.3 → adnus-0.2.4}/CITATION.cff +1 -1
- {adnus-0.2.3 → adnus-0.2.4}/PKG-INFO +7 -7
- {adnus-0.2.3 → adnus-0.2.4}/README.md +6 -6
- {adnus-0.2.3 → adnus-0.2.4}/adnus/__init__.py +3 -3
- {adnus-0.2.3 → adnus-0.2.4}/adnus/_version.py +1 -1
- {adnus-0.2.3/adnus → adnus-0.2.4}/adnus.egg-info/PKG-INFO +7 -7
- {adnus-0.2.3/adnus → adnus-0.2.4}/adnus.egg-info/SOURCES.txt +6 -7
- adnus-0.2.4/adnus.egg-info/top_level.txt +1 -0
- adnus-0.2.4/conda-recipe/meta.yaml +44 -0
- {adnus-0.2.3 → adnus-0.2.4}/pixi.toml +5 -3
- {adnus-0.2.3 → adnus-0.2.4}/pyproject.toml +6 -5
- {adnus-0.2.3 → adnus-0.2.4}/recipe.yaml +3 -3
- {adnus-0.2.3 → adnus-0.2.4}/setup.py +0 -1
- adnus-0.2.3/.github/workflows/conda-publish.yml +0 -94
- adnus-0.2.3/adnus/adnus.egg-info/top_level.txt +0 -1
- adnus-0.2.3/meta.yaml +0 -43
- adnus-0.2.3/myst.yml +0 -15
- {adnus-0.2.3 → adnus-0.2.4}/.gitattributes +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/CODEOWNERS +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/dependabot.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/ci-cd.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/codeql.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/jekyll-gh-pages.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/lint.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/python-package.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/python-publish.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/python_ci.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/static.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/workflow.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/zenodo.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.github/workflows/zizmor.yml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.gitignore +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.pre-commit-config.yaml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.readthedocs.yaml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.ruff.toml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/.zenodo.json +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/CODE_OF_CONDUCT.md +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/CONTRIBUTING.md +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/LICENSE +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/MANIFEST.in +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/SECURITY.md +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/adnus/adnus.py +0 -0
- {adnus-0.2.3/adnus → adnus-0.2.4}/adnus.egg-info/dependency_links.txt +0 -0
- {adnus-0.2.3/adnus → adnus-0.2.4}/adnus.egg-info/requires.txt +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/conda_build_config.yaml +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/docs/adnus.png +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/docs/conf.py +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/docs/favicon.ico +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/docs/index.rst +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/docs/requirements.txt +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/notebook/adnus-020.ipynb +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/requirements-dev.txt +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/requirements.txt +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/setup.cfg +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/tests/test_adnus.py +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/tox.ini +0 -0
- {adnus-0.2.3 → adnus-0.2.4}/tox.toml +0 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
name: Conda-Build, Test, and Publish Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
release:
|
|
6
|
+
types: [published]
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build-publish:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
python-version: ["3.14"]
|
|
19
|
+
|
|
20
|
+
env:
|
|
21
|
+
RECIPE_DIR: conda-recipe
|
|
22
|
+
PACKAGE_DIR: dist
|
|
23
|
+
|
|
24
|
+
steps:
|
|
25
|
+
- name: Checkout repository
|
|
26
|
+
uses: actions/checkout@v7
|
|
27
|
+
with:
|
|
28
|
+
fetch-depth: 0
|
|
29
|
+
|
|
30
|
+
- name: Verify repository layout
|
|
31
|
+
shell: bash
|
|
32
|
+
run: |
|
|
33
|
+
set -euo pipefail
|
|
34
|
+
|
|
35
|
+
echo "Workspace: $GITHUB_WORKSPACE"
|
|
36
|
+
echo "Top-level files:"
|
|
37
|
+
ls -la
|
|
38
|
+
|
|
39
|
+
if [ ! -f "$RECIPE_DIR/meta.yaml" ]; then
|
|
40
|
+
echo "HATA: $RECIPE_DIR/meta.yaml bulunamadı."
|
|
41
|
+
echo "Bulunan Conda/Pixi reçeteleri:"
|
|
42
|
+
find . -type f \
|
|
43
|
+
\( -name "meta.yaml" -o -name "recipe.yaml" \) \
|
|
44
|
+
-not -path "./.git/*" \
|
|
45
|
+
-print
|
|
46
|
+
exit 1
|
|
47
|
+
fi
|
|
48
|
+
|
|
49
|
+
echo "Conda recipe: $RECIPE_DIR/meta.yaml"
|
|
50
|
+
echo "Pixi recipe (varsa):"
|
|
51
|
+
find . -maxdepth 2 -type f -name recipe.yaml -print
|
|
52
|
+
|
|
53
|
+
- name: Determine package version
|
|
54
|
+
id: version
|
|
55
|
+
shell: bash
|
|
56
|
+
run: |
|
|
57
|
+
set -euo pipefail
|
|
58
|
+
|
|
59
|
+
TAG_VERSION="$(git describe --tags --abbrev=0 2>/dev/null || true)"
|
|
60
|
+
if [ -n "$TAG_VERSION" ]; then
|
|
61
|
+
PACKAGE_VERSION="${TAG_VERSION#v}"
|
|
62
|
+
else
|
|
63
|
+
PACKAGE_VERSION="0.0.0.dev$(git rev-parse --short HEAD)"
|
|
64
|
+
fi
|
|
65
|
+
|
|
66
|
+
echo "Package version: $PACKAGE_VERSION"
|
|
67
|
+
echo "version=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT"
|
|
68
|
+
|
|
69
|
+
- name: Setup Miniconda
|
|
70
|
+
uses: conda-incubator/setup-miniconda@v4
|
|
71
|
+
with:
|
|
72
|
+
auto-activate-base: false
|
|
73
|
+
python-version: "${{ matrix.python-version }}"
|
|
74
|
+
channels: conda-forge,defaults
|
|
75
|
+
channel-priority: strict
|
|
76
|
+
|
|
77
|
+
- name: Install Conda build tools
|
|
78
|
+
shell: bash
|
|
79
|
+
run: |
|
|
80
|
+
set -euo pipefail
|
|
81
|
+
conda install -n base -y conda-build anaconda-client
|
|
82
|
+
|
|
83
|
+
- name: Create package output directory
|
|
84
|
+
shell: bash
|
|
85
|
+
run: |
|
|
86
|
+
set -euo pipefail
|
|
87
|
+
mkdir -p "$GITHUB_WORKSPACE/$PACKAGE_DIR"
|
|
88
|
+
ls -ld "$GITHUB_WORKSPACE/$PACKAGE_DIR"
|
|
89
|
+
|
|
90
|
+
- name: Build Conda package for Python ${{ matrix.python-version }}
|
|
91
|
+
shell: bash
|
|
92
|
+
run: |
|
|
93
|
+
set -euo pipefail
|
|
94
|
+
|
|
95
|
+
echo "Building version ${{ steps.version.outputs.version }}"
|
|
96
|
+
echo "Python: ${{ matrix.python-version }}"
|
|
97
|
+
echo "Recipe: $RECIPE_DIR"
|
|
98
|
+
echo "Output: $GITHUB_WORKSPACE/$PACKAGE_DIR"
|
|
99
|
+
|
|
100
|
+
conda build "$RECIPE_DIR" \
|
|
101
|
+
--python "${{ matrix.python-version }}" \
|
|
102
|
+
--output-folder "$GITHUB_WORKSPACE/$PACKAGE_DIR"
|
|
103
|
+
|
|
104
|
+
echo "Build output files:"
|
|
105
|
+
find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -maxdepth 3 -type f -print
|
|
106
|
+
|
|
107
|
+
PACKAGE_COUNT="$(
|
|
108
|
+
find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -type f \
|
|
109
|
+
\( -name '*.conda' -o -name '*.tar.bz2' \) \
|
|
110
|
+
| wc -l
|
|
111
|
+
)"
|
|
112
|
+
|
|
113
|
+
if [ "$PACKAGE_COUNT" -eq 0 ]; then
|
|
114
|
+
echo "HATA: Build tamamlandı fakat dist içinde Conda paketi bulunamadı."
|
|
115
|
+
exit 1
|
|
116
|
+
fi
|
|
117
|
+
|
|
118
|
+
- name: Create test environment
|
|
119
|
+
shell: bash
|
|
120
|
+
run: |
|
|
121
|
+
set -euo pipefail
|
|
122
|
+
conda create -n test-env -y \
|
|
123
|
+
"python=${{ matrix.python-version }}" \
|
|
124
|
+
pytest \
|
|
125
|
+
pytest-cov
|
|
126
|
+
|
|
127
|
+
- name: Run development tests
|
|
128
|
+
shell: bash
|
|
129
|
+
run: |
|
|
130
|
+
set -euo pipefail
|
|
131
|
+
conda run -n test-env --no-capture-output \
|
|
132
|
+
python -m pytest tests/ --cov=adnus
|
|
133
|
+
|
|
134
|
+
- name: Install and test built package
|
|
135
|
+
shell: bash
|
|
136
|
+
run: |
|
|
137
|
+
set -euo pipefail
|
|
138
|
+
|
|
139
|
+
PACKAGE_FILE="$(
|
|
140
|
+
find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -type f \
|
|
141
|
+
\( -name '*.conda' -o -name '*.tar.bz2' \) \
|
|
142
|
+
| head -n 1
|
|
143
|
+
)"
|
|
144
|
+
|
|
145
|
+
if [ -z "$PACKAGE_FILE" ]; then
|
|
146
|
+
echo "HATA: Test edilecek Conda paketi bulunamadı."
|
|
147
|
+
exit 1
|
|
148
|
+
fi
|
|
149
|
+
|
|
150
|
+
echo "Installing package: $PACKAGE_FILE"
|
|
151
|
+
conda install -n test-env -y "$PACKAGE_FILE"
|
|
152
|
+
|
|
153
|
+
conda run -n test-env --no-capture-output \
|
|
154
|
+
python -c "import adnus; print('Import successful for Python ${{ matrix.python-version }}')"
|
|
155
|
+
|
|
156
|
+
- name: Show build artifacts
|
|
157
|
+
if: always()
|
|
158
|
+
shell: bash
|
|
159
|
+
run: |
|
|
160
|
+
echo "Workspace: $GITHUB_WORKSPACE"
|
|
161
|
+
if [ -d "$GITHUB_WORKSPACE/$PACKAGE_DIR" ]; then
|
|
162
|
+
find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -maxdepth 3 -type f -print
|
|
163
|
+
else
|
|
164
|
+
echo "Paket klasörü henüz oluşmadı: $GITHUB_WORKSPACE/$PACKAGE_DIR"
|
|
165
|
+
fi
|
|
166
|
+
|
|
167
|
+
- name: Upload package to Anaconda Cloud
|
|
168
|
+
if: success() && github.event_name == 'release'
|
|
169
|
+
shell: bash
|
|
170
|
+
env:
|
|
171
|
+
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
|
|
172
|
+
run: |
|
|
173
|
+
set -euo pipefail
|
|
174
|
+
|
|
175
|
+
if [ -z "${ANACONDA_TOKEN:-}" ]; then
|
|
176
|
+
echo "HATA: ANACONDA_TOKEN GitHub secret olarak ayarlanmamış."
|
|
177
|
+
exit 1
|
|
178
|
+
fi
|
|
179
|
+
|
|
180
|
+
mapfile -t PACKAGE_FILES < <(
|
|
181
|
+
find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -type f \
|
|
182
|
+
\( -name '*.conda' -o -name '*.tar.bz2' \)
|
|
183
|
+
)
|
|
184
|
+
|
|
185
|
+
if [ "${#PACKAGE_FILES[@]}" -eq 0 ]; then
|
|
186
|
+
echo "HATA: Yüklenecek Conda paketi bulunamadı."
|
|
187
|
+
exit 1
|
|
188
|
+
fi
|
|
189
|
+
|
|
190
|
+
echo "Anaconda Cloud'a yüklenecek paketler:"
|
|
191
|
+
printf '%s\n' "${PACKAGE_FILES[@]}"
|
|
192
|
+
|
|
193
|
+
conda run -n base anaconda \
|
|
194
|
+
-t "$ANACONDA_TOKEN" \
|
|
195
|
+
upload "${PACKAGE_FILES[@]}" \
|
|
196
|
+
--label main \
|
|
197
|
+
--skip-existing
|
|
198
|
+
|
|
199
|
+
- name: Cleanup test environment
|
|
200
|
+
if: always()
|
|
201
|
+
shell: bash
|
|
202
|
+
run: |
|
|
203
|
+
conda env remove -n test-env -y || true
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
strategy:
|
|
15
15
|
matrix:
|
|
16
16
|
# 🚀 Tüm ana işletim sistemlerini matrise ekledik
|
|
17
|
-
os: [ubuntu-latest
|
|
17
|
+
os: [ubuntu-latest]
|
|
18
18
|
python-version: ["3.14"]
|
|
19
19
|
fail-fast: false
|
|
20
20
|
|
|
@@ -62,7 +62,7 @@ jobs:
|
|
|
62
62
|
- name: 📤 Upload build artifacts
|
|
63
63
|
uses: actions/upload-artifact@v7
|
|
64
64
|
with:
|
|
65
|
-
name:
|
|
65
|
+
name: adnus-dist-${{ matrix.os }}-py${{ matrix.python-version }}
|
|
66
66
|
path: dist/
|
|
67
67
|
if-no-files-found: ignore
|
|
68
68
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adnus
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
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
|
|
@@ -711,7 +711,7 @@ Dynamic: requires-python
|
|
|
711
711
|
[](https://anaconda.org/bilgi/adnus)
|
|
712
712
|
|
|
713
713
|
[](https://opensource.org/)
|
|
714
|
-
[](https://adnus.readthedocs.io/en/latest)
|
|
715
715
|
|
|
716
716
|
[](https://www.bestpractices.dev/projects/-)
|
|
717
717
|
|
|
@@ -974,7 +974,7 @@ pixi workspace channel add https://repo.prefix.dev/bilgi --prepend
|
|
|
974
974
|
|
|
975
975
|
pixi add adnus
|
|
976
976
|
|
|
977
|
-
✔ Added adnus >=0.2.
|
|
977
|
+
✔ Added adnus >=0.2.4,<2
|
|
978
978
|
|
|
979
979
|
pixi install
|
|
980
980
|
|
|
@@ -982,7 +982,7 @@ pixi shell
|
|
|
982
982
|
|
|
983
983
|
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
984
984
|
|
|
985
|
-
### Çıktı: 0.2.
|
|
985
|
+
### Çıktı: 0.2.4
|
|
986
986
|
|
|
987
987
|
pixi remove adnus
|
|
988
988
|
|
|
@@ -990,17 +990,17 @@ conda install -c https://prefix.dev/bilgi adnus
|
|
|
990
990
|
|
|
991
991
|
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
992
992
|
|
|
993
|
-
### Çıktı: 0.2.
|
|
993
|
+
### Çıktı: 0.2.4
|
|
994
994
|
|
|
995
995
|
pixi run pip list | grep adnus
|
|
996
996
|
|
|
997
|
-
### adnus 0.2.
|
|
997
|
+
### adnus 0.2.4
|
|
998
998
|
|
|
999
999
|
pixi run pip show adnus
|
|
1000
1000
|
|
|
1001
1001
|
Name: adnus
|
|
1002
1002
|
|
|
1003
|
-
Version: 0.2.
|
|
1003
|
+
Version: 0.2.4
|
|
1004
1004
|
|
|
1005
1005
|
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
1006
1006
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
[](https://anaconda.org/bilgi/adnus)
|
|
22
22
|
|
|
23
23
|
[](https://opensource.org/)
|
|
24
|
-
[](https://adnus.readthedocs.io/en/latest)
|
|
25
25
|
|
|
26
26
|
[](https://www.bestpractices.dev/projects/-)
|
|
27
27
|
|
|
@@ -284,7 +284,7 @@ pixi workspace channel add https://repo.prefix.dev/bilgi --prepend
|
|
|
284
284
|
|
|
285
285
|
pixi add adnus
|
|
286
286
|
|
|
287
|
-
✔ Added adnus >=0.2.
|
|
287
|
+
✔ Added adnus >=0.2.4,<2
|
|
288
288
|
|
|
289
289
|
pixi install
|
|
290
290
|
|
|
@@ -292,7 +292,7 @@ pixi shell
|
|
|
292
292
|
|
|
293
293
|
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
294
294
|
|
|
295
|
-
### Çıktı: 0.2.
|
|
295
|
+
### Çıktı: 0.2.4
|
|
296
296
|
|
|
297
297
|
pixi remove adnus
|
|
298
298
|
|
|
@@ -300,17 +300,17 @@ conda install -c https://prefix.dev/bilgi adnus
|
|
|
300
300
|
|
|
301
301
|
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
302
302
|
|
|
303
|
-
### Çıktı: 0.2.
|
|
303
|
+
### Çıktı: 0.2.4
|
|
304
304
|
|
|
305
305
|
pixi run pip list | grep adnus
|
|
306
306
|
|
|
307
|
-
### adnus 0.2.
|
|
307
|
+
### adnus 0.2.4
|
|
308
308
|
|
|
309
309
|
pixi run pip show adnus
|
|
310
310
|
|
|
311
311
|
Name: adnus
|
|
312
312
|
|
|
313
|
-
Version: 0.2.
|
|
313
|
+
Version: 0.2.4
|
|
314
314
|
|
|
315
315
|
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
316
316
|
|
|
@@ -28,7 +28,7 @@ Example Usage:
|
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
30
|
# Core version information
|
|
31
|
-
__version__ = "0.2.
|
|
31
|
+
__version__ = "0.2.4"
|
|
32
32
|
__author__ = "Mehmet Keçeci"
|
|
33
33
|
__license__ = "AGPL-3.0-or-later"
|
|
34
34
|
__copyright__ = "Copyright (C) 2025-2026 Mehmet Keçeci"
|
|
@@ -78,7 +78,7 @@ __all__ = [
|
|
|
78
78
|
]
|
|
79
79
|
|
|
80
80
|
# Import core modules
|
|
81
|
-
from .
|
|
81
|
+
from .adnus import (
|
|
82
82
|
AdvancedNumber,
|
|
83
83
|
ComplexNumber,
|
|
84
84
|
BicomplexNumber,
|
|
@@ -142,7 +142,7 @@ Neutrosophic = Neutrosophic
|
|
|
142
142
|
def __getattr__(name):
|
|
143
143
|
"""Lazy loading for optional components."""
|
|
144
144
|
if name == 'HAS_KECECI':
|
|
145
|
-
from .
|
|
145
|
+
from .adnus import HAS_KECECI
|
|
146
146
|
return HAS_KECECI
|
|
147
147
|
raise AttributeError(f"module 'adnus' has no attribute '{name}'")
|
|
148
148
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adnus
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
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
|
|
@@ -711,7 +711,7 @@ Dynamic: requires-python
|
|
|
711
711
|
[](https://anaconda.org/bilgi/adnus)
|
|
712
712
|
|
|
713
713
|
[](https://opensource.org/)
|
|
714
|
-
[](https://adnus.readthedocs.io/en/latest)
|
|
715
715
|
|
|
716
716
|
[](https://www.bestpractices.dev/projects/-)
|
|
717
717
|
|
|
@@ -974,7 +974,7 @@ pixi workspace channel add https://repo.prefix.dev/bilgi --prepend
|
|
|
974
974
|
|
|
975
975
|
pixi add adnus
|
|
976
976
|
|
|
977
|
-
✔ Added adnus >=0.2.
|
|
977
|
+
✔ Added adnus >=0.2.4,<2
|
|
978
978
|
|
|
979
979
|
pixi install
|
|
980
980
|
|
|
@@ -982,7 +982,7 @@ pixi shell
|
|
|
982
982
|
|
|
983
983
|
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
984
984
|
|
|
985
|
-
### Çıktı: 0.2.
|
|
985
|
+
### Çıktı: 0.2.4
|
|
986
986
|
|
|
987
987
|
pixi remove adnus
|
|
988
988
|
|
|
@@ -990,17 +990,17 @@ conda install -c https://prefix.dev/bilgi adnus
|
|
|
990
990
|
|
|
991
991
|
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
992
992
|
|
|
993
|
-
### Çıktı: 0.2.
|
|
993
|
+
### Çıktı: 0.2.4
|
|
994
994
|
|
|
995
995
|
pixi run pip list | grep adnus
|
|
996
996
|
|
|
997
|
-
### adnus 0.2.
|
|
997
|
+
### adnus 0.2.4
|
|
998
998
|
|
|
999
999
|
pixi run pip show adnus
|
|
1000
1000
|
|
|
1001
1001
|
Name: adnus
|
|
1002
1002
|
|
|
1003
|
-
Version: 0.2.
|
|
1003
|
+
Version: 0.2.4
|
|
1004
1004
|
|
|
1005
1005
|
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
1006
1006
|
|
|
@@ -12,8 +12,6 @@ MANIFEST.in
|
|
|
12
12
|
README.md
|
|
13
13
|
SECURITY.md
|
|
14
14
|
conda_build_config.yaml
|
|
15
|
-
meta.yaml
|
|
16
|
-
myst.yml
|
|
17
15
|
pixi.toml
|
|
18
16
|
pyproject.toml
|
|
19
17
|
recipe.yaml
|
|
@@ -41,11 +39,12 @@ tox.toml
|
|
|
41
39
|
adnus/__init__.py
|
|
42
40
|
adnus/_version.py
|
|
43
41
|
adnus/adnus.py
|
|
44
|
-
adnus
|
|
45
|
-
adnus
|
|
46
|
-
adnus
|
|
47
|
-
adnus
|
|
48
|
-
adnus
|
|
42
|
+
adnus.egg-info/PKG-INFO
|
|
43
|
+
adnus.egg-info/SOURCES.txt
|
|
44
|
+
adnus.egg-info/dependency_links.txt
|
|
45
|
+
adnus.egg-info/requires.txt
|
|
46
|
+
adnus.egg-info/top_level.txt
|
|
47
|
+
conda-recipe/meta.yaml
|
|
49
48
|
docs/adnus.png
|
|
50
49
|
docs/conf.py
|
|
51
50
|
docs/favicon.ico
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
adnus
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{% set version = "0.2.4" %}
|
|
2
|
+
|
|
3
|
+
package:
|
|
4
|
+
name: adnus
|
|
5
|
+
version: "{{ version }}"
|
|
6
|
+
|
|
7
|
+
source:
|
|
8
|
+
path: ..
|
|
9
|
+
url:
|
|
10
|
+
blake2b-256:
|
|
11
|
+
|
|
12
|
+
build:
|
|
13
|
+
noarch: python
|
|
14
|
+
number: 0
|
|
15
|
+
script: |
|
|
16
|
+
echo "SRC_DIR=$SRC_DIR"
|
|
17
|
+
test -f "$SRC_DIR/pyproject.toml"
|
|
18
|
+
test -f "$SRC_DIR/adnus/__init__.py"
|
|
19
|
+
|
|
20
|
+
{{ PYTHON }} -m pip install "$SRC_DIR" --no-deps --ignore-installed -vv
|
|
21
|
+
|
|
22
|
+
echo "Kurulumdan sonra adnus dosyaları:"
|
|
23
|
+
find "$SP_DIR" -maxdepth 3 -path '*adnus*' -print
|
|
24
|
+
|
|
25
|
+
requirements:
|
|
26
|
+
host:
|
|
27
|
+
- python >=3.11
|
|
28
|
+
- pip
|
|
29
|
+
- setuptools >=77.0
|
|
30
|
+
- wheel
|
|
31
|
+
- setuptools_scm >=6.2
|
|
32
|
+
run:
|
|
33
|
+
- python >=3.11
|
|
34
|
+
- numpy >=2.3.3
|
|
35
|
+
|
|
36
|
+
test:
|
|
37
|
+
imports:
|
|
38
|
+
- adnus
|
|
39
|
+
|
|
40
|
+
about:
|
|
41
|
+
home: https://github.com/WhiteSymmetry/adnus
|
|
42
|
+
license: AGPL-3.0-or-later
|
|
43
|
+
license_file: LICENSE
|
|
44
|
+
summary: "adnus (AdNuS): Advanced Number Systems"
|
|
@@ -4,11 +4,11 @@ authors = ["Mehmet Keçeci <enfo@tuta.io>"]
|
|
|
4
4
|
channels = ["https://prefix.dev/bilgi", "bilgi", "pypi", "https://prefix.dev/conda-forge", "https://conda.modular.com/max-nightly", "conda-forge", "https://repo.prefix.dev/modular-community"]
|
|
5
5
|
platforms = ["linux-64"]
|
|
6
6
|
name = "adnus"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.40"
|
|
8
8
|
|
|
9
9
|
[package]
|
|
10
10
|
name = "adnus"
|
|
11
|
-
version = "0.2.
|
|
11
|
+
version = "0.2.40"
|
|
12
12
|
license = "AGPL-3.0-or-later"
|
|
13
13
|
|
|
14
14
|
[dependencies]
|
|
@@ -37,4 +37,6 @@ name = "pixi-build-python"
|
|
|
37
37
|
version = "*"
|
|
38
38
|
|
|
39
39
|
[package.host-dependencies]
|
|
40
|
-
|
|
40
|
+
python = ">=3.11"
|
|
41
|
+
setuptools = ">=84.0.0"
|
|
42
|
+
pip = "*"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# pyproject.toml
|
|
2
2
|
[project]
|
|
3
3
|
name = "adnus"
|
|
4
|
-
version = "0.2.
|
|
4
|
+
version = "0.2.4"
|
|
5
5
|
description = "A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon."
|
|
6
6
|
authors = [
|
|
7
7
|
{name = "Mehmet Keçeci", email = "enfo@tuta.io"}
|
|
@@ -32,11 +32,12 @@ build = [
|
|
|
32
32
|
]
|
|
33
33
|
|
|
34
34
|
[tool.setuptools]
|
|
35
|
-
package-
|
|
36
|
-
packages = {find = {where = ["src"]}}
|
|
35
|
+
include-package-data = true
|
|
37
36
|
|
|
38
|
-
[tool.setuptools.
|
|
39
|
-
|
|
37
|
+
[tool.setuptools.packages.find]
|
|
38
|
+
where = ["."]
|
|
39
|
+
include = ["adnus", "adnus.*"]
|
|
40
|
+
namespaces = false
|
|
40
41
|
|
|
41
42
|
[build-system]
|
|
42
43
|
requires = [
|
|
@@ -4,13 +4,13 @@ schema_version: 1
|
|
|
4
4
|
# this sets up "context variables" (in this case name and version) that
|
|
5
5
|
# can later be used in Jinja expressions
|
|
6
6
|
context:
|
|
7
|
-
version: 0.2.
|
|
7
|
+
version: 0.2.40
|
|
8
8
|
name: adnus
|
|
9
9
|
|
|
10
10
|
# top level package information (name and version)
|
|
11
11
|
package:
|
|
12
12
|
name: adnus
|
|
13
|
-
version: 0.2.
|
|
13
|
+
version: 0.2.40
|
|
14
14
|
|
|
15
15
|
# location to get the source from
|
|
16
16
|
#`source` are `url`, `sha256`, `md5`, `patches`, `file_name` and `target_directory`
|
|
@@ -31,10 +31,10 @@ requirements:
|
|
|
31
31
|
- pip
|
|
32
32
|
- setuptools
|
|
33
33
|
- wheel
|
|
34
|
+
- numpy
|
|
34
35
|
run:
|
|
35
36
|
- python >=3.11 # hypercomplex uyumlu versiyon
|
|
36
37
|
- numpy # adnus numpy kullanıyor
|
|
37
|
-
- pip
|
|
38
38
|
|
|
39
39
|
# tests to validate that the package works as expected
|
|
40
40
|
#tests:
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
name: Conda-Build, Test, and Publish Package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
release:
|
|
6
|
-
types: [published]
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
contents: read
|
|
10
|
-
pull-requests: write
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
build-publish:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
strategy:
|
|
16
|
-
matrix:
|
|
17
|
-
python-version: ["3.11"]
|
|
18
|
-
|
|
19
|
-
steps:
|
|
20
|
-
- name: Checkout repository
|
|
21
|
-
uses: actions/checkout@v7
|
|
22
|
-
|
|
23
|
-
- name: Setup Miniconda for Python ${{ matrix.python-version }}
|
|
24
|
-
uses: conda-incubator/setup-miniconda@v4
|
|
25
|
-
with:
|
|
26
|
-
auto-activate-base: false
|
|
27
|
-
python-version: "${{ matrix.python-version }}"
|
|
28
|
-
channels: conda-forge,defaults
|
|
29
|
-
channel-priority: strict
|
|
30
|
-
|
|
31
|
-
- name: Install Conda-Build and Conda-Verify
|
|
32
|
-
run: conda install -n base conda-build -y
|
|
33
|
-
|
|
34
|
-
- name: Build the package for Python ${{ matrix.python-version }}
|
|
35
|
-
run: |
|
|
36
|
-
export PKG_VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')
|
|
37
|
-
echo "Building version: $PKG_VERSION for Python ${{ matrix.python-version }}"
|
|
38
|
-
|
|
39
|
-
conda build . --python ${{ matrix.python-version }} --output-folder ./dist
|
|
40
|
-
|
|
41
|
-
if [ -z "$(ls -A dist)" ]; then
|
|
42
|
-
echo "HATA: Hiçbir conda paketi oluşturulmadı."
|
|
43
|
-
exit 1
|
|
44
|
-
fi
|
|
45
|
-
echo "Oluşturulan paket:"
|
|
46
|
-
ls -l dist
|
|
47
|
-
|
|
48
|
-
- name: Create test environment and install dependencies
|
|
49
|
-
run: |
|
|
50
|
-
conda create -n test-env -y python=${{ matrix.python-version }} pytest pytest-cov
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
- name: Run development tests
|
|
54
|
-
run: |
|
|
55
|
-
conda run -n test-env --no-capture-output python -m pytest tests/ --cov=adnus
|
|
56
|
-
|
|
57
|
-
- name: Install and test the built package
|
|
58
|
-
run: |
|
|
59
|
-
PACKAGE_FILE=$(ls dist/*.conda | head -n 1)
|
|
60
|
-
conda install -n test-env -y "$PACKAGE_FILE"
|
|
61
|
-
conda run -n test-env --no-capture-output python -c "import adnus; print('Import successful for Python ${{ matrix.python-version }}!')"
|
|
62
|
-
|
|
63
|
-
- name: Debug - List files in the workspace
|
|
64
|
-
run: |
|
|
65
|
-
echo "--- Current Working Directory ---"
|
|
66
|
-
pwd
|
|
67
|
-
echo "--- Recursive file listing ---"
|
|
68
|
-
ls -R
|
|
69
|
-
echo "--- End of file listing ---"
|
|
70
|
-
|
|
71
|
-
- name: Upload to Anaconda Cloud
|
|
72
|
-
if: success()
|
|
73
|
-
env:
|
|
74
|
-
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
|
|
75
|
-
run: |
|
|
76
|
-
PACKAGE_FILES=$(find dist -name "*.conda")
|
|
77
|
-
|
|
78
|
-
if [ -z "$PACKAGE_FILES" ]; then
|
|
79
|
-
echo "HATA: Yüklenecek .conda dosyası bulunamadı!"
|
|
80
|
-
exit 1
|
|
81
|
-
fi
|
|
82
|
-
|
|
83
|
-
echo "Yüklenecek paketler:"
|
|
84
|
-
echo "$PACKAGE_FILES"
|
|
85
|
-
|
|
86
|
-
conda install -n base -y anaconda-client
|
|
87
|
-
conda run -n base anaconda -t $ANACONDA_TOKEN upload \
|
|
88
|
-
$PACKAGE_FILES \
|
|
89
|
-
--label main \
|
|
90
|
-
--skip-existing
|
|
91
|
-
|
|
92
|
-
- name: Cleanup test environment
|
|
93
|
-
if: always()
|
|
94
|
-
run: conda env remove -n test-env || true
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
adnus-0.2.3/meta.yaml
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{% set version = "0.2.3" %}
|
|
2
|
-
|
|
3
|
-
package:
|
|
4
|
-
name: adnus
|
|
5
|
-
version: "0.2.3"
|
|
6
|
-
|
|
7
|
-
source:
|
|
8
|
-
path: . # Yerel kaynak kodunun dizinini belirtin
|
|
9
|
-
url:
|
|
10
|
-
blake2b-256:
|
|
11
|
-
|
|
12
|
-
build:
|
|
13
|
-
noarch: python # Platformdan bağımsız bir paket oluşturur
|
|
14
|
-
script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv
|
|
15
|
-
number: 0
|
|
16
|
-
|
|
17
|
-
requirements:
|
|
18
|
-
host:
|
|
19
|
-
- python >=3.11
|
|
20
|
-
- pip
|
|
21
|
-
- setuptools >=77.0
|
|
22
|
-
- wheel
|
|
23
|
-
- setuptools_scm >=6.2
|
|
24
|
-
run:
|
|
25
|
-
- python >=3.11
|
|
26
|
-
- numpy >=2.3.3
|
|
27
|
-
|
|
28
|
-
test:
|
|
29
|
-
imports:
|
|
30
|
-
- adnus
|
|
31
|
-
|
|
32
|
-
about:
|
|
33
|
-
home: https://github.com/WhiteSymmetry/adnus
|
|
34
|
-
license: AGPL-3.0-or-later
|
|
35
|
-
license_file: LICENSE
|
|
36
|
-
summary: 'adnus (AdNuS): Advanced Number Systems'
|
|
37
|
-
description: |
|
|
38
|
-
A Python library for Advanced Number Systems (AdNuS), including Bicomplex,
|
|
39
|
-
Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion,
|
|
40
|
-
Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
41
|
-
dev_url: https://github.com/WhiteSymmetry/adnus
|
|
42
|
-
doc_url: https://github.com/WhiteSymmetry/adnus
|
|
43
|
-
doc_source_url: https://github.com/WhiteSymmetry/adnus/blob/main/README.md
|
adnus-0.2.3/myst.yml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# See docs at: https://mystmd.org/guide/frontmatter
|
|
2
|
-
version: 1
|
|
3
|
-
project:
|
|
4
|
-
id: efbb74e0-ffc8-456e-8c7d-581a61757ae4
|
|
5
|
-
# title:
|
|
6
|
-
# description:
|
|
7
|
-
# keywords: []
|
|
8
|
-
# authors: []
|
|
9
|
-
# github:
|
|
10
|
-
# To autogenerate a Table of Contents, run "jupyter book init --write-toc"
|
|
11
|
-
site:
|
|
12
|
-
template: book-theme
|
|
13
|
-
# options:
|
|
14
|
-
# favicon: favicon.ico
|
|
15
|
-
# logo: site_logo.png
|
|
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
|