pystormbird 0.9.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 (68) hide show
  1. pystormbird-0.9.0/.cargo/config.toml +14 -0
  2. pystormbird-0.9.0/.github/workflows/CI.yml +120 -0
  3. pystormbird-0.9.0/.gitignore +75 -0
  4. pystormbird-0.9.0/Cargo.lock +379 -0
  5. pystormbird-0.9.0/Cargo.toml +27 -0
  6. pystormbird-0.9.0/LICENSE +674 -0
  7. pystormbird-0.9.0/PKG-INFO +80 -0
  8. pystormbird-0.9.0/README.md +53 -0
  9. pystormbird-0.9.0/examples/1 - section models/README.md +13 -0
  10. pystormbird-0.9.0/examples/1 - section models/foil_tuner.py +79 -0
  11. pystormbird-0.9.0/examples/1 - section models/graf_2014_data.json +7 -0
  12. pystormbird-0.9.0/examples/1 - section models/manual_multi_element_foil.py +114 -0
  13. pystormbird-0.9.0/examples/1 - section models/naca_0012_Graf2014.py +76 -0
  14. pystormbird-0.9.0/examples/2 - single element wing sail/README.md +7 -0
  15. pystormbird-0.9.0/examples/2 - single element wing sail/data/graf_2014_data.json +12 -0
  16. pystormbird-0.9.0/examples/2 - single element wing sail/multiple_angles.py +92 -0
  17. pystormbird-0.9.0/examples/2 - single element wing sail/single_case.py +195 -0
  18. pystormbird-0.9.0/examples/3 - rotor_sails/README.md +5 -0
  19. pystormbird-0.9.0/examples/3 - rotor_sails/data/deybach_2024_single_rotor.csv +10 -0
  20. pystormbird-0.9.0/examples/3 - rotor_sails/data/deybach_2026_interference_factors.csv +20 -0
  21. pystormbird-0.9.0/examples/3 - rotor_sails/setup.py +236 -0
  22. pystormbird-0.9.0/examples/3 - rotor_sails/single_rotor_multiple_spin_ratios.py +117 -0
  23. pystormbird-0.9.0/examples/3 - rotor_sails/single_rotor_single_case.py +69 -0
  24. pystormbird-0.9.0/examples/3 - rotor_sails/two_rotors_interference_factors.py +131 -0
  25. pystormbird-0.9.0/examples/3 - rotor_sails/two_rotors_wake_eksport.py +70 -0
  26. pystormbird-0.9.0/examples/3 - rotor_sails/wake_files/.gitignore +2 -0
  27. pystormbird-0.9.0/examples/4 - moving wing/.gitignore +3 -0
  28. pystormbird-0.9.0/examples/4 - moving wing/heaving_wing.py +227 -0
  29. pystormbird-0.9.0/examples/4 - moving wing/theodorsen.py +22 -0
  30. pystormbird-0.9.0/examples/4 - moving wing/wake_files_output/.gitignore +1 -0
  31. pystormbird-0.9.0/examples/5 - wing sail interaction/cfd_data.json +14 -0
  32. pystormbird-0.9.0/examples/5 - wing sail interaction/run_multiple_angles.py +72 -0
  33. pystormbird-0.9.0/examples/5 - wing sail interaction/run_single_angle.py +75 -0
  34. pystormbird-0.9.0/examples/5 - wing sail interaction/simulation.py +116 -0
  35. pystormbird-0.9.0/examples/6 - simple sail comparison/.gitignore +3 -0
  36. pystormbird-0.9.0/examples/6 - simple sail comparison/compare_sail_types.py +392 -0
  37. pystormbird-0.9.0/examples/7 - stall-hysteresis/README.md +6 -0
  38. pystormbird-0.9.0/examples/7 - stall-hysteresis/decreasing_cl.csv +21 -0
  39. pystormbird-0.9.0/examples/7 - stall-hysteresis/increasing_cl.csv +27 -0
  40. pystormbird-0.9.0/examples/7 - stall-hysteresis/stall-hysteresis.py +149 -0
  41. pystormbird-0.9.0/examples/README.md +2 -0
  42. pystormbird-0.9.0/pyproject.toml +37 -0
  43. pystormbird-0.9.0/pystormbird/__init__.py +31 -0
  44. pystormbird-0.9.0/pystormbird/__init__.pyi +70 -0
  45. pystormbird-0.9.0/pystormbird/lifting_line.py +1 -0
  46. pystormbird-0.9.0/pystormbird/lifting_line.pyi +90 -0
  47. pystormbird-0.9.0/pystormbird/line_force_model.py +1 -0
  48. pystormbird-0.9.0/pystormbird/line_force_model.pyi +18 -0
  49. pystormbird-0.9.0/pystormbird/section_models.py +1 -0
  50. pystormbird-0.9.0/pystormbird/section_models.pyi +112 -0
  51. pystormbird-0.9.0/pystormbird/smoothing.py +3 -0
  52. pystormbird-0.9.0/pystormbird/smoothing.pyi +11 -0
  53. pystormbird-0.9.0/pystormbird/wind.py +1 -0
  54. pystormbird-0.9.0/pystormbird/wind.pyi +113 -0
  55. pystormbird-0.9.0/src/lib.rs +32 -0
  56. pystormbird-0.9.0/src/lifting_line/complete_sail_model.rs +165 -0
  57. pystormbird-0.9.0/src/lifting_line/mod.rs +16 -0
  58. pystormbird-0.9.0/src/lifting_line/simulation.rs +165 -0
  59. pystormbird-0.9.0/src/line_force_model.rs +73 -0
  60. pystormbird-0.9.0/src/result_structs.rs +205 -0
  61. pystormbird-0.9.0/src/section_models/foil.rs +191 -0
  62. pystormbird-0.9.0/src/section_models/mod.rs +47 -0
  63. pystormbird-0.9.0/src/section_models/rotating_cylinder.rs +52 -0
  64. pystormbird-0.9.0/src/section_models/varying_foil.rs +47 -0
  65. pystormbird-0.9.0/src/smoothing.rs +54 -0
  66. pystormbird-0.9.0/src/wind/environment.rs +205 -0
  67. pystormbird-0.9.0/src/wind/mod.rs +16 -0
  68. pystormbird-0.9.0/src/wind/wind_condition.rs +235 -0
@@ -0,0 +1,14 @@
1
+ # Cargo configuration for pystormbird
2
+ # These settings optimize the build for the user's specific CPU
3
+
4
+ [build]
5
+ # Use all available CPU cores for compilation
6
+ jobs = -1
7
+
8
+ [target.'cfg(target_arch = "x86_64")']
9
+ # Enable native CPU optimizations (AVX, AVX2, etc. if available)
10
+ rustflags = ["-C", "target-cpu=native"]
11
+
12
+ [target.'cfg(target_arch = "aarch64")']
13
+ # Enable native CPU optimizations for ARM64 (Apple Silicon, etc.)
14
+ rustflags = ["-C", "target-cpu=native"]
@@ -0,0 +1,120 @@
1
+ # This file is autogenerated by maturin v0.15.1
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ - master
13
+ tags:
14
+ - '*'
15
+ pull_request:
16
+ workflow_dispatch:
17
+
18
+ permissions:
19
+ contents: read
20
+
21
+ jobs:
22
+ linux:
23
+ runs-on: ubuntu-latest
24
+ strategy:
25
+ matrix:
26
+ target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
27
+ steps:
28
+ - uses: actions/checkout@v3
29
+ - uses: actions/setup-python@v4
30
+ with:
31
+ python-version: '3.10'
32
+ - name: Build wheels
33
+ uses: PyO3/maturin-action@v1
34
+ with:
35
+ target: ${{ matrix.target }}
36
+ args: --release --out dist --find-interpreter
37
+ sccache: 'true'
38
+ manylinux: auto
39
+ - name: Upload wheels
40
+ uses: actions/upload-artifact@v3
41
+ with:
42
+ name: wheels
43
+ path: dist
44
+
45
+ windows:
46
+ runs-on: windows-latest
47
+ strategy:
48
+ matrix:
49
+ target: [x64, x86]
50
+ steps:
51
+ - uses: actions/checkout@v3
52
+ - uses: actions/setup-python@v4
53
+ with:
54
+ python-version: '3.10'
55
+ architecture: ${{ matrix.target }}
56
+ - name: Build wheels
57
+ uses: PyO3/maturin-action@v1
58
+ with:
59
+ target: ${{ matrix.target }}
60
+ args: --release --out dist --find-interpreter
61
+ sccache: 'true'
62
+ - name: Upload wheels
63
+ uses: actions/upload-artifact@v3
64
+ with:
65
+ name: wheels
66
+ path: dist
67
+
68
+ macos:
69
+ runs-on: macos-latest
70
+ strategy:
71
+ matrix:
72
+ target: [x86_64, aarch64]
73
+ steps:
74
+ - uses: actions/checkout@v3
75
+ - uses: actions/setup-python@v4
76
+ with:
77
+ python-version: '3.10'
78
+ - name: Build wheels
79
+ uses: PyO3/maturin-action@v1
80
+ with:
81
+ target: ${{ matrix.target }}
82
+ args: --release --out dist --find-interpreter
83
+ sccache: 'true'
84
+ - name: Upload wheels
85
+ uses: actions/upload-artifact@v3
86
+ with:
87
+ name: wheels
88
+ path: dist
89
+
90
+ sdist:
91
+ runs-on: ubuntu-latest
92
+ steps:
93
+ - uses: actions/checkout@v3
94
+ - name: Build sdist
95
+ uses: PyO3/maturin-action@v1
96
+ with:
97
+ command: sdist
98
+ args: --out dist
99
+ - name: Upload sdist
100
+ uses: actions/upload-artifact@v3
101
+ with:
102
+ name: wheels
103
+ path: dist
104
+
105
+ release:
106
+ name: Release
107
+ runs-on: ubuntu-latest
108
+ if: "startsWith(github.ref, 'refs/tags/')"
109
+ needs: [linux, windows, macos, sdist]
110
+ steps:
111
+ - uses: actions/download-artifact@v3
112
+ with:
113
+ name: wheels
114
+ - name: Publish to PyPI
115
+ uses: PyO3/maturin-action@v1
116
+ env:
117
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
118
+ with:
119
+ command: upload
120
+ args: --skip-existing *
@@ -0,0 +1,75 @@
1
+ /target
2
+ /Cargo.lock
3
+ ./mypy_cache
4
+
5
+ # Byte-compiled / optimized / DLL files
6
+ __pycache__/
7
+ .mypy_cache
8
+ .pytest_cache/
9
+ *.py[cod]
10
+
11
+ # C extensions
12
+ *.so
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ .venv/
17
+ env/
18
+ bin/
19
+ build/
20
+ develop-eggs/
21
+ dist/
22
+ eggs/
23
+ lib/
24
+ lib64/
25
+ parts/
26
+ sdist/
27
+ var/
28
+ include/
29
+ man/
30
+ venv/
31
+ *.egg-info/
32
+ .installed.cfg
33
+ *.egg
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+ pip-selfcheck.json
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .coverage
44
+ .cache
45
+ nosetests.xml
46
+ coverage.xml
47
+
48
+ # Translations
49
+ *.mo
50
+
51
+ # Mr Developer
52
+ .mr.developer.cfg
53
+ .project
54
+ .pydevproject
55
+
56
+ # Rope
57
+ .ropeproject
58
+
59
+ # Django stuff:
60
+ *.log
61
+ *.pot
62
+
63
+ .DS_Store
64
+
65
+ # Sphinx documentation
66
+ docs/_build/
67
+
68
+ # PyCharm
69
+ .idea/
70
+
71
+ # VSCode
72
+ .vscode/
73
+
74
+ # Pyenv
75
+ .python-version
@@ -0,0 +1,379 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "cfg-if"
7
+ version = "1.0.4"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
10
+
11
+ [[package]]
12
+ name = "crossbeam-deque"
13
+ version = "0.8.6"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
16
+ dependencies = [
17
+ "crossbeam-epoch",
18
+ "crossbeam-utils",
19
+ ]
20
+
21
+ [[package]]
22
+ name = "crossbeam-epoch"
23
+ version = "0.9.18"
24
+ source = "registry+https://github.com/rust-lang/crates.io-index"
25
+ checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
26
+ dependencies = [
27
+ "crossbeam-utils",
28
+ ]
29
+
30
+ [[package]]
31
+ name = "crossbeam-utils"
32
+ version = "0.8.21"
33
+ source = "registry+https://github.com/rust-lang/crates.io-index"
34
+ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
35
+
36
+ [[package]]
37
+ name = "either"
38
+ version = "1.15.0"
39
+ source = "registry+https://github.com/rust-lang/crates.io-index"
40
+ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
41
+
42
+ [[package]]
43
+ name = "getrandom"
44
+ version = "0.3.4"
45
+ source = "registry+https://github.com/rust-lang/crates.io-index"
46
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
47
+ dependencies = [
48
+ "cfg-if",
49
+ "libc",
50
+ "r-efi",
51
+ "wasip2",
52
+ ]
53
+
54
+ [[package]]
55
+ name = "heck"
56
+ version = "0.5.0"
57
+ source = "registry+https://github.com/rust-lang/crates.io-index"
58
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
59
+
60
+ [[package]]
61
+ name = "itoa"
62
+ version = "1.0.15"
63
+ source = "registry+https://github.com/rust-lang/crates.io-index"
64
+ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
65
+
66
+ [[package]]
67
+ name = "libc"
68
+ version = "0.2.177"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
71
+
72
+ [[package]]
73
+ name = "memchr"
74
+ version = "2.7.6"
75
+ source = "registry+https://github.com/rust-lang/crates.io-index"
76
+ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
77
+
78
+ [[package]]
79
+ name = "once_cell"
80
+ version = "1.21.3"
81
+ source = "registry+https://github.com/rust-lang/crates.io-index"
82
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
83
+
84
+ [[package]]
85
+ name = "portable-atomic"
86
+ version = "1.11.1"
87
+ source = "registry+https://github.com/rust-lang/crates.io-index"
88
+ checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
89
+
90
+ [[package]]
91
+ name = "ppv-lite86"
92
+ version = "0.2.21"
93
+ source = "registry+https://github.com/rust-lang/crates.io-index"
94
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
95
+ dependencies = [
96
+ "zerocopy",
97
+ ]
98
+
99
+ [[package]]
100
+ name = "proc-macro2"
101
+ version = "1.0.103"
102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
103
+ checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
104
+ dependencies = [
105
+ "unicode-ident",
106
+ ]
107
+
108
+ [[package]]
109
+ name = "pyo3"
110
+ version = "0.28.3"
111
+ source = "registry+https://github.com/rust-lang/crates.io-index"
112
+ checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
113
+ dependencies = [
114
+ "libc",
115
+ "once_cell",
116
+ "portable-atomic",
117
+ "pyo3-build-config",
118
+ "pyo3-ffi",
119
+ "pyo3-macros",
120
+ ]
121
+
122
+ [[package]]
123
+ name = "pyo3-build-config"
124
+ version = "0.28.3"
125
+ source = "registry+https://github.com/rust-lang/crates.io-index"
126
+ checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
127
+ dependencies = [
128
+ "target-lexicon",
129
+ ]
130
+
131
+ [[package]]
132
+ name = "pyo3-ffi"
133
+ version = "0.28.3"
134
+ source = "registry+https://github.com/rust-lang/crates.io-index"
135
+ checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
136
+ dependencies = [
137
+ "libc",
138
+ "pyo3-build-config",
139
+ ]
140
+
141
+ [[package]]
142
+ name = "pyo3-macros"
143
+ version = "0.28.3"
144
+ source = "registry+https://github.com/rust-lang/crates.io-index"
145
+ checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
146
+ dependencies = [
147
+ "proc-macro2",
148
+ "pyo3-macros-backend",
149
+ "quote",
150
+ "syn",
151
+ ]
152
+
153
+ [[package]]
154
+ name = "pyo3-macros-backend"
155
+ version = "0.28.3"
156
+ source = "registry+https://github.com/rust-lang/crates.io-index"
157
+ checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
158
+ dependencies = [
159
+ "heck",
160
+ "proc-macro2",
161
+ "pyo3-build-config",
162
+ "quote",
163
+ "syn",
164
+ ]
165
+
166
+ [[package]]
167
+ name = "pystormbird"
168
+ version = "0.9.0"
169
+ dependencies = [
170
+ "pyo3",
171
+ "pythonize",
172
+ "stormath",
173
+ "stormbird",
174
+ ]
175
+
176
+ [[package]]
177
+ name = "pythonize"
178
+ version = "0.28.0"
179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
180
+ checksum = "0b79f670c9626c8b651c0581011b57b6ba6970bb69faf01a7c4c0cfc81c43f95"
181
+ dependencies = [
182
+ "pyo3",
183
+ "serde",
184
+ ]
185
+
186
+ [[package]]
187
+ name = "quote"
188
+ version = "1.0.42"
189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
190
+ checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
191
+ dependencies = [
192
+ "proc-macro2",
193
+ ]
194
+
195
+ [[package]]
196
+ name = "r-efi"
197
+ version = "5.3.0"
198
+ source = "registry+https://github.com/rust-lang/crates.io-index"
199
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
200
+
201
+ [[package]]
202
+ name = "rand"
203
+ version = "0.9.2"
204
+ source = "registry+https://github.com/rust-lang/crates.io-index"
205
+ checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
206
+ dependencies = [
207
+ "rand_chacha",
208
+ "rand_core",
209
+ ]
210
+
211
+ [[package]]
212
+ name = "rand_chacha"
213
+ version = "0.9.0"
214
+ source = "registry+https://github.com/rust-lang/crates.io-index"
215
+ checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
216
+ dependencies = [
217
+ "ppv-lite86",
218
+ "rand_core",
219
+ ]
220
+
221
+ [[package]]
222
+ name = "rand_core"
223
+ version = "0.9.3"
224
+ source = "registry+https://github.com/rust-lang/crates.io-index"
225
+ checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
226
+ dependencies = [
227
+ "getrandom",
228
+ ]
229
+
230
+ [[package]]
231
+ name = "rayon"
232
+ version = "1.12.0"
233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
234
+ checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
235
+ dependencies = [
236
+ "either",
237
+ "rayon-core",
238
+ ]
239
+
240
+ [[package]]
241
+ name = "rayon-core"
242
+ version = "1.13.0"
243
+ source = "registry+https://github.com/rust-lang/crates.io-index"
244
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
245
+ dependencies = [
246
+ "crossbeam-deque",
247
+ "crossbeam-utils",
248
+ ]
249
+
250
+ [[package]]
251
+ name = "serde"
252
+ version = "1.0.228"
253
+ source = "registry+https://github.com/rust-lang/crates.io-index"
254
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
255
+ dependencies = [
256
+ "serde_core",
257
+ "serde_derive",
258
+ ]
259
+
260
+ [[package]]
261
+ name = "serde_core"
262
+ version = "1.0.228"
263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
264
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
265
+ dependencies = [
266
+ "serde_derive",
267
+ ]
268
+
269
+ [[package]]
270
+ name = "serde_derive"
271
+ version = "1.0.228"
272
+ source = "registry+https://github.com/rust-lang/crates.io-index"
273
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
274
+ dependencies = [
275
+ "proc-macro2",
276
+ "quote",
277
+ "syn",
278
+ ]
279
+
280
+ [[package]]
281
+ name = "serde_json"
282
+ version = "1.0.150"
283
+ source = "registry+https://github.com/rust-lang/crates.io-index"
284
+ checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
285
+ dependencies = [
286
+ "itoa",
287
+ "memchr",
288
+ "serde",
289
+ "serde_core",
290
+ "zmij",
291
+ ]
292
+
293
+ [[package]]
294
+ name = "stormath"
295
+ version = "0.3.0"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "a29580e848af28013cbe0d8bd6265d813f828e7b98409fd657c54a352bee76cd"
298
+ dependencies = [
299
+ "rand",
300
+ "rayon",
301
+ "serde",
302
+ ]
303
+
304
+ [[package]]
305
+ name = "stormbird"
306
+ version = "0.9.0"
307
+ source = "registry+https://github.com/rust-lang/crates.io-index"
308
+ checksum = "f5e63820488008791db872c88ee88cecd2b69773f2d2745dae81e7174ad6dffe"
309
+ dependencies = [
310
+ "rand",
311
+ "rayon",
312
+ "serde",
313
+ "serde_json",
314
+ "stormath",
315
+ ]
316
+
317
+ [[package]]
318
+ name = "syn"
319
+ version = "2.0.111"
320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
321
+ checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
322
+ dependencies = [
323
+ "proc-macro2",
324
+ "quote",
325
+ "unicode-ident",
326
+ ]
327
+
328
+ [[package]]
329
+ name = "target-lexicon"
330
+ version = "0.13.3"
331
+ source = "registry+https://github.com/rust-lang/crates.io-index"
332
+ checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
333
+
334
+ [[package]]
335
+ name = "unicode-ident"
336
+ version = "1.0.22"
337
+ source = "registry+https://github.com/rust-lang/crates.io-index"
338
+ checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
339
+
340
+ [[package]]
341
+ name = "wasip2"
342
+ version = "1.0.1+wasi-0.2.4"
343
+ source = "registry+https://github.com/rust-lang/crates.io-index"
344
+ checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
345
+ dependencies = [
346
+ "wit-bindgen",
347
+ ]
348
+
349
+ [[package]]
350
+ name = "wit-bindgen"
351
+ version = "0.46.0"
352
+ source = "registry+https://github.com/rust-lang/crates.io-index"
353
+ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
354
+
355
+ [[package]]
356
+ name = "zerocopy"
357
+ version = "0.8.30"
358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
359
+ checksum = "4ea879c944afe8a2b25fef16bb4ba234f47c694565e97383b36f3a878219065c"
360
+ dependencies = [
361
+ "zerocopy-derive",
362
+ ]
363
+
364
+ [[package]]
365
+ name = "zerocopy-derive"
366
+ version = "0.8.30"
367
+ source = "registry+https://github.com/rust-lang/crates.io-index"
368
+ checksum = "cf955aa904d6040f70dc8e9384444cb1030aed272ba3cb09bbc4ab9e7c1f34f5"
369
+ dependencies = [
370
+ "proc-macro2",
371
+ "quote",
372
+ "syn",
373
+ ]
374
+
375
+ [[package]]
376
+ name = "zmij"
377
+ version = "1.0.21"
378
+ source = "registry+https://github.com/rust-lang/crates.io-index"
379
+ checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
@@ -0,0 +1,27 @@
1
+ [package]
2
+ name = "pystormbird"
3
+ version = "0.9.0"
4
+ authors = ["Jarle Kramer <jarle.kramer@gmail.com>"]
5
+ description = "Python interface to the Stormbird library."
6
+ homepage = "https://github.com/NTNU-IMT/stormbird"
7
+ readme = "README.md"
8
+ repository = "https://github.com/NTNU-IMT/stormbird"
9
+ license = "GPL-3.0-only"
10
+ edition = "2021"
11
+
12
+ [lib]
13
+ name = "pystormbird"
14
+ crate-type = ["cdylib"]
15
+
16
+ [dependencies]
17
+ pyo3 = { version = "0.28.3"}
18
+ pythonize = {version ="0.28.0"}
19
+
20
+ stormbird = { version="0.9.0", features = ["parallel"] }
21
+ stormath = { version="0.3.0" }
22
+
23
+ [profile.release]
24
+ opt-level = 3
25
+ lto = "fat"
26
+ codegen-units = 1
27
+ strip = true