lunapi.resources
Static resource defaults and version helpers.
Exports Docker-oriented model/resource defaults and package/backend version
introspection helpers.
Classes
resources
|
Default resource locations used by high-level convenience wrappers. |
Functions
version()
|
Return version metadata for both the Python package and the C++ backend. |
Module Contents
-
class lunapi.resources.resources[source]
Default resource locations used by high-level convenience wrappers.
Notes
These paths are primarily intended for containerized environments where
POPS/model resources are mounted in known locations.
-
POPS_PATH = '/build/nsrr/common/resources/pops/'[source]
-
POPS_LIB = 's2'[source]
-
MODEL_PATH = '/build/luna-models/'[source]
-
lunapi.resources.lp_version = '1.4.4'[source]
-
lunapi.resources.version()[source]
Return version metadata for both the Python package and the C++ backend.
- Returns:
{'lunapi': '<version>', 'luna': '<version>'}
- Return type:
dict