PyOpenMagnetics 1.6.2__tar.gz → 1.6.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.
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/.github/workflows/publish.yml +7 -7
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/PKG-INFO +1 -1
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/pyproject.toml +4 -4
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/.github/workflows/ci.yml +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/.gitignore +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/AGENTS.md +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/CMakeLists.txt +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/LICENSE +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/PyOpenMagnetics.pyi +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/README.md +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/__init__.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/api/MAS.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/api/mas_db_reader.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/api/validation.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/clear_cibuildwheel_cache.sh +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/docs/compatibility.md +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/docs/errors.md +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/docs/performance.md +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/README.md +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/buck_inductor.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/complete_simulation_example.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/converter_design_example.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/debug_bobbin.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/debug_coil.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/debug_core.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/debug_plotting.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/flyback_220v_12v_1a.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/flyback_220v_12v_2a_complete.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/flyback_bh_curve.png +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/flyback_core.png +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/flyback_design.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/flyback_summary.png +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/flyback_waveforms.png +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/list_plot_funcs.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/plot_flyback_design.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/plot_flyback_pyom.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/test_field_calc.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/examples/test_field_plot.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/force_fresh_build.sh +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/llms.txt +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/notebooks/01_getting_started.ipynb +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/notebooks/02_buck_inductor.ipynb +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/notebooks/03_core_losses.ipynb +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/notebooks/README.md +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/requirements.txt +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/advisers.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/advisers.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/bobbin.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/bobbin.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/cmc.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/cmc.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/common.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/converter.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/converter.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/core.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/core.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/database.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/database.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/logging.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/logging.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/losses.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/losses.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/module.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/plotting.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/plotting.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/settings.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/settings.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/simulation.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/simulation.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/utils.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/utils.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/winding.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/winding.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/wire.cpp +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/src/wire.h +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/test.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/__init__.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/conftest.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_converter_endpoints.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_core.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_core_adviser.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_examples_integration.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_inputs.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_logging.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_magnetic_adviser.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_plotting.py +0 -0
- {pyopenmagnetics-1.6.2 → pyopenmagnetics-1.6.3}/tests/test_winding.py +0 -0
|
@@ -75,7 +75,7 @@ jobs:
|
|
|
75
75
|
shell: bash
|
|
76
76
|
run: |
|
|
77
77
|
for i in {1..5}; do
|
|
78
|
-
npm install -g quicktype && break
|
|
78
|
+
npm install -g quicktype@23.2.6 && break
|
|
79
79
|
if [ $i -lt 5 ]; then
|
|
80
80
|
echo "Retry $i failed, waiting 60s..."
|
|
81
81
|
sleep 60
|
|
@@ -120,7 +120,7 @@ jobs:
|
|
|
120
120
|
source /opt/rh/gcc-toolset-13/enable && \
|
|
121
121
|
curl -fsSL --max-time 10 https://rpm.nodesource.com/setup_18.x | bash - && \
|
|
122
122
|
dnf install -y nodejs && \
|
|
123
|
-
npm install -g quicktype) && break
|
|
123
|
+
npm install -g quicktype@23.2.6) && break
|
|
124
124
|
if [ $i -lt 3 ]; then sleep 60; fi
|
|
125
125
|
done
|
|
126
126
|
CIBW_ENVIRONMENT_LINUX: PATH=/opt/rh/gcc-toolset-13/root/usr/bin:$PATH LD_LIBRARY_PATH=/opt/rh/gcc-toolset-13/root/usr/lib64:$LD_LIBRARY_PATH
|
|
@@ -192,7 +192,7 @@ jobs:
|
|
|
192
192
|
node-version: "18"
|
|
193
193
|
|
|
194
194
|
- name: Install quicktype
|
|
195
|
-
run: npm install -g quicktype
|
|
195
|
+
run: npm install -g quicktype@23.2.6
|
|
196
196
|
|
|
197
197
|
- name: Install cibuildwheel
|
|
198
198
|
run: python -m pip install cibuildwheel==2.21.3
|
|
@@ -202,7 +202,7 @@ jobs:
|
|
|
202
202
|
env:
|
|
203
203
|
CIBW_BUILD: ${{ matrix.python }}-*
|
|
204
204
|
CIBW_SKIP: "*-win32 *-manylinux_i686 *musllinux* pp*"
|
|
205
|
-
CIBW_BEFORE_ALL_WINDOWS: git config --global url."https://github.com/".insteadOf "git@github.com:" && npm install -g quicktype
|
|
205
|
+
CIBW_BEFORE_ALL_WINDOWS: git config --global url."https://github.com/".insteadOf "git@github.com:" && npm install -g quicktype@23.2.6
|
|
206
206
|
CIBW_BEFORE_BUILD: pip install --default-timeout=60 --retries 5 scikit-build-core "cmake<4" ninja pybind11
|
|
207
207
|
CIBW_TEST_COMMAND: python -c "import PyOpenMagnetics; print(f'PyOpenMagnetics loaded successfully with {len(dir(PyOpenMagnetics))} functions')"
|
|
208
208
|
|
|
@@ -275,7 +275,7 @@ jobs:
|
|
|
275
275
|
shell: bash
|
|
276
276
|
run: |
|
|
277
277
|
for i in {1..5}; do
|
|
278
|
-
npm install -g quicktype && break
|
|
278
|
+
npm install -g quicktype@23.2.6 && break
|
|
279
279
|
if [ $i -lt 5 ]; then sleep 60; fi
|
|
280
280
|
done
|
|
281
281
|
|
|
@@ -290,7 +290,7 @@ jobs:
|
|
|
290
290
|
CIBW_BEFORE_ALL_MACOS: |
|
|
291
291
|
git config --global url."https://github.com/".insteadOf "git@github.com:"
|
|
292
292
|
for i in {1..5}; do
|
|
293
|
-
npm install -g quicktype && break
|
|
293
|
+
npm install -g quicktype@23.2.6 && break
|
|
294
294
|
if [ $i -lt 5 ]; then sleep 60; fi
|
|
295
295
|
done
|
|
296
296
|
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=15.0
|
|
@@ -352,7 +352,7 @@ jobs:
|
|
|
352
352
|
shell: bash
|
|
353
353
|
run: |
|
|
354
354
|
for i in {1..5}; do
|
|
355
|
-
npm install -g quicktype && break
|
|
355
|
+
npm install -g quicktype@23.2.6 && break
|
|
356
356
|
if [ $i -lt 5 ]; then
|
|
357
357
|
echo "Retry $i failed, waiting 60s..."
|
|
358
358
|
sleep 60
|
|
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PyOpenMagnetics"
|
|
7
|
-
version = "1.6.
|
|
7
|
+
version = "1.6.3"
|
|
8
8
|
requires-python = ">=3.8"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name="Alfonso Martinez", email="Alfonso_VII@hotmail.com" },
|
|
@@ -60,7 +60,7 @@ before-all = [
|
|
|
60
60
|
"dnf -y module enable nodejs:20",
|
|
61
61
|
"dnf -y install nodejs npm",
|
|
62
62
|
"npm --version",
|
|
63
|
-
"npm install -g quicktype@23.
|
|
63
|
+
"npm install -g quicktype@23.2.6"
|
|
64
64
|
]
|
|
65
65
|
# Parallel level 2 (not 3): two large pybind11 TUs compiling at once stays
|
|
66
66
|
# within the runner's RAM. Combined with dropping -g (see CMakeLists.txt),
|
|
@@ -68,11 +68,11 @@ before-all = [
|
|
|
68
68
|
environment = { GIT_LFS_SKIP_SMUDGE=1, CMAKE_BUILD_PARALLEL_LEVEL="2" }
|
|
69
69
|
|
|
70
70
|
[tool.cibuildwheel.macos]
|
|
71
|
-
before-all = "npm --version && npm install -g quicktype@23.
|
|
71
|
+
before-all = "npm --version && npm install -g quicktype@23.2.6"
|
|
72
72
|
environment = { MACOSX_DEPLOYMENT_TARGET="14.0", GIT_LFS_SKIP_SMUDGE=1, CMAKE_BUILD_PARALLEL_LEVEL="3" }
|
|
73
73
|
|
|
74
74
|
[tool.cibuildwheel.windows]
|
|
75
|
-
before-all = "rmdir /S /Q build && npm --version && npm install -g quicktype@23.
|
|
75
|
+
before-all = "rmdir /S /Q build && npm --version && npm install -g quicktype@23.2.6"
|
|
76
76
|
archs = ["AMD64"]
|
|
77
77
|
|
|
78
78
|
environment = { GIT_LFS_SKIP_SMUDGE=1, CMAKE_BUILD_PARALLEL_LEVEL="2" }
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|