# Advanced Del Norte County Geospatial Intelligence Dashboard Requirements
# Additional dependencies for enhanced visualization, analysis, and policy support

# Core geospatial libraries (these extend the basic requirements)
folium>=0.14.0              # Interactive maps with advanced plugins
folium-plugins>=0.1.0       # Additional folium functionality
h3>=4.5.0,<5                   # H3 spatial indexing system
geopandas>=0.12.0           # Geospatial data analysis
shapely>=2.0.0              # Geometric operations
fiona>=1.8.0                # Geospatial file I/O
rasterio>=1.3.0             # Raster data processing
pyproj>=3.4.0               # Coordinate reference systems

# Advanced visualization and plotting
plotly>=5.12.0              # Interactive plots and dashboards
matplotlib>=3.6.0           # Static plotting
seaborn>=0.11.0             # Statistical visualization
branca>=0.6.0               # HTML/JS visualization components
bokeh>=2.4.0                # Interactive web plots (optional)

# Scientific computing and analysis
numpy>=1.21.0               # Numerical computing
pandas>=1.5.0               # Data manipulation and analysis
scipy>=1.9.0                # Scientific computing
scikit-learn>=1.1.0         # Machine learning algorithms
statsmodels>=0.13.0         # Statistical modeling

# Data acquisition and APIs
requests>=2.28.0            # HTTP library for API calls
urllib3>=1.26.0             # HTTP client library
aiohttp>=3.8.0              # Async HTTP client (for concurrent API calls)
python-dotenv>=0.19.0       # Environment variable management

# Time series and temporal analysis
# datetime                  # Built-in (not a pip package)
dateutil>=2.8.0             # Date utilities
pytz>=2022.1                # Timezone handling

# Configuration and data formats
PyYAML>=6.0                 # YAML configuration files
toml>=0.10.0                # TOML configuration support
# configparser              # Built-in (not a pip package)
json5>=0.9.0                # Extended JSON support

# Web and dashboard frameworks (for enhanced dashboards)
flask>=2.2.0                # Web framework (optional for server deployment)
jinja2>=3.1.0               # Template engine
dash>=2.7.0                 # Plotly Dash for advanced dashboards (optional)

# California-specific data processing
sentinelhub>=3.9.0          # Sentinel satellite data access
earthengine-api>=0.1.0      # Google Earth Engine (optional, requires auth)
noaa-sdk>=0.1.21            # NOAA weather data SDK

# Image processing and remote sensing
Pillow>=9.2.0               # Image processing
scikit-image>=0.19.0        # Image analysis
opencv-python>=4.6.0        # Computer vision (optional, for advanced analysis)

# Performance and optimization
numba>=0.56.0               # JIT compilation for performance
dask[complete]>=2022.8.0    # Distributed computing
joblib>=1.2.0               # Parallel processing utilities

# Utility libraries
tqdm>=4.64.0                # Progress bars
python-dateutil>=2.8.0     # Date parsing utilities
click>=8.1.0                # Command line interface building
rich>=12.5.0                # Rich text and beautiful formatting

# Testing and quality assurance
pytest>=7.1.0              # Testing framework
pytest-cov>=3.0.0          # Test coverage
black>=22.8.0               # Code formatting
flake8>=5.0.0               # Code linting
mypy>=0.971                 # Type checking

# Documentation generation
sphinx>=5.1.0              # Documentation generator
sphinx-rtd-theme>=1.0.0    # Documentation theme

# Database and caching (for advanced data management)
# sqlite3                   # Built-in (not a pip package)
redis>=4.3.0                # Redis for caching (optional)
psycopg2-binary>=2.9.0      # PostgreSQL adapter (optional)

# Geospatial databases
GeoAlchemy2>=0.12.0         # Geospatial extension for SQLAlchemy (optional)

# Export and reporting
reportlab>=3.6.0            # PDF report generation
openpyxl>=3.0.0             # Excel file handling
xlsxwriter>=3.0.0           # Excel writing
fpdf2>=2.5.0                # Alternative PDF generation

# Monitoring and logging
loguru>=0.6.0               # Advanced logging (alternative to standard logging)
sentry-sdk>=1.9.0           # Error tracking (optional)

# Network and geolocation
geoip2>=4.6.0               # IP geolocation (optional)
geopy>=2.2.0                # Geocoding and distance calculations

# Specialized California data sources (aspirational — not yet on PyPI)
# calfire-api>=0.1.0        # Custom CAL FIRE API wrapper
# cdec-api>=0.2.0           # California Data Exchange Center API
# ca-drought-api>=0.1.0     # California drought monitoring API

# Machine learning for geospatial analysis
xgboost>=1.6.0              # Gradient boosting (optional)
lightgbm>=3.3.0             # Light gradient boosting (optional)
tensorflow>=2.10.0          # Deep learning (optional, large dependency)
torch>=1.12.0               # PyTorch (optional, alternative to TensorFlow)

# Time series forecasting
prophet>=1.1.0              # Time series forecasting (optional)
statsforecast>=1.4.0       # Statistical forecasting models (optional)

# Note: Some packages marked as "optional" provide enhanced functionality
# but are not strictly required for basic dashboard operation.
# Install based on your specific use case and computational requirements.

# For minimal installation, focus on the first 30 lines (core requirements)
# For full-featured installation, include all packages
# For production deployment, consider containerization with Docker 