Path: blob/master/src/python/cocalc-api/pyproject.toml
5568 views
[project]1name = "cocalc-api"2version = "0.5.1"3description = "Python client for the CoCalc API"4authors = [{ name="William Stein", email="[email protected]" }, {name="Harald Schilly", email="[email protected]"}]5readme = "README.md"6requires-python = ">=3.10"7dependencies = ["httpx", "mcp>=1.23", "urllib3>=2.6.3"]8license = "MIT"910[tool.hatch.build.targets.wheel]11packages = ["src/cocalc_api"]12include = ["src/cocalc_api/py.typed"]1314[project.urls]15Homepage = "https://github.com/sagemathinc/cocalc/src/python/cocalc-api"16Repository = "https://github.com/sagemathinc/cocalc"17Documentation = "https://cocalc.com/api/python"18Source = "https://github.com/sagemathinc/cocalc/src/python/cocalc-api"19Issues = "https://github.com/sagemathinc/cocalc/issues"2021[project.scripts]22cocalc-mcp-server = "cocalc_api.mcp.server:main"23cocalc-mcp-debug = "cocalc_api.mcp.mcp_debug:main"2425[tool.mypy]26python_version = "3.13"27# strict = true28# disallow_untyped_defs = true29# Ignore empty-body errors for decorator-implemented methods30disable_error_code = ["empty-body"]3132[tool.pyright]33# Ignore return type errors for decorator-implemented methods34reportReturnType = false3536[tool.yapf]37based_on_style = "pep8"38column_limit = 15039indent_width = 44041[tool.ruff]42line-length = 15043lint.select = ["E", "F", "B"] # Pyflakes, pycodestyle, bugbear, etc.4445[tool.coverage.run]46source = ["src"]47omit = [48"*/tests/*",49"*/test_*.py",50"*/__pycache__/*",51"*/venv/*",52"*/env/*",53"*/mcp/*",54]5556[tool.coverage.report]57exclude_lines = [58"pragma: no cover",59"def __repr__",60"if self.debug:",61"if settings.DEBUG",62"raise AssertionError",63"raise NotImplementedError",64"if 0:",65"if __name__ == .__main__.:",66"class .*\\bProtocol\\):",67"@(abc\\.)?abstractmethod",68]69show_missing = true70precision = 17172[tool.coverage.html]73directory = "htmlcov"7475[dependency-groups]76dev = [77"coverage[toml]",78"ipython",79"mkdocs",80"mkdocs-material",81"mkdocstrings[python]",82"mypy",83"psycopg2-binary",84"pyright",85"pytest-cov",86"pytest>=8.4.2",87"ruff>=0.13.2",88"types-psycopg2",89"yapf",90]919293