"""
OpenFinOps - Open Source FinOps Platform for AI/ML Cost Observability
=====================================================================

A comprehensive platform for tracking, analyzing, and optimizing costs across
AI/ML infrastructure and operations.

Features:
- LLM Training Cost Monitoring
- RAG Pipeline Analytics
- Multi-Cloud Cost Tracking (AWS, Azure, GCP)
- AI API Usage Tracking (OpenAI, Anthropic)
- Executive Dashboards (CFO, COO, Infrastructure)
- Cost Attribution and Reporting
- Intelligent LLM-Powered Recommendations (Hardware, Scaling, Cost Optimization)
- Data Platform Monitoring (Databricks, Snowflake)
- SaaS Services Tracking (MongoDB Atlas, Redis Cloud, GitHub Actions)
- Real-time Web UI with WebSocket Updates

License: Apache 2.0
"""

# Copyright (c) 2025 Infinidatum
# Author: Duraimurugan Rajamanickam
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#     http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.



__version__ = "0.3.1"
__author__ = "FinOpsMetrics"
__license__ = "Proprietary"

# Import main components for easy access
from finopsmetrics.observability.observability_hub import ObservabilityHub
from finopsmetrics.observability.llm_observability import LLMObservabilityHub
from finopsmetrics.observability.finops_dashboards import LLMFinOpsDashboardCreator
from finopsmetrics.observability.cost_observatory import CostObservatory

__all__ = [
    "ObservabilityHub",
    "LLMObservabilityHub",
    "LLMFinOpsDashboardCreator",
    "CostObservatory",
    "__version__",
]


def get_version():
    """Return the version of OpenFinOps."""
    return __version__


def hello():
    """Print a welcome message."""
    print(f"""
    ╔═══════════════════════════════════════════════════════════╗
    ║                                                           ║
    ║               🌟 Welcome to OpenFinOps 🌟                 ║
    ║                                                           ║
    ║   Open Source FinOps Platform for AI/ML Observability    ║
    ║                    Version {__version__}                         ║
    ║                                                           ║
    ╚═══════════════════════════════════════════════════════════╝

    Quick Start:
    ------------
    from finopsmetrics import ObservabilityHub, LLMObservabilityHub

    hub = ObservabilityHub()
    llm_hub = LLMObservabilityHub()

    For more information, visit: https://github.com/rdmurugan/finopsmetrics
    """)
