# NOX — Cyber Threat Intelligence Framework
# Python 3.8+  |  pip install -r requirements.txt

# ── Core (Async) ───────────────────────────────────────────────────────
aiohttp>=3.13.5
aiohttp-socks>=0.8.4          # SOCKS4/5 proxy support for aiohttp
aiosqlite>=0.20.0             # async SQLite (forensic persistence DB)
httpx[http2]>=0.27.0          # Guardian Engine: dynamic proxy fetch + HTTP/2
brotli>=1.1.0                 # brotli decompression for aiohttp br responses
zstandard>=0.23.0             # zstd decompression for aiohttp zstd responses (Cloudflare/Fastly CDNs)

# ── Intelligence & Scraping ────────────────────────────────────────────
requests>=2.32.3
certifi>=2024.2.2             # up-to-date CA bundle for SSL verification
cloudscraper>=1.2.71          # Cloudflare-protected endpoint bypass
beautifulsoup4>=4.12.3
lxml>=5.1.0                   # fast BS4 parser; required for HTML/XML scraping
dnspython>=2.6.0              # DNS resolution (MX, A, TXT lookups)
phonenumbers>=8.13.0          # phone number parsing and validation

# ── Validation ─────────────────────────────────────────────────────────
pydantic>=2.0.0               # source schema validation and build engine
pydantic-core>=2.0.0          # Rust-backed core for Pydantic v2

# ── CLI / UI ───────────────────────────────────────────────────────────
colorama>=0.4.6
rich>=13.7.0

# ── Tor Circuit Control ────────────────────────────────────────────────
# Requires the system `tor` package (sudo apt install tor on Kali).
# Used by --tor flag and the `tor` REPL command.
stem>=1.8.2

# ── Reporting ──────────────────────────────────────────────────────────
# Required for `--format pdf` and `export --format pdf`.
fpdf2>=2.7.9
