[project]
name = "csv-pandas-chat-server"
version = "2.0.0"
description = "Secure Python MCP server for CSV data analysis using natural language queries and AI code generation"
authors = [
{ name = "Mihai Criveti", email = "noreply@example.com" }
]
license = { text = "Apache-2.0" }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastmcp>=2.14.1",
"orjson>=3.11.5",
"numpy>=2.3.5",
"openai>=2.11.0",
"pandas>=2.3.3",
"pydantic>=2.12.5",
"requests>=2.32.5",
"typing-extensions>=4.15.0",
]
[project.optional-dependencies]
dev = [
"black>=25.12.0",
"mypy>=1.19.1",
"openpyxl>=3.1.5",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.14.9",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/csv_pandas_chat_server"]
[project.scripts]
csv-pandas-chat-server = "csv_pandas_chat_server.server_fastmcp:main"
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.ruff]
line-length = 100
target-version = "py311"
select = ["E", "W", "F", "B", "I", "N", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--cov=csv_pandas_chat_server --cov-report=term-missing"