-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (39 loc) · 1.22 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (39 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "claude-code-python"
version = "0.1.0"
description = "An idiomatic Python port of Claude Code's agentic core (translation of the leaked TypeScript source)."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "claude-code-python contributors" }]
keywords = ["claude", "anthropic", "agent", "cli", "llm", "agentic"]
dependencies = [
"anthropic>=0.40",
"rich>=13.0",
# Interactive REPL line-editing (history, completion, multiline, key
# bindings). Optional at runtime: the prompt layer degrades to plain
# input() when it's absent or stdin/stdout isn't a TTY (see cli/interactive).
"prompt_toolkit>=3.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
]
[project.scripts]
claude-py = "claude_code.repl:main"
[project.urls]
Homepage = "https://github.com/"
"Original (leaked TS source analysis)" = "https://kuber.studio/blog/AI/"
[tool.setuptools.packages.find]
include = ["claude_code*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 88
target-version = "py310"