Metadata-Version: 2.4
Name: DetectMateDataset
Version: 0.1.0
Summary: Downloads and processes log datasets for use with DetectMate. 
Author-email: Elisabeth Woiseschlaeger <aecid@ait.ac.at>, André García Gómez <aecid@ait.ac.at>, Viktor Beck <aecid@ait.ac.at>
Project-URL: Repository, https://github.com/ait-detectmate/DetectMateDataset
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: ==3.13.16
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: detectmateperformance>=0.1.5
Requires-Dist: fastapi[standard]>=0.141.1
Requires-Dist: numpy
Requires-Dist: polars
Requires-Dist: pytest>=9.1.1
Requires-Dist: requests>=2.34.2
Requires-Dist: scipy
Requires-Dist: tabulate>=0.10.0
Requires-Dist: tqdm>=4.68.3
Dynamic: license-file

# DetectMate Dataset

Downloads and processes log datasets for use with `DetectMate`. Datasets are downloaded and processed only once, then cached locally for future use without requiring additional downloads.

## Install the dependency

From this repository's root directory, install into the active virtual environment:

```bash
uv pip install .
```

To install into another project's virtual environment, run this from that project
and provide the path to this repository:

```bash
uv pip install /path/to/DetectMateDataset
```

## Usage

### Command line

To use the command line use:

```bash
uv run logdataset -h
```

### Download / load dataset

To download dataset for the first time do like the example.

```bash
uv run logdataset load_dataset AIT_v2_harrison Intranet-Apache 
```

Alternative you can load the dataset from a python code:

```python
from logdatasets import api

db = api.load_dataset("AIT_v2_harrison", "Intranet-Apache", do_cache=True)
```
