adnus 0.2.1__tar.gz → 0.2.3__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.1 → adnus-0.2.3}/.github/dependabot.yml +13 -6
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/ci-cd.yml +6 -3
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/codeql.yml +7 -3
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/conda-publish.yml +7 -3
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/jekyll-gh-pages.yml +6 -3
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/lint.yml +6 -2
- adnus-0.2.3/.github/workflows/pixi-workflow.yml +71 -0
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/python-package.yml +4 -4
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/python-publish.yml +6 -3
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/python_ci.yml +7 -3
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/static.yml +6 -6
- {adnus-0.2.1 → adnus-0.2.3}/.github/workflows/workflow.yml +7 -4
- adnus-0.2.3/.github/workflows/zenodo.yml +40 -0
- adnus-0.2.3/.github/workflows/zizmor.yml +50 -0
- {adnus-0.2.1 → adnus-0.2.3}/CITATION.cff +2 -2
- {adnus-0.2.1 → adnus-0.2.3}/CONTRIBUTING.md +4 -4
- {adnus-0.2.1 → adnus-0.2.3}/PKG-INFO +11 -9
- {adnus-0.2.1 → adnus-0.2.3}/README.md +4 -1
- {adnus-0.2.1/src → adnus-0.2.3}/adnus/__init__.py +1 -1
- {adnus-0.2.1/src → adnus-0.2.3}/adnus/_version.py +1 -1
- {adnus-0.2.1/src → adnus-0.2.3/adnus}/adnus.egg-info/PKG-INFO +11 -9
- {adnus-0.2.1/src → adnus-0.2.3/adnus}/adnus.egg-info/SOURCES.txt +18 -12
- adnus-0.2.3/adnus/adnus.egg-info/requires.txt +8 -0
- adnus-0.2.3/conda_build_config.yaml +2 -0
- adnus-0.2.3/docs/adnus.png +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/docs/conf.py +4 -4
- adnus-0.2.3/docs/favicon.ico +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/docs/requirements.txt +1 -1
- {adnus-0.2.1 → adnus-0.2.3}/meta.yaml +3 -4
- adnus-0.2.3/myst.yml +15 -0
- adnus-0.2.3/pixi.toml +40 -0
- {adnus-0.2.1 → adnus-0.2.3}/pyproject.toml +9 -10
- adnus-0.2.3/recipe.yaml +59 -0
- adnus-0.2.3/requirements-dev.txt +1 -0
- adnus-0.2.3/requirements.txt +1 -0
- adnus-0.2.3/setup.cfg +24 -0
- {adnus-0.2.1 → adnus-0.2.3}/setup.py +8 -9
- adnus-0.2.3/tox.ini +26 -0
- adnus-0.2.3/tox.toml +153 -0
- adnus-0.2.1/.github/workflows/zenodo.yml +0 -25
- adnus-0.2.1/conda_build_config.yaml +0 -2
- adnus-0.2.1/package.json +0 -35
- adnus-0.2.1/poetry.lock +0 -308
- adnus-0.2.1/recipe/meta.yaml +0 -44
- adnus-0.2.1/requirements.txt +0 -1
- adnus-0.2.1/setup.cfg +0 -4
- adnus-0.2.1/src/adnus.egg-info/requires.txt +0 -9
- adnus-0.2.1/src/adnus.egg-info/top_level.txt +0 -1
- {adnus-0.2.1 → adnus-0.2.3}/.gitattributes +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/.github/CODEOWNERS +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/.gitignore +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/.pre-commit-config.yaml +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/.readthedocs.yaml +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/.ruff.toml +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/.zenodo.json +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/CODE_OF_CONDUCT.md +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/LICENSE +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/MANIFEST.in +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/SECURITY.md +0 -0
- {adnus-0.2.1/src → adnus-0.2.3/adnus}/adnus.egg-info/dependency_links.txt +0 -0
- /adnus-0.2.1/package-lock.json → /adnus-0.2.3/adnus/adnus.egg-info/top_level.txt +0 -0
- /adnus-0.2.1/src/adnus/main.py → /adnus-0.2.3/adnus/adnus.py +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/docs/index.rst +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/notebook/adnus-020.ipynb +0 -0
- {adnus-0.2.1 → adnus-0.2.3}/tests/test_adnus.py +0 -0
|
@@ -5,11 +5,18 @@
|
|
|
5
5
|
# Dependabot configuration for automatic dependency updates
|
|
6
6
|
version: 2
|
|
7
7
|
updates:
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
# 1) Python paketleri
|
|
9
|
+
- package-ecosystem: "pip"
|
|
10
|
+
directory: "/"
|
|
10
11
|
schedule:
|
|
11
|
-
interval: "weekly"
|
|
12
|
-
open-pull-requests-limit: 10
|
|
12
|
+
interval: "weekly"
|
|
13
|
+
open-pull-requests-limit: 10
|
|
13
14
|
ignore:
|
|
14
|
-
- dependency-name: "example-package"
|
|
15
|
-
versions: ["==1.*"]
|
|
15
|
+
- dependency-name: "example-package"
|
|
16
|
+
versions: ["==1.*"]
|
|
17
|
+
|
|
18
|
+
# 2) GitHub Actions (actions/... ve github/...)
|
|
19
|
+
- package-ecosystem: "github-actions"
|
|
20
|
+
directory: "/"
|
|
21
|
+
schedule:
|
|
22
|
+
interval: "weekly"
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
name: Publish Python Package to PyPI
|
|
2
|
+
permissions:
|
|
3
|
+
contents: read
|
|
4
|
+
pull-requests: write
|
|
2
5
|
|
|
3
6
|
on:
|
|
4
7
|
push:
|
|
@@ -15,10 +18,10 @@ jobs:
|
|
|
15
18
|
|
|
16
19
|
steps:
|
|
17
20
|
- name: Checkout code
|
|
18
|
-
uses: actions/checkout@
|
|
21
|
+
uses: actions/checkout@v7
|
|
19
22
|
|
|
20
23
|
- name: Set up Python
|
|
21
|
-
uses: actions/setup-python@
|
|
24
|
+
uses: actions/setup-python@v7
|
|
22
25
|
with:
|
|
23
26
|
python-version: '3.x'
|
|
24
27
|
|
|
@@ -31,5 +34,5 @@ jobs:
|
|
|
31
34
|
run: python -m build
|
|
32
35
|
|
|
33
36
|
- name: Publish to PyPI
|
|
34
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
37
|
+
uses: pypa/gh-action-pypi-publish@v1.14.2
|
|
35
38
|
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
#
|
|
12
12
|
name: "CodeQL Advanced"
|
|
13
13
|
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
pull-requests: write
|
|
17
|
+
|
|
14
18
|
on:
|
|
15
19
|
push:
|
|
16
20
|
branches: [ "main" ]
|
|
@@ -57,7 +61,7 @@ jobs:
|
|
|
57
61
|
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
|
58
62
|
steps:
|
|
59
63
|
- name: Checkout repository
|
|
60
|
-
uses: actions/checkout@
|
|
64
|
+
uses: actions/checkout@v7
|
|
61
65
|
|
|
62
66
|
# Add any setup steps before running the `github/codeql-action/init` action.
|
|
63
67
|
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
|
@@ -67,7 +71,7 @@ jobs:
|
|
|
67
71
|
|
|
68
72
|
# Initializes the CodeQL tools for scanning.
|
|
69
73
|
- name: Initialize CodeQL
|
|
70
|
-
uses: github/codeql-action/init@
|
|
74
|
+
uses: github/codeql-action/init@v4
|
|
71
75
|
with:
|
|
72
76
|
languages: ${{ matrix.language }}
|
|
73
77
|
build-mode: ${{ matrix.build-mode }}
|
|
@@ -95,6 +99,6 @@ jobs:
|
|
|
95
99
|
exit 1
|
|
96
100
|
|
|
97
101
|
- name: Perform CodeQL Analysis
|
|
98
|
-
uses: github/codeql-action/analyze@
|
|
102
|
+
uses: github/codeql-action/analyze@v4
|
|
99
103
|
with:
|
|
100
104
|
category: "/language:${{matrix.language}}"
|
|
@@ -5,6 +5,10 @@ on:
|
|
|
5
5
|
release:
|
|
6
6
|
types: [published]
|
|
7
7
|
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
pull-requests: write
|
|
11
|
+
|
|
8
12
|
jobs:
|
|
9
13
|
build-publish:
|
|
10
14
|
runs-on: ubuntu-latest
|
|
@@ -14,10 +18,10 @@ jobs:
|
|
|
14
18
|
|
|
15
19
|
steps:
|
|
16
20
|
- name: Checkout repository
|
|
17
|
-
uses: actions/checkout@
|
|
21
|
+
uses: actions/checkout@v7
|
|
18
22
|
|
|
19
23
|
- name: Setup Miniconda for Python ${{ matrix.python-version }}
|
|
20
|
-
uses: conda-incubator/setup-miniconda@
|
|
24
|
+
uses: conda-incubator/setup-miniconda@v4
|
|
21
25
|
with:
|
|
22
26
|
auto-activate-base: false
|
|
23
27
|
python-version: "${{ matrix.python-version }}"
|
|
@@ -43,7 +47,7 @@ jobs:
|
|
|
43
47
|
|
|
44
48
|
- name: Create test environment and install dependencies
|
|
45
49
|
run: |
|
|
46
|
-
conda create -n test-env -y python=${{ matrix.python-version }}
|
|
50
|
+
conda create -n test-env -y python=${{ matrix.python-version }} pytest pytest-cov
|
|
47
51
|
|
|
48
52
|
|
|
49
53
|
- name: Run development tests
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
name: Publish Python Package to PyPI
|
|
2
|
+
permissions:
|
|
3
|
+
contents: read
|
|
4
|
+
pull-requests: write
|
|
2
5
|
|
|
3
6
|
on:
|
|
4
7
|
push:
|
|
@@ -15,10 +18,10 @@ jobs:
|
|
|
15
18
|
|
|
16
19
|
steps:
|
|
17
20
|
- name: Checkout code
|
|
18
|
-
uses: actions/checkout@
|
|
21
|
+
uses: actions/checkout@v7
|
|
19
22
|
|
|
20
23
|
- name: Set up Python
|
|
21
|
-
uses: actions/setup-python@
|
|
24
|
+
uses: actions/setup-python@v7
|
|
22
25
|
with:
|
|
23
26
|
python-version: '3.x'
|
|
24
27
|
|
|
@@ -31,5 +34,5 @@ jobs:
|
|
|
31
34
|
run: python -m build
|
|
32
35
|
|
|
33
36
|
- name: Publish to PyPI
|
|
34
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
37
|
+
uses: pypa/gh-action-pypi-publish@v1.14.2
|
|
35
38
|
|
|
@@ -2,13 +2,17 @@ name: Lint with Ruff
|
|
|
2
2
|
|
|
3
3
|
on: [push, pull_request]
|
|
4
4
|
|
|
5
|
+
permissions:
|
|
6
|
+
contents: read
|
|
7
|
+
pull-requests: write
|
|
8
|
+
|
|
5
9
|
jobs:
|
|
6
10
|
ruff:
|
|
7
11
|
runs-on: ubuntu-latest
|
|
8
12
|
steps:
|
|
9
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@v7
|
|
10
14
|
- name: Set up Python
|
|
11
|
-
uses: actions/setup-python@
|
|
15
|
+
uses: actions/setup-python@v7
|
|
12
16
|
with:
|
|
13
17
|
python-version: '3.11'
|
|
14
18
|
- name: Install Ruff
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
name: Pixi CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
id-token: write
|
|
8
|
+
contents: read
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test-and-build:
|
|
12
|
+
# Matristen gelen işletim sistemini dinamik olarak kullanır
|
|
13
|
+
runs-on: ${{ matrix.os }}
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
# 🚀 Tüm ana işletim sistemlerini matrise ekledik
|
|
17
|
+
os: [ubuntu-latest, macos-latest]
|
|
18
|
+
python-version: ["3.14"]
|
|
19
|
+
fail-fast: false
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- name: 📥 Checkout code
|
|
23
|
+
uses: actions/checkout@v7.0.1
|
|
24
|
+
|
|
25
|
+
- name: 🐍 Set up Python ${{ matrix.python-version }}
|
|
26
|
+
uses: actions/setup-python@v6
|
|
27
|
+
with:
|
|
28
|
+
python-version: ${{ matrix.python-version }}
|
|
29
|
+
|
|
30
|
+
- name: 🚀 Install Pixi
|
|
31
|
+
uses: prefix-dev/setup-pixi@v0.10.2
|
|
32
|
+
with:
|
|
33
|
+
pixi-version: "latest"
|
|
34
|
+
cache: false # Önbellek çakışmasını engeller
|
|
35
|
+
frozen: false # Kilit dosyası yoksa veya eksikse dinamik olarak çözülmesine izin verir
|
|
36
|
+
|
|
37
|
+
- name: 🧠 Cache Pixi environments & cache
|
|
38
|
+
uses: actions/cache@v6
|
|
39
|
+
with:
|
|
40
|
+
path: |
|
|
41
|
+
~/.cache/pixi
|
|
42
|
+
~/.pixi/envs
|
|
43
|
+
key: ${{ runner.os }}-pixi-${{ hashFiles('pixi.lock') }}
|
|
44
|
+
restore-keys: |
|
|
45
|
+
${{ runner.os }}-pixi-
|
|
46
|
+
|
|
47
|
+
- name: 📦 Install dependencies
|
|
48
|
+
run: pixi install --frozen
|
|
49
|
+
|
|
50
|
+
- name: 🔧 Install package in editable mode
|
|
51
|
+
run: pixi run pip install -e .
|
|
52
|
+
|
|
53
|
+
- name: 🧪 Run tests
|
|
54
|
+
run: pixi run test
|
|
55
|
+
|
|
56
|
+
- name: 🏗️ Build package (wheel + sdist)
|
|
57
|
+
run: pixi run build
|
|
58
|
+
# Gerekiyorsa `build` görevini pixi.toml'da tanımlamış olmalısınız:
|
|
59
|
+
# [tasks]
|
|
60
|
+
# build = "python -m build"
|
|
61
|
+
|
|
62
|
+
- name: 📤 Upload build artifacts
|
|
63
|
+
uses: actions/upload-artifact@v7
|
|
64
|
+
with:
|
|
65
|
+
name: kha256-dist-${{ matrix.os }}-py${{ matrix.python-version }}
|
|
66
|
+
path: dist/
|
|
67
|
+
if-no-files-found: ignore
|
|
68
|
+
|
|
69
|
+
- name: 🏗️ Paket Derle ve prefix.dev'e Yayınla (Trusted Publishing)
|
|
70
|
+
# Hangi sunucuda çalışıyorsa (Win/Mac/Linux) o platformun paketini derleyip yükler
|
|
71
|
+
run: pixi publish --target-channel https://prefix.dev/bilgi
|
|
@@ -22,10 +22,10 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
steps:
|
|
24
24
|
- name: Check out the repository
|
|
25
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@v7
|
|
26
26
|
|
|
27
27
|
- name: Cache dependencies
|
|
28
|
-
uses: actions/cache@
|
|
28
|
+
uses: actions/cache@v6
|
|
29
29
|
with:
|
|
30
30
|
path: ~/.cache/pip
|
|
31
31
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
${{ runner.os }}-pip-
|
|
34
34
|
|
|
35
35
|
- name: Set up Python ${{ matrix.python-version }}
|
|
36
|
-
uses: actions/setup-python@
|
|
36
|
+
uses: actions/setup-python@v7
|
|
37
37
|
with:
|
|
38
38
|
python-version: ${{ matrix.python-version }}
|
|
39
39
|
|
|
@@ -52,5 +52,5 @@ jobs:
|
|
|
52
52
|
run: pytest --cov=your_package_name --cov-report=xml
|
|
53
53
|
|
|
54
54
|
- name: Upload coverage to Codecov
|
|
55
|
-
uses: codecov/codecov-action@
|
|
55
|
+
uses: codecov/codecov-action@v7
|
|
56
56
|
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
name: Publish Python Package to PyPI
|
|
2
|
+
permissions:
|
|
3
|
+
contents: read
|
|
4
|
+
pull-requests: write
|
|
2
5
|
|
|
3
6
|
on:
|
|
4
7
|
push:
|
|
@@ -15,10 +18,10 @@ jobs:
|
|
|
15
18
|
|
|
16
19
|
steps:
|
|
17
20
|
- name: Checkout code
|
|
18
|
-
uses: actions/checkout@
|
|
21
|
+
uses: actions/checkout@v7
|
|
19
22
|
|
|
20
23
|
- name: Set up Python
|
|
21
|
-
uses: actions/setup-python@
|
|
24
|
+
uses: actions/setup-python@v7
|
|
22
25
|
with:
|
|
23
26
|
python-version: '3.x'
|
|
24
27
|
|
|
@@ -31,5 +34,5 @@ jobs:
|
|
|
31
34
|
run: python -m build
|
|
32
35
|
|
|
33
36
|
- name: Publish to PyPI
|
|
34
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
37
|
+
uses: pypa/gh-action-pypi-publish@v1.14.2
|
|
35
38
|
|
|
@@ -3,24 +3,28 @@ name: Run tests and upload coverage
|
|
|
3
3
|
on:
|
|
4
4
|
push
|
|
5
5
|
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
8
|
+
pull-requests: write
|
|
9
|
+
|
|
6
10
|
jobs:
|
|
7
11
|
test:
|
|
8
12
|
name: Run tests and collect coverage
|
|
9
13
|
runs-on: ubuntu-latest
|
|
10
14
|
steps:
|
|
11
15
|
- name: Checkout
|
|
12
|
-
uses: actions/checkout@
|
|
16
|
+
uses: actions/checkout@v7
|
|
13
17
|
with:
|
|
14
18
|
fetch-depth: 2
|
|
15
19
|
|
|
16
20
|
- name: Set up Node
|
|
17
|
-
uses: actions/setup-node@
|
|
21
|
+
uses: actions/setup-node@v7
|
|
18
22
|
|
|
19
23
|
- name: Install dependencies
|
|
20
24
|
run: npm install
|
|
21
25
|
|
|
22
26
|
- name: Upload results to Codecov
|
|
23
|
-
uses: codecov/codecov-action@
|
|
27
|
+
uses: codecov/codecov-action@v7
|
|
24
28
|
with:
|
|
25
29
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
26
30
|
slug: WhiteSymmetry/adnus
|
|
@@ -26,15 +26,15 @@ jobs:
|
|
|
26
26
|
runs-on: ubuntu-latest
|
|
27
27
|
steps:
|
|
28
28
|
- name: Check out the repository
|
|
29
|
-
uses: actions/checkout@
|
|
29
|
+
uses: actions/checkout@v7
|
|
30
30
|
|
|
31
31
|
- name: Set up Node.js
|
|
32
|
-
uses: actions/setup-node@
|
|
32
|
+
uses: actions/setup-node@v7
|
|
33
33
|
with:
|
|
34
34
|
node-version: '20'
|
|
35
35
|
|
|
36
36
|
- name: Cache node_modules
|
|
37
|
-
uses: actions/cache@
|
|
37
|
+
uses: actions/cache@v6
|
|
38
38
|
with:
|
|
39
39
|
path: node_modules
|
|
40
40
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
@@ -45,14 +45,14 @@ jobs:
|
|
|
45
45
|
run: npm run build
|
|
46
46
|
|
|
47
47
|
- name: Configure GitHub Pages
|
|
48
|
-
uses: actions/configure-pages@
|
|
48
|
+
uses: actions/configure-pages@v6
|
|
49
49
|
|
|
50
50
|
- name: Upload static content artifact
|
|
51
|
-
uses: actions/upload-pages-artifact@
|
|
51
|
+
uses: actions/upload-pages-artifact@v5
|
|
52
52
|
with:
|
|
53
53
|
path: './dist' # Uygunsa build çıktısı dizininizi buraya yazın (örneğin: public, build, dist)
|
|
54
54
|
|
|
55
55
|
- name: Deploy to GitHub Pages
|
|
56
56
|
id: deployment
|
|
57
|
-
uses: actions/deploy-pages@
|
|
57
|
+
uses: actions/deploy-pages@v5
|
|
58
58
|
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
name: PyPI-Publish Python Package to PyPI-
|
|
1
|
+
name: PyPI-Publish Python Package to PyPI-Resmî
|
|
2
|
+
permissions:
|
|
3
|
+
contents: read
|
|
4
|
+
pull-requests: write
|
|
2
5
|
|
|
3
6
|
on:
|
|
4
7
|
push:
|
|
@@ -15,10 +18,10 @@ jobs:
|
|
|
15
18
|
|
|
16
19
|
steps:
|
|
17
20
|
- name: Checkout code
|
|
18
|
-
uses: actions/checkout@
|
|
21
|
+
uses: actions/checkout@v7
|
|
19
22
|
|
|
20
23
|
- name: Set up Python
|
|
21
|
-
uses: actions/setup-python@
|
|
24
|
+
uses: actions/setup-python@v7
|
|
22
25
|
with:
|
|
23
26
|
python-version: '3.x'
|
|
24
27
|
|
|
@@ -31,4 +34,4 @@ jobs:
|
|
|
31
34
|
run: python -m build
|
|
32
35
|
|
|
33
36
|
- name: Publish to PyPI
|
|
34
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
37
|
+
uses: pypa/gh-action-pypi-publish@v1.14.2
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: Release on Zenodo
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
pull-requests: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
upload-to-zenodo:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
name: A job to update metadata and push a release to Zenodo
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
# This step is not needed at the moment but I might decide to add more steps in the future
|
|
18
|
+
- name: Set up Node.js
|
|
19
|
+
uses: actions/setup-node@v7
|
|
20
|
+
with:
|
|
21
|
+
node-version: 16
|
|
22
|
+
|
|
23
|
+
- name: Upload to Zenodo
|
|
24
|
+
id: release
|
|
25
|
+
uses: megasanjay/upload-to-zenodo@v2.0.1
|
|
26
|
+
with:
|
|
27
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
28
|
+
zenodo_token: ${{ secrets.ZENODO_TOKEN }}
|
|
29
|
+
zenodo_deposition_id: SOME_DEPOSITION_ID
|
|
30
|
+
zenodo_publish: true
|
|
31
|
+
zenodo_sandbox: false
|
|
32
|
+
commit_message: 'chore: update ${file_name} for Zenodo release'
|
|
33
|
+
update_metadata_files: true
|
|
34
|
+
codemeta_json: true
|
|
35
|
+
citation_cff: true
|
|
36
|
+
zenodo_json: true
|
|
37
|
+
|
|
38
|
+
# Get the doi from the `release` step
|
|
39
|
+
- name: Get the output doi
|
|
40
|
+
run: echo "The released doi was ${{ steps.release.outputs.doi }}"
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: GitHub Actions Security Analysis with zizmor 🌈
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["main"]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: ["**"]
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
pull-requests: write
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
zizmor:
|
|
15
|
+
name: zizmor latest via PyPI
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
permissions:
|
|
18
|
+
security-events: write
|
|
19
|
+
contents: read
|
|
20
|
+
actions: read
|
|
21
|
+
steps:
|
|
22
|
+
- name: Checkout repository
|
|
23
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
24
|
+
with:
|
|
25
|
+
persist-credentials: false
|
|
26
|
+
|
|
27
|
+
- name: Install the latest version of uv
|
|
28
|
+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
|
|
29
|
+
|
|
30
|
+
- name: Run zizmor 🌈
|
|
31
|
+
run: |
|
|
32
|
+
uvx zizmor --format=sarif . > results.sarif
|
|
33
|
+
echo "SARIF file contents:"
|
|
34
|
+
cat results.sarif
|
|
35
|
+
env:
|
|
36
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
37
|
+
|
|
38
|
+
- name: Verify SARIF file exists
|
|
39
|
+
run: |
|
|
40
|
+
if [ ! -f results.sarif ]; then
|
|
41
|
+
echo "Error: results.sarif was not created!"
|
|
42
|
+
exit 1
|
|
43
|
+
fi
|
|
44
|
+
echo "SARIF file size: $(wc -c < results.sarif) bytes"
|
|
45
|
+
|
|
46
|
+
- name: Upload SARIF file
|
|
47
|
+
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
|
|
48
|
+
with:
|
|
49
|
+
sarif_file: results.sarif
|
|
50
|
+
category: zizmor
|
|
@@ -12,7 +12,7 @@ type: software
|
|
|
12
12
|
authors:
|
|
13
13
|
- given-names: Mehmet
|
|
14
14
|
family-names: Keçeci
|
|
15
|
-
email:
|
|
15
|
+
email: enfo@tuta.io
|
|
16
16
|
orcid: 'https://orcid.org/0000-0001-9937-9839'
|
|
17
17
|
identifiers:
|
|
18
18
|
- type: doi
|
|
@@ -33,5 +33,5 @@ keywords:
|
|
|
33
33
|
- adnus
|
|
34
34
|
license: AGPL-3.0-or-later
|
|
35
35
|
commit: 'Revision: 1'
|
|
36
|
-
version: 0.2.
|
|
36
|
+
version: 0.2.3
|
|
37
37
|
date-released: '2025-07-12'
|
|
@@ -11,7 +11,7 @@ about it. If not, you can submit a new issue, making sure to include:
|
|
|
11
11
|
|
|
12
12
|
* Your OS name and version.
|
|
13
13
|
* Any details about your local setup (_e.g._, your Python environment setup) that might be helpful in troubleshooting.
|
|
14
|
-
* The
|
|
14
|
+
* The adnus version you are using.
|
|
15
15
|
* Detailed steps to reproduce the bug.
|
|
16
16
|
* A tag, if appropriate (_e.g._, "bug" or "enhancement").
|
|
17
17
|
|
|
@@ -32,11 +32,11 @@ part of the documentation, such as the getting started guides or the docstrings/
|
|
|
32
32
|
|
|
33
33
|
## Get Started!
|
|
34
34
|
|
|
35
|
-
Ready to contribute? Here's how to set up
|
|
35
|
+
Ready to contribute? Here's how to set up adnus for local development.
|
|
36
36
|
|
|
37
37
|
1. You will need to have `git` installed on your local machine, and you will need some way to create and manage
|
|
38
38
|
Python virtual environments. We recommend using `conda`.
|
|
39
|
-
2. Create your own fork of the
|
|
39
|
+
2. Create your own fork of the adnus [repository](https://github.com/WhiteSymmetry/adnus).
|
|
40
40
|
3. Clone your repository, for example by typing in your terminal:
|
|
41
41
|
`git clone https://github.com/<your_username>/kececifractals.git`.
|
|
42
42
|
4. Install `solardatatools` as editable in your new environment:
|
|
@@ -77,5 +77,5 @@ Before you submit a pull request, check that it meets these guidelines:
|
|
|
77
77
|
|
|
78
78
|
## Code of Conduct
|
|
79
79
|
|
|
80
|
-
Please note that the
|
|
80
|
+
Please note that the adnus project is released with a
|
|
81
81
|
[Code of Conduct](getting_started/CODE_OF_CONDUCT.md). By contributing to this project you agree to abide by its terms.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adnus
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
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
|
-
Author-email: Mehmet Keçeci <
|
|
7
|
+
Author-email: Mehmet Keçeci <enfo@tuta.io>
|
|
8
8
|
Maintainer: Mehmet Keçeci
|
|
9
|
-
Maintainer-email: Mehmet Keçeci <
|
|
9
|
+
Maintainer-email: Mehmet Keçeci <enfo@tuta.io>
|
|
10
10
|
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
|
11
11
|
Version 3, 19 November 2007
|
|
12
12
|
|
|
@@ -676,13 +676,12 @@ Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
|
676
676
|
Requires-Python: >=3.11
|
|
677
677
|
Description-Content-Type: text/markdown
|
|
678
678
|
License-File: LICENSE
|
|
679
|
-
Requires-Dist: numpy
|
|
680
|
-
Requires-Dist: hypercomplex==0.3.4
|
|
679
|
+
Requires-Dist: numpy>=2.4.1
|
|
681
680
|
Provides-Extra: dev
|
|
682
|
-
Requires-Dist: pytest
|
|
681
|
+
Requires-Dist: pytest>=9.0.2; extra == "dev"
|
|
683
682
|
Provides-Extra: build
|
|
684
|
-
Requires-Dist: setuptools
|
|
685
|
-
Requires-Dist: cython
|
|
683
|
+
Requires-Dist: setuptools>=80.10.1; extra == "build"
|
|
684
|
+
Requires-Dist: cython>=3.2.4; extra == "build"
|
|
686
685
|
Dynamic: author
|
|
687
686
|
Dynamic: home-page
|
|
688
687
|
Dynamic: license-file
|
|
@@ -691,6 +690,8 @@ Dynamic: requires-python
|
|
|
691
690
|
|
|
692
691
|
# adnus (AdNuS): Advanced Number Systems.
|
|
693
692
|
|
|
693
|
+
# AdNuS <img src="https://github.com/WhiteSymmetry/adnus/blob/main/docs/adnus.png" alt="adnus" align="right" height="140"/>
|
|
694
|
+
|
|
694
695
|
---
|
|
695
696
|
[](https://badge.fury.io/py/adnus)
|
|
696
697
|
|
|
@@ -710,7 +711,7 @@ Dynamic: requires-python
|
|
|
710
711
|
[](https://anaconda.org/bilgi/adnus)
|
|
711
712
|
|
|
712
713
|
[](https://opensource.org/)
|
|
713
|
-
[](https://adnus.readthedocs.io/en/latest)
|
|
714
715
|
|
|
715
716
|
[](https://www.bestpractices.dev/projects/-)
|
|
716
717
|
|
|
@@ -722,6 +723,7 @@ Dynamic: requires-python
|
|
|
722
723
|
[](https://pepy.tech/projects/adnus)
|
|
723
724
|
[](CODE_OF_CONDUCT.md)
|
|
724
725
|
[](https://github.com/astral-sh/ruff)
|
|
726
|
+
[](https://deepwiki.com/WhiteSymmetry/adnus)
|
|
725
727
|
|
|
726
728
|
---
|
|
727
729
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# adnus (AdNuS): Advanced Number Systems.
|
|
2
2
|
|
|
3
|
+
# AdNuS <img src="https://github.com/WhiteSymmetry/adnus/blob/main/docs/adnus.png" alt="adnus" align="right" height="140"/>
|
|
4
|
+
|
|
3
5
|
---
|
|
4
6
|
[](https://badge.fury.io/py/adnus)
|
|
5
7
|
|
|
@@ -19,7 +21,7 @@
|
|
|
19
21
|
[](https://anaconda.org/bilgi/adnus)
|
|
20
22
|
|
|
21
23
|
[](https://opensource.org/)
|
|
22
|
-
[](https://adnus.readthedocs.io/en/latest)
|
|
23
25
|
|
|
24
26
|
[](https://www.bestpractices.dev/projects/-)
|
|
25
27
|
|
|
@@ -31,6 +33,7 @@
|
|
|
31
33
|
[](https://pepy.tech/projects/adnus)
|
|
32
34
|
[](CODE_OF_CONDUCT.md)
|
|
33
35
|
[](https://github.com/astral-sh/ruff)
|
|
36
|
+
[](https://deepwiki.com/WhiteSymmetry/adnus)
|
|
34
37
|
|
|
35
38
|
---
|
|
36
39
|
|