sentiment / src /__init__.py
Denys Kanunnikov
update logic
776e7c0
"""
MCP Sentiment Analysis Server Package.
This package provides a complete Model Context Protocol server implementation
for sentiment analysis with Gradio web interface integration.
"""
from .sentiment_analyzer import (
SentimentAnalyzer,
SentimentResult,
SentimentLabel,
get_analyzer,
analyze_sentiment
)
from .tools import (
MCPTools,
get_tools,
list_tools,
call_tool
)
from .mcp_server import (
SentimentMCPServer,
MCPServerRunner,
create_server
)
from .gradio_interface import (
GradioInterface,
create_gradio_interface
)
__version__ = "1.0.0"
__author__ = "MCP Sentiment Analysis Team"
__description__ = "Model Context Protocol server for sentiment analysis with Gradio interface"
__all__ = [
# Sentiment Analysis
"SentimentAnalyzer",
"SentimentResult",
"SentimentLabel",
"get_analyzer",
"analyze_sentiment",
# MCP Tools
"MCPTools",
"get_tools",
"list_tools",
"call_tool",
# MCP Server
"SentimentMCPServer",
"MCPServerRunner",
"create_server",
# Gradio Interface
"GradioInterface",
"create_gradio_interface",
]