Coverage for ids_iforest/__init__.py: 67%
6 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-03 16:19 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-03 16:19 +0000
1"""Top‑level package for the IDS Isolation Forest project.
3This package exposes utilities for capturing network packets, aggregating
4them into flows, extracting features and training/using an Isolation
5Forest model to detect anomalous network activity.
7The public API surface is intentionally minimal; most users will
8interact with the package via the console scripts defined in
9``pyproject.toml``.
10"""
12from importlib.metadata import version as _version
14try:
15 __version__ = _version("ids-iforest")
16except Exception:
17 # Fallback when installed in editable mode without metadata
18 __version__ = "0.0.0.dev"
20__all__ = ["__version__"]