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

1"""Top‑level package for the IDS Isolation Forest project. 

2 

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. 

6 

7The public API surface is intentionally minimal; most users will 

8interact with the package via the console scripts defined in 

9``pyproject.toml``. 

10""" 

11 

12from importlib.metadata import version as _version 

13 

14try: 

15 __version__ = _version("ids-iforest") 

16except Exception: 

17 # Fallback when installed in editable mode without metadata 

18 __version__ = "0.0.0.dev" 

19 

20__all__ = ["__version__"]