mxlpy-native 0.1.0__cp312-abi3-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.
mxlpy_native/__init__.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Copyright 2025 Marvin van Aalst, Anna Matuszyńska
|
|
2
|
+
|
|
3
|
+
"""Compiled solver for MxlPy's Native integrator."""
|
|
4
|
+
|
|
5
|
+
from importlib.machinery import EXTENSION_SUFFIXES
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
|
|
8
|
+
__all__ = ["library_path"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def library_path() -> Path:
|
|
12
|
+
"""Return the path of the compiled solver, for loading with ctypes."""
|
|
13
|
+
here = Path(__file__).parent
|
|
14
|
+
for suffix in EXTENSION_SUFFIXES:
|
|
15
|
+
if (path := here / f"_radau{suffix}").exists():
|
|
16
|
+
return path
|
|
17
|
+
msg = f"compiled solver not found in {here}"
|
|
18
|
+
raise FileNotFoundError(msg)
|
mxlpy_native/_radau.pyd
ADDED
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
mxlpy_native/__init__.py,sha256=wF-pShQz7WGIo789VDaGBiiN1bT2vxnUuPnzfa0egD0,568
|
|
2
|
+
mxlpy_native/_radau.pyd,sha256=0ZojjErueHexJg9lAm7CJsjOiofAj-WnDk5QUu2vNRk,61952
|
|
3
|
+
mxlpy_native-0.1.0.dist-info/METADATA,sha256=NL05EnMe9zPMtnWXG0imp67nNitn9gJWe4yq_SM2J7Y,169
|
|
4
|
+
mxlpy_native-0.1.0.dist-info/WHEEL,sha256=vMUb74-FSnHXkDIus1R_fudIVUBN8JiIqpJR0ix66lk,100
|
|
5
|
+
mxlpy_native-0.1.0.dist-info/top_level.txt,sha256=gmSG-MetNBC-J-MwIUvDXD1vPMgtjBaLA4-07kIA6wU,13
|
|
6
|
+
mxlpy_native-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
mxlpy_native
|