aboutsummaryrefslogtreecommitdiffstats
path: root/pylogsentinel/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylogsentinel/__init__.py')
-rw-r--r--pylogsentinel/__init__.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/pylogsentinel/__init__.py b/pylogsentinel/__init__.py
new file mode 100644
index 0000000..2b4c38e
--- /dev/null
+++ b/pylogsentinel/__init__.py
@@ -0,0 +1,28 @@
+"""
+pylogsentinel package.
+
+A lightweight log monitoring utility driven by a simple INI-style configuration.
+See README.md and pylogsentinel.conf.example for full usage details.
+
+Public API (stable):
+- __version__
+- get_version()
+"""
+
+from __future__ import annotations
+
+__all__ = ["__version__", "get_version"]
+
+# Semantic version of the library.
+# Bump this when publishing to PyPI.
+__version__ = "0.1.0"
+
+
+def get_version() -> str:
+ """
+ Return the library version.
+
+ Provided as a function to mirror common patterns and allow
+ future logic (e.g., dynamic dev version tags) without changing call sites.
+ """
+ return __version__