feat: vibed out some slop over here also

This commit is contained in:
h
2026-05-19 11:20:14 +02:00
commit bf6116dc8b
34 changed files with 6531 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
[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",
]