aboutsummaryrefslogtreecommitdiffstats
path: root/pylogsentinel/__init__.py
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-10-12 17:44:34 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-10-12 18:12:00 +0300
commitd05c7342c67ca83ae912a64d9e39f328d38e0dde (patch)
treea1909545118bd405bd556bd9597c1258e060844f /pylogsentinel/__init__.py
Initial commit
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__