Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NTNU-IHB/PythonFMU
/ get_lib_extension
Function
get_lib_extension
pythonfmu/osutil.py:13–16 ·
view source on GitHub ↗
Get FMU library platform extension.
()
Source
from the content-addressed store, hash-verified
11
12
13
def
get_lib_extension() -> str:
14
""
"Get FMU library platform extension."
""
15
platforms = {
"Darwin"
:
"dylib"
,
"Linux"
:
"so"
,
"Windows"
:
"dll"
}
16
return
platforms.get(platform.system(),
""
)
17
Callers
1
has_binary
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected