-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (69 loc) · 1.49 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (69 loc) · 1.49 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "xclaw"
version = "0.1.0"
description = "Python-based intelligent Agent runtime for task processing and stock investment assistance"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
dependencies = [
# Core async & HTTP
"httpx>=0.27",
"anyio>=4.0",
# Data validation
"pydantic>=2.6",
"pydantic-settings>=2.2",
# Config
"PyYAML>=6.0",
# Web
"fastapi>=0.111",
"uvicorn[standard]>=0.29",
"sse-starlette>=2.1",
"slowapi>=0.1.9",
# Database
"aiosqlite>=0.20",
# Logging
"loguru>=0.7",
# CLI
"click>=8.1",
# Stock data
"akshare>=1.14",
"baostock>=0.8.9",
"pytdx>=1.72",
"yfinance>=0.2",
# Data analysis
"pandas>=2.2",
"pandas-ta",
"matplotlib>=3.10.9",
# Scheduling
"APScheduler>=3.10",
# Web scraping helpers
"beautifulsoup4>=4.12",
"lxml>=5.0",
"Pillow>=12.2.0",
"qrcode>=7.4",
"reportlab>=4.4.10",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"respx>=0.21",
"httpx>=0.27",
"pytest-cov>=5.0",
]
[project.scripts]
xclaw = "xclaw.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["xclaw*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
[tool.ruff]
line-length = 100
target-version = "py311"