[project] name = "claude-code-api" version = "0.1.0" description = "PTY-based wrapper around the `claude` CLI for subscription-mode backends." requires-python = ">=3.11" readme = "README.md" authors = [ { name = "h", email = "h@kotikot.com" } ] dependencies = [ "ptyprocess>=0.7", ] [build-system] requires = ["uv_build>=0.11,<0.12"] build-backend = "uv_build" [tool.uv.build-backend] module-name = ["claude_code_api"] [dependency-groups] dev = [ "pytest>=8", "pytest-asyncio>=0.23", "pre-commit>=4.0", ] [tool.pytest.ini_options] testpaths = ["tests"] asyncio_mode = "auto" markers = [ "live: hits a real `claude` CLI — needs RUN_CLAUDE_SMOKE=1 and a logged-in subscription", ] filterwarnings = [ "ignore:.*forkpty\\(\\) may lead to deadlocks.*:DeprecationWarning", ]