[project]
name = "percepta-mcp"
version = "0.1.0"
description = "AI-driven frontend semantic cognition and automation platform with MCP server support"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
# MCP Protocol Support
"mcp>=1.0.0",
"anyio>=4.0.0",
# Web Automation & Browser Control
"playwright>=1.40.0",
"selenium>=4.15.0",
# Image Processing & OCR
"pillow>=10.0.0",
"opencv-python>=4.8.0",
"pytesseract>=0.3.10",
# AI Model APIs
"openai>=1.3.0",
"google-generativeai>=0.3.0",
"anthropic>=0.7.0",
"httpx>=0.25.0",
# Web Scraping & HTTP
"aiohttp>=3.9.0",
"beautifulsoup4>=4.12.0",
"lxml>=4.9.0",
# Local Model Support
"ollama>=0.1.7",
"transformers>=4.35.0",
"torch>=2.1.0",
# Data Processing & Validation
"pydantic>=2.4.0",
"pydantic-settings>=2.0.0",
# Testing & Development
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-playwright>=0.4.0",
"pytest-cov>=6.2.1",
# Logging & Monitoring
"structlog>=23.2.0",
"rich>=13.6.0",
# Configuration Management
"python-dotenv>=1.0.0",
"pyyaml>=6.0.1",
# Async & Concurrency
"asyncio-throttle>=1.0.2",
"tenacity>=8.2.0",
"psutil>=7.0.0"
]
[project.optional-dependencies]
dev = [
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.6.0",
"pre-commit>=3.5.0",
"ruff>=0.1.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.black]
line-length = 88
target-version = ['py312']
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]