"""Configuration constants for SEC bulk download toolkit."""

import os

# Default data directory for cached SEC files
default_datadir: str = os.path.join(".", "secdata")

# SEC base URL for filings
sec_base_url: str = "https://www.sec.gov/Archives/"

# Binary file types that should be saved without compression
binary_file_types: list[str] = ["gz", "zip", "Z"]

# SEC rate limiting parameters
sec_rate_limit: int = 8  # maximum downloads per rate interval
sec_rate_interval: float = 1.0  # rate interval in seconds
