[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "comptext-mcp-server"
version = "1.0.0"
description = "Token-efficient Domain-Specific Language for LLM interactions with universal multi-platform support"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "ProfRandom92", email = "159939812+ProfRandom92@users.noreply.github.com"}
]
maintainers = [
{name = "ProfRandom92", email = "159939812+ProfRandom92@users.noreply.github.com"}
]
keywords = [
"mcp",
"notion",
"ai",
"llm",
"claude",
"comptext",
"dsl",
"api",
"server"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.urls]
Homepage = "https://github.com/ProfRandom92/comptext-mcp-server"
Documentation = "https://www.notion.so/0d571dc857144b199243ea951d60cef6"
Repository = "https://github.com/ProfRandom92/comptext-mcp-server.git"
Issues = "https://github.com/ProfRandom92/comptext-mcp-server/issues"
Changelog = "https://github.com/ProfRandom92/comptext-mcp-server/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.7.0",
"flake8>=6.1.0",
"mypy>=1.5.0",
"isort>=5.12.0",
"pre-commit>=3.3.0",
]
rest = [
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
"gunicorn>=21.2.0",
]
all = [
"comptext-mcp-server[dev,rest]"
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 127
target-version = ['py310', 'py311', 'py312']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
| build
| dist
| __pycache__
)/
'''
[tool.isort]
profile = "black"
line_length = 127
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --strict-markers"
testpaths = ["tests"]
pythonpath = ["src"]
[tool.coverage.run]
source = ["src/comptext_mcp"]
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/venv/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]