mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 22:59:59 -07:00
- Split monolithic intercept.py (15k lines) into modular structure: - routes/ - Flask blueprints for each feature - templates/ - Jinja2 HTML templates - data/ - OUI database, satellite TLEs, detection patterns - utils/ - dependencies, process management, logging - config.py - centralized configuration with env var support - Add type hints to function signatures - Replace bare except clauses with specific exceptions - Add proper logging module (replaces print statements) - Add environment variable support (INTERCEPT_* prefix) - Add test suite with pytest - Add Dockerfile for containerized deployment - Add pyproject.toml with ruff/black/mypy config - Add requirements-dev.txt for development dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
411 B
Python
15 lines
411 B
Python
# Utility modules for INTERCEPT
|
|
from .dependencies import check_tool, check_all_dependencies, TOOL_DEPENDENCIES
|
|
from .process import cleanup_stale_processes, is_valid_mac, is_valid_channel, detect_devices
|
|
from .logging import (
|
|
get_logger,
|
|
app_logger,
|
|
pager_logger,
|
|
sensor_logger,
|
|
wifi_logger,
|
|
bluetooth_logger,
|
|
adsb_logger,
|
|
satellite_logger,
|
|
iridium_logger,
|
|
)
|