summaryrefslogtreecommitdiff
path: root/python/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/__init__.py')
-rw-r--r--python/__init__.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/python/__init__.py b/python/__init__.py
index 9b87aa47..b1f5cd08 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -48,6 +48,9 @@ from .scriptingprovider import *
def shutdown():
+ """
+ ``shutdown`` cleanly shuts down the core, stopping all workers and closing all log files.
+ """
core.BNShutdown()
@@ -80,4 +83,16 @@ bundled_plugin_path = core.BNGetBundledPluginDirectory()
user_plugin_path = core.BNGetUserPluginDirectory()
core_version = core.BNGetVersionString()
+'''Core version'''
+
core_build_id = core.BNGetBuildId()
+'''Build ID'''
+
+core_product = core.BNGetProduct()
+'''Product string from the license file'''
+
+core_product_type = core.BNGetProductType()
+'''Product type from the license file'''
+
+core_license_count = core.BNGetLicenseCount()
+'''License count from the license file'''