pyproject.toml•4.06 kB
[tool.black]
line-length = 88
target-version = ["py311"]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["src", "tests"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[[tool.mypy.overrides]]
module = [
"kafka.*",
"redis.*",
"plotly.*",
"ta.*",
"sklearn.*",
"tensorflow.*",
"torch.*",
"transformers.*",
"arch.*",
"mcp.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --cov=src --cov-report=term-missing --cov-report=html"
testpaths = ["tests"]
asyncio_mode = "auto"
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*",
"*/__pycache__/*",
"*/migrations/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "mcp-market-statistics"
version = "0.1.0"
description = "한국 주식시장의 종합적인 통계 데이터와 시장 분석 정보를 제공하는 MCP 서버"
readme = "README.md"
authors = [{name = "MCP Market Statistics Team", email = "dev@example.com"}]
license = {text = "MIT"}
keywords = ["mcp", "market", "statistics", "korea", "stock", "analysis", "ai"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.11"
dependencies = [
"mcp>=1.0.0",
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
"pandas>=2.1.0",
"numpy>=1.25.0",
"scipy>=1.11.0",
"requests>=2.31.0",
"aiohttp>=3.9.0",
"sqlalchemy>=2.0.0",
"psycopg2-binary>=2.9.0",
"redis>=5.0.0",
"scikit-learn>=1.3.0",
"ta>=0.10.2",
"statsmodels>=0.14.0",
"matplotlib>=3.7.0",
"seaborn>=0.12.0",
"plotly>=5.17.0",
"asyncio>=3.4.3",
"aiofiles>=23.2.1",
"loguru>=0.7.0",
"prometheus-client>=0.19.0",
"pyyaml>=6.0.1",
"toml>=0.10.2",
"pydantic>=2.5.0",
"python-dotenv>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.12.0",
"pytest-cov>=4.1.0",
"black>=23.11.0",
"isort>=5.12.0",
"flake8>=6.1.0",
"mypy>=1.7.0",
"faker>=20.1.0",
]
ml = [
"tensorflow>=2.14.0",
"torch>=2.1.0",
"transformers>=4.35.0",
"arch>=6.2.0",
]
full = [
"mcp-market-statistics[dev,ml]",
]
[project.urls]
Homepage = "https://github.com/your-username/mcp-market-statistics"
Repository = "https://github.com/your-username/mcp-market-statistics"
Issues = "https://github.com/your-username/mcp-market-statistics/issues"
Documentation = "https://github.com/your-username/mcp-market-statistics/wiki"
[project.scripts]
mcp-market-server = "src.server:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]