PyOpenMagnetics 1.0.1__cp312-cp312-win_amd64.whl → 1.1.0__cp312-cp312-win_amd64.whl

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.
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: PyOpenMagnetics
3
- Version: 1.0.1
3
+ Version: 1.1.0
4
4
  Summary: Python wrapper for OpenMagnetics
5
5
  Author-Email: Alfonso Martinez <Alfonso_VII@hotmail.com>
6
6
  Classifier: Development Status :: 4 - Beta
@@ -10,7 +10,7 @@ Classifier: Operating System :: POSIX :: Linux
10
10
  Classifier: Programming Language :: C++
11
11
  Classifier: License :: OSI Approved :: MIT License
12
12
  Project-URL: Homepage, https://openmagnetics.com
13
- Project-URL: Repository, https://github.com/OpenMagnetics/PyMKF
13
+ Project-URL: Repository, https://github.com/OpenMagnetics/PyOpenMagnetics
14
14
  Project-URL: Contact, https://www.linkedin.com/in/alfonso-martinez-de-la-torre/
15
15
  Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
@@ -328,6 +328,27 @@ PyOpenMagnetics.set_settings(settings)
328
328
 
329
329
  Contributions are welcome! Please see the [OpenMagnetics](https://github.com/OpenMagnetics) organization for contribution guidelines.
330
330
 
331
+ ## Documentation
332
+
333
+ ### Quick Start
334
+ - **[llms.txt](llms.txt)** - Comprehensive API reference optimized for AI assistants and quick lookup
335
+ - **[examples/](examples/)** - Practical example scripts for common design workflows
336
+ - **[PyOpenMagnetics.pyi](PyOpenMagnetics.pyi)** - Type stubs for IDE autocompletion
337
+
338
+ ### Tutorials
339
+ - **[notebooks/](notebooks/)** - Interactive Jupyter notebook tutorials with visualizations
340
+ - [Getting Started](notebooks/01_getting_started.ipynb) - Introduction to PyOpenMagnetics
341
+ - [Buck Inductor](notebooks/02_buck_inductor.ipynb) - Complete inductor design workflow
342
+ - [Core Losses](notebooks/03_core_losses.ipynb) - In-depth core loss analysis
343
+
344
+ ### Reference
345
+ - **[docs/errors.md](docs/errors.md)** - Common errors and solutions
346
+ - **[docs/performance.md](docs/performance.md)** - Performance optimization guide
347
+ - **[docs/compatibility.md](docs/compatibility.md)** - Python/platform version compatibility
348
+
349
+ ### Validation
350
+ - **[api/validation.py](api/validation.py)** - Runtime JSON schema validation for inputs
351
+
331
352
  ## License
332
353
 
333
354
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -1,10 +1,10 @@
1
1
  include/pybind11_json/pybind11_json.hpp,sha256=ycNMrjBBpmzNwIuszG-Ni7YWHzHHCivVvNzvgEBNk14,8095
2
- PyOpenMagnetics.cp312-win_amd64.pyd,sha256=hUJggoXNc8P-9LEQo5-nehEUS9d7fGkb3uPOkYX9eAM,18515968
2
+ PyOpenMagnetics.cp312-win_amd64.pyd,sha256=6IhWRVGiABgTlEmoR2TqwdwCQ8cRnbk6dqdJb-bXkhE,19429888
3
3
  share/cmake/pybind11_json/pybind11_jsonConfig.cmake,sha256=yqt4qHnKv1yQ3mG7vu4zmPMDXQQ0GZUXwt0yr8_Epic,2058
4
4
  share/cmake/pybind11_json/pybind11_jsonConfigVersion.cmake,sha256=wJpbsnHNM9IdCw8SYdh07PgYQyMH_p9E6374xgrfpo4,1435
5
- share/cmake/pybind11_json/pybind11_jsonTargets.cmake,sha256=VmPQsaHVtGFWpcyfXv_XgvQw289tMGeK1wdzKFi6WEA,4141
5
+ share/cmake/pybind11_json/pybind11_jsonTargets.cmake,sha256=2YDTY75tk0daY1uvV7Rw6Ph0Od4BCcMaaB7mxapP8-0,4227
6
6
  share/pkgconfig/pybind11_json.pc,sha256=1IIOiR0JKkuoiENHuuHk9KRG6VuMfTQuMjwZFHvWp1A,147
7
- pyopenmagnetics-1.0.1.dist-info/METADATA,sha256=pniBdSjcxxKJUYku4CbCb6T1vPezSTUJDhczlAK8peo,11091
8
- pyopenmagnetics-1.0.1.dist-info/WHEEL,sha256=chqeLhPBtPdrOoreR34YMcofSk3yWDQhkrsDJ2n48LU,106
9
- pyopenmagnetics-1.0.1.dist-info/licenses/LICENSE,sha256=n5beBRUVTrqihyXW7-COpKNiKVZiNzdYn9yUGtLcvZE,1091
10
- pyopenmagnetics-1.0.1.dist-info/RECORD,,
7
+ pyopenmagnetics-1.1.0.dist-info/METADATA,sha256=6fT7O3BjyVRfwgFVB6LZA0O26w2SbYuSkCzwCgtkexY,12141
8
+ pyopenmagnetics-1.1.0.dist-info/WHEEL,sha256=chqeLhPBtPdrOoreR34YMcofSk3yWDQhkrsDJ2n48LU,106
9
+ pyopenmagnetics-1.1.0.dist-info/licenses/LICENSE,sha256=n5beBRUVTrqihyXW7-COpKNiKVZiNzdYn9yUGtLcvZE,1091
10
+ pyopenmagnetics-1.1.0.dist-info/RECORD,,
@@ -1,13 +1,13 @@
1
1
  # Generated by CMake
2
2
 
3
3
  if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
- message(FATAL_ERROR "CMake >= 2.8.0 required")
4
+ message(FATAL_ERROR "CMake >= 3.0.0 required")
5
5
  endif()
6
- if(CMAKE_VERSION VERSION_LESS "2.8.3")
7
- message(FATAL_ERROR "CMake >= 2.8.3 required")
6
+ if(CMAKE_VERSION VERSION_LESS "3.0.0")
7
+ message(FATAL_ERROR "CMake >= 3.0.0 required")
8
8
  endif()
9
9
  cmake_policy(PUSH)
10
- cmake_policy(VERSION 2.8.3...3.26)
10
+ cmake_policy(VERSION 3.0.0...4.0)
11
11
  #----------------------------------------------------------------
12
12
  # Generated CMake target import file.
13
13
  #----------------------------------------------------------------
@@ -62,10 +62,6 @@ set_target_properties(pybind11_json PROPERTIES
62
62
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
63
63
  )
64
64
 
65
- if(CMAKE_VERSION VERSION_LESS 3.0.0)
66
- message(FATAL_ERROR "This file relies on consumers using CMake 3.0.0 or greater.")
67
- endif()
68
-
69
65
  # Load information for each installed configuration.
70
66
  file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/pybind11_jsonTargets-*.cmake")
71
67
  foreach(_cmake_config_file IN LISTS _cmake_config_files)
@@ -79,9 +75,12 @@ set(_IMPORT_PREFIX)
79
75
 
80
76
  # Loop over all imported files and verify that they actually exist
81
77
  foreach(_cmake_target IN LISTS _cmake_import_check_targets)
82
- foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
83
- if(NOT EXISTS "${_cmake_file}")
84
- message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
78
+ if(CMAKE_VERSION VERSION_LESS "3.28"
79
+ OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
80
+ OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
81
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
82
+ if(NOT EXISTS "${_cmake_file}")
83
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
85
84
  \"${_cmake_file}\"
86
85
  but this file does not exist. Possible reasons include:
87
86
  * The file was deleted, renamed, or moved to another location.
@@ -90,8 +89,9 @@ but this file does not exist. Possible reasons include:
90
89
  \"${CMAKE_CURRENT_LIST_FILE}\"
91
90
  but not all the files it references.
92
91
  ")
93
- endif()
94
- endforeach()
92
+ endif()
93
+ endforeach()
94
+ endif()
95
95
  unset(_cmake_file)
96
96
  unset("_cmake_import_check_files_for_${_cmake_target}")
97
97
  endforeach()