-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (84 loc) · 2.2 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (84 loc) · 2.2 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
[project]
name = "rosetta-alpha"
version = "0.1.0"
description = "Dalio-inspired multi-language AI financial research platform on Arc"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [
{ name = "Mihai Chindris", email = "chindris.mihai.alexandru@gmail.com" },
]
keywords = ["ai-agents", "trading-agents", "arc", "circle", "usdc", "prediction-markets", "risk-parity"]
dependencies = [
# LLM orchestration (openai is a required transitive dep of adalflow)
"adalflow>=0.2.0",
"openai>=1.30",
"groq>=0.9",
# Data validation (domain models)
"pydantic>=2.6",
"pydantic-settings>=2.2",
# HTTP / MCP clients
"httpx>=0.27",
"aiohttp>=3.9",
# Web3 / Arc
"web3>=6.15",
"eth-account>=0.11",
# API
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"websockets>=12.0",
# Reasoning trace storage
"ipfshttpclient>=0.8.0a2 ; python_version < '3.13'",
# Regional data
"tushare>=1.4.0",
# Utilities
"python-dotenv>=1.0",
"structlog>=24.1",
"rich>=13.7",
"orjson>=3.10",
"tenacity>=8.2",
"yfinance>=1.3.0",
"pandas-datareader>=0.10",
"google-genai>=2.2.0",
"google-generativeai>=0.8.6",
"akshare>=1.18.60",
"playwright>=1.59.0",
# Regime detection (HMM)
"hmmlearn>=0.3.0",
# Knowledge graph
"networkx>=3.2",
]
[project.optional-dependencies]
embeddings = [
"sentence-transformers>=2.6",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.4",
"mypy>=1.10",
"ipython>=8.20",
]
contracts = [
# Solidity tooling is via npm/foundry — no Python deps. Placeholder.
]
[project.scripts]
rosetta = "api.main:run"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["agents", "portfolio", "reasoning", "markets", "data", "workflows", "api"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "N", "SIM"]
ignore = ["E501"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"e2e: End-to-end tests requiring funded wallet on Arc testnet (deselect with -m 'not e2e')",
]