aboutsummaryrefslogtreecommitdiffstats
path: root/pylogsentinel/__init__.py
blob: 2b4c38e959078a67bb4fe4acc64ef6deeee8f9ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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__