forked from RichardAtCT/claude-code-telegram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (88 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
100 lines (88 loc) · 2.61 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "claude-code-telegram"
version = "2.0.0"
description = "Telegram bot for remote Claude Code access with comprehensive configuration management"
readme = "README.md"
license = "MIT"
authors = [
{name = "Richard Atkinson", email = "richardatk01@gmail.com"},
]
keywords = ["telegram", "bot", "claude", "ai", "development", "remote", "coding"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Chat",
"Topic :: Software Development",
"Topic :: System :: Shells",
]
requires-python = ">=3.11"
dynamic = ["dependencies"]
[project.urls]
Homepage = "https://github.com/richardatkinson/claude-code-telegram"
Repository = "https://github.com/richardatkinson/claude-code-telegram"
Documentation = "https://github.com/richardatkinson/claude-code-telegram/blob/main/docs/"
[project.scripts]
claude-telegram-bot = "src.main:run"
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
packages = [{include = "src"}]
[tool.poetry.dependencies]
python = "^3.11"
python-telegram-bot = {version = "^22.6", extras = ["rate-limiter"]}
structlog = "^25.4"
pydantic = "^2.11.5"
pydantic-settings = "^2.9.1"
python-dotenv = "^1.0.0"
aiofiles = "^25.1"
aiosqlite = "^0.22"
anthropic = "^0.86"
claude-agent-sdk = "^0.1.39"
fastapi = "^0.135"
uvicorn = {version = "^0.42", extras = ["standard"]}
apscheduler = "^3.10"
PyYAML = "^6.0.2"
mistralai = {version = "^1.0.0", optional = true}
openai = {version = "^1.0.0", optional = true}
asyncpg = {version = "^0.30", optional = true}
redis = {version = "^5.0", optional = true}
a2a-sdk = {extras = ["fastapi"], version = "^0.3.25"}
sse-starlette = "^3.3"
[tool.poetry.extras]
voice = ["mistralai", "openai"]
postgres = ["asyncpg"]
cache = ["redis"]
[tool.poetry.group.dev.dependencies]
pytest = "^9.0"
pytest-asyncio = "^1.0.0"
pytest-cov = "^7.0"
pytest-mock = "^3.14.1"
black = "^26.3"
isort = "^6.1"
flake8 = "^7.2.0"
mypy = "^1.16.0"
autoflake = "^2.3.2"
[tool.black]
line-length = 88
target-version = ['py311']
[tool.isort]
profile = "black"
line_length = 88
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-v --cov=src --cov-report=html --cov-report=term-missing"
asyncio_mode = "auto"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.flake8]
max-line-length = 88
extend-ignore = ["E203", "W503"]