MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / _module_version

Function _module_version

deeplabcut/core/debug/debug_logger.py:357–365  ·  view source on GitHub ↗
(module_name: str)

Source from the content-addressed store, hash-verified

355
356
357def _module_version(module_name: str) -> str:
358 try:
359 mod = __import__(module_name)
360 version = getattr(mod, "__version__", None)
361 if version:
362 return str(version)
363 return "unknown"
364 except Exception:
365 return "not-installed"
366
367
368def collect_version_summary(

Callers 1

collect_version_summaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected