Some checks failed
Release - Northern Thailand Ping River Monitor / Create Release (push) Successful in 7s
Security & Dependency Updates / Dependency Security Scan (push) Successful in 35s
Security & Dependency Updates / Check for Dependency Updates (push) Has been cancelled
Security & Dependency Updates / Code Quality Metrics (push) Has been cancelled
Security & Dependency Updates / Security Summary (push) Has been cancelled
Security & Dependency Updates / License Compliance (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Test Release Build (3.11) (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Test Release Build (3.12) (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Test Release Build (3.9) (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Build Release Images (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Security Scan (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Deploy Release (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Validate Release (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Notify Release (push) Has been cancelled
Release - Northern Thailand Ping River Monitor / Test Release Build (3.10) (push) Has been cancelled
Version Updates: - Core application: src/__init__.py, src/main.py, src/web_api.py - Package configuration: setup.py - Documentation: README.md, docs/GITEA_WORKFLOWS.md - Workflows: .gitea/workflows/docs.yml, .gitea/workflows/release.yml - Scripts: generate_badges.py, init_git scripts - Tests: test_integration.py - Deployment docs: GITEA_SETUP_SUMMARY.md, DEPLOYMENT_CHECKLIST.md Purpose: - Force new build process after workflow fixes - Test updated security.yml without YAML errors - Verify setup.py robustness improvements - Trigger clean CI/CD pipeline execution All version references synchronized at v3.1.3 Ready for new build and deployment testing
38 lines
1.0 KiB
Python
38 lines
1.0 KiB
Python
#!/usr/bin/env python3
|
|
"""
|
|
Northern Thailand Ping River Monitor Package
|
|
|
|
A comprehensive real-time water level monitoring system for the Ping River Basin
|
|
in Northern Thailand, covering Royal Irrigation Department (RID) stations.
|
|
"""
|
|
|
|
__version__ = "3.1.3"
|
|
__author__ = "Ping River Monitor Team"
|
|
__description__ = "Northern Thailand Ping River Monitoring System"
|
|
|
|
from .water_scraper_v3 import EnhancedWaterMonitorScraper
|
|
from .database_adapters import create_database_adapter, DatabaseAdapter
|
|
from .config import Config
|
|
from .models import WaterMeasurement, StationInfo, DatabaseConfig
|
|
from .exceptions import (
|
|
WaterMonitorException,
|
|
DatabaseConnectionError,
|
|
APIConnectionError,
|
|
DataValidationError,
|
|
ConfigurationError
|
|
)
|
|
|
|
__all__ = [
|
|
'EnhancedWaterMonitorScraper',
|
|
'create_database_adapter',
|
|
'DatabaseAdapter',
|
|
'Config',
|
|
'WaterMeasurement',
|
|
'StationInfo',
|
|
'DatabaseConfig',
|
|
'WaterMonitorException',
|
|
'DatabaseConnectionError',
|
|
'APIConnectionError',
|
|
'DataValidationError',
|
|
'ConfigurationError'
|
|
] |