"""gdeltnews-rs: Fast GDELT Web NGrams news reconstruction engine.

Rust-powered reimplementation of the gdeltnews package with ~100-1000x
speedup for the core reconstruction algorithm.

Quick start:
    from gdeltnews_rs import download, reconstruct, filtermerge

    # Step 1: Download GDELT files
    download("2025-01-01T10:00:00", "2025-01-01T10:15:00", outdir="data")

    # Step 2: Reconstruct articles (Rust-powered)
    reconstruct("data", "output", language="en", url_filters=["reuters.com"])

    # Step 3: Filter and deduplicate
    filtermerge("output", "final.jsonl", query="elections AND democrats")
"""

from gdeltnews_rs._gdeltnews_rs import (
    Article,
    reconstruct_file,
    reconstruct_file_to_jsonl,
    reconstruct_files,
)
from gdeltnews_rs.download import download
from gdeltnews_rs.reconstruct import reconstruct
from gdeltnews_rs.filtermerge import filtermerge

__version__ = "0.1.0"

__all__ = [
    "Article",
    "reconstruct_file",
    "reconstruct_file_to_jsonl",
    "reconstruct_files",
    "download",
    "reconstruct",
    "filtermerge",
]
