rust-sasa-python 0.1.1__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.
- {rust_sasa_python-0.1.1 → rust_sasa_python-0.2.0}/.github/workflows/CI.yml +149 -137
- {rust_sasa_python-0.1.1 → rust_sasa_python-0.2.0}/Cargo.lock +472 -192
- {rust_sasa_python-0.1.1 → rust_sasa_python-0.2.0}/Cargo.toml +4 -4
- rust_sasa_python-0.2.0/DOCS.md +206 -0
- rust_sasa_python-0.2.0/PKG-INFO +68 -0
- rust_sasa_python-0.2.0/README.md +51 -0
- rust_sasa_python-0.2.0/example.cif +2650 -0
- {rust_sasa_python-0.1.1 → rust_sasa_python-0.2.0}/pyproject.toml +6 -5
- rust_sasa_python-0.2.0/pytest.ini +4 -0
- rust_sasa_python-0.2.0/src/lib.rs +308 -0
- rust_sasa_python-0.2.0/test.py +6 -0
- rust_sasa_python-0.2.0/tests/__init__.py +0 -0
- rust_sasa_python-0.2.0/tests/test_sasa.py +197 -0
- rust_sasa_python-0.2.0/uv.lock +100 -0
- rust_sasa_python-0.1.1/DOCS.md +0 -51
- rust_sasa_python-0.1.1/PKG-INFO +0 -46
- rust_sasa_python-0.1.1/README.md +0 -33
- rust_sasa_python-0.1.1/example.cif +0 -4080
- rust_sasa_python-0.1.1/src/lib.rs +0 -85
- rust_sasa_python-0.1.1/test.py +0 -23
- {rust_sasa_python-0.1.1 → rust_sasa_python-0.2.0}/.gitignore +0 -0
- {rust_sasa_python-0.1.1 → rust_sasa_python-0.2.0}/LICENSE.md +0 -0
|
@@ -1,137 +1,149 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
- master
|
|
8
|
+
- radical
|
|
9
|
+
tags:
|
|
10
|
+
- "*"
|
|
11
|
+
pull_request:
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
linux:
|
|
19
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
20
|
+
strategy:
|
|
21
|
+
matrix:
|
|
22
|
+
platform:
|
|
23
|
+
- runner: ubuntu-latest
|
|
24
|
+
target: x86_64
|
|
25
|
+
- runner: ubuntu-latest
|
|
26
|
+
target: x86
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
- uses: actions/setup-python@v5
|
|
30
|
+
with:
|
|
31
|
+
python-version: "3.13"
|
|
32
|
+
- name: Build wheels
|
|
33
|
+
uses: PyO3/maturin-action@v1
|
|
34
|
+
with:
|
|
35
|
+
target: ${{ matrix.platform.target }}
|
|
36
|
+
args: --release --out dist --find-interpreter
|
|
37
|
+
sccache: "true"
|
|
38
|
+
manylinux: auto
|
|
39
|
+
- name: Upload wheels
|
|
40
|
+
uses: actions/upload-artifact@v4
|
|
41
|
+
with:
|
|
42
|
+
name: wheels-linux-${{ matrix.platform.target }}
|
|
43
|
+
path: dist
|
|
44
|
+
|
|
45
|
+
windows:
|
|
46
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
47
|
+
strategy:
|
|
48
|
+
matrix:
|
|
49
|
+
platform:
|
|
50
|
+
- runner: windows-latest
|
|
51
|
+
target: x64
|
|
52
|
+
- runner: windows-latest
|
|
53
|
+
target: x86
|
|
54
|
+
steps:
|
|
55
|
+
- uses: actions/checkout@v4
|
|
56
|
+
- uses: actions/setup-python@v5
|
|
57
|
+
with:
|
|
58
|
+
python-version: "3.13"
|
|
59
|
+
architecture: ${{ matrix.platform.target }}
|
|
60
|
+
- name: Build wheels
|
|
61
|
+
uses: PyO3/maturin-action@v1
|
|
62
|
+
with:
|
|
63
|
+
target: ${{ matrix.platform.target }}
|
|
64
|
+
args: --release --out dist --find-interpreter
|
|
65
|
+
sccache: "true"
|
|
66
|
+
- name: Upload wheels
|
|
67
|
+
uses: actions/upload-artifact@v4
|
|
68
|
+
with:
|
|
69
|
+
name: wheels-windows-${{ matrix.platform.target }}
|
|
70
|
+
path: dist
|
|
71
|
+
|
|
72
|
+
macos:
|
|
73
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
74
|
+
strategy:
|
|
75
|
+
matrix:
|
|
76
|
+
platform:
|
|
77
|
+
- runner: macos-latest
|
|
78
|
+
target: x86_64
|
|
79
|
+
- runner: macos-14
|
|
80
|
+
target: aarch64
|
|
81
|
+
steps:
|
|
82
|
+
- uses: actions/checkout@v4
|
|
83
|
+
- uses: actions/setup-python@v5
|
|
84
|
+
with:
|
|
85
|
+
python-version: "3.13"
|
|
86
|
+
- name: Build wheels
|
|
87
|
+
uses: PyO3/maturin-action@v1
|
|
88
|
+
with:
|
|
89
|
+
target: ${{ matrix.platform.target }}
|
|
90
|
+
args: --release --out dist --find-interpreter
|
|
91
|
+
sccache: "true"
|
|
92
|
+
- name: Upload wheels
|
|
93
|
+
uses: actions/upload-artifact@v4
|
|
94
|
+
with:
|
|
95
|
+
name: wheels-macos-${{ matrix.platform.target }}
|
|
96
|
+
path: dist
|
|
97
|
+
|
|
98
|
+
sdist:
|
|
99
|
+
runs-on: ubuntu-latest
|
|
100
|
+
steps:
|
|
101
|
+
- uses: actions/checkout@v4
|
|
102
|
+
- name: Build sdist
|
|
103
|
+
uses: PyO3/maturin-action@v1
|
|
104
|
+
with:
|
|
105
|
+
command: sdist
|
|
106
|
+
args: --out dist
|
|
107
|
+
- name: Upload sdist
|
|
108
|
+
uses: actions/upload-artifact@v4
|
|
109
|
+
with:
|
|
110
|
+
name: wheels-sdist
|
|
111
|
+
path: dist
|
|
112
|
+
|
|
113
|
+
test:
|
|
114
|
+
name: Test Suite
|
|
115
|
+
runs-on: ${{ matrix.os }}
|
|
116
|
+
strategy:
|
|
117
|
+
matrix:
|
|
118
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
119
|
+
steps:
|
|
120
|
+
- uses: actions/checkout@v4
|
|
121
|
+
- name: Install uv
|
|
122
|
+
uses: astral-sh/setup-uv@v3
|
|
123
|
+
with:
|
|
124
|
+
version: "latest"
|
|
125
|
+
- name: Set up Python
|
|
126
|
+
run: uv python install 3.13
|
|
127
|
+
- name: Install dependencies
|
|
128
|
+
run: |
|
|
129
|
+
uv add --dev pytest maturin
|
|
130
|
+
- name: Build and install package
|
|
131
|
+
run: |
|
|
132
|
+
uv run maturin develop --release
|
|
133
|
+
- name: Run tests
|
|
134
|
+
run: |
|
|
135
|
+
uv run pytest tests/ -v
|
|
136
|
+
|
|
137
|
+
release:
|
|
138
|
+
name: Release
|
|
139
|
+
runs-on: ubuntu-latest
|
|
140
|
+
needs: [linux, windows, macos, sdist, test]
|
|
141
|
+
steps:
|
|
142
|
+
- uses: actions/download-artifact@v4
|
|
143
|
+
- name: Publish to PyPI
|
|
144
|
+
uses: PyO3/maturin-action@v1
|
|
145
|
+
env:
|
|
146
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
147
|
+
with:
|
|
148
|
+
command: upload
|
|
149
|
+
args: --non-interactive --skip-existing wheels-*/*
|