-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (113 loc) · 3.33 KB
/
pyproject.toml
File metadata and controls
125 lines (113 loc) · 3.33 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[build-system]
requires = ["setuptools>=70", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ic-engine"
version = "2.6.3"
description = "Python portfolio-analysis library powering the InvestorClaw skill ecosystem. Consumed by claws-runtime and Claude Code adapters. FINOS CDM 5.x inspired data model."
license = { text = "Apache 2.0 Dual License" }
requires-python = ">=3.10"
readme = "README.md"
keywords = ["portfolio", "finance", "finos", "cdm", "openclaw", "claude-code"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Financial and Insurance Industry",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Financial",
]
dependencies = [
"clio @ git+https://gitlab.com/argonautsystems/[email protected]",
"polars>=0.20.0",
"pandas>=2.0.0",
"pyarrow>=12.0.0",
"yfinance>=0.2.35",
"requests>=2.31.0",
"finnhub-python>=1.4.3",
"polygon-api-client>=1.14.0",
"ratelimit>=2.2.1",
"newsapi-python>=0.2.6",
"pdfplumber>=0.9.0",
"pypdf2>=3.0.0",
"pdfminer-six>=20221105",
"tabula-py>=2.3.0",
"camelot-py>=0.11.0",
"fastexcel>=0.19.0",
"openpyxl>=3.1.0",
"xlrd>=2.0.1",
"PyPortfolioOpt>=1.5.5",
"cvxpy>=1.3.0,<2.0",
"numpy>=1.22,<2",
"scipy>=1.10.0",
"empyrical-reloaded>=0.5.10",
"matplotlib>=3.7.0",
"litellm>=1.48.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"rapidfuzz>=3.0.0",
"Jinja2>=3.1.0",
"premailer>=3.10.0",
"pyyaml>=6.0",
"python-dateutil>=2.8.0",
"pytz>=2023.3",
"orjson>=3.9.0",
"python-dotenv>=1.0.0",
"packaging>=21.0",
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
]
[project.scripts]
investorclaw = "ic_engine.cli:main"
[project.urls]
Homepage = "https://gitlab.com/argonautsystems/ic-engine"
Repository = "https://gitlab.com/argonautsystems/ic-engine"
Issues = "https://gitlab.com/argonautsystems/ic-engine"
Spec = "https://gitlab.com/argonautsystems/InvestorClaw/-/blob/main/docs/IC_DECOMPOSITION_SPEC.md"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
[tool.setuptools.packages.find]
where = ["src"]
# Ship runtime asset bundles inside built wheels. Without this, the
# stonkmode-avatars manifest + SVGs land in the source tree but not in
# `pip install`/uv-installed copies, and avatar_manifest() raises
# FileNotFoundError for installed users.
[tool.setuptools.package-data]
ic_engine = [
"assets/stonkmode-avatars/manifest.json",
"assets/stonkmode-avatars/*.svg",
"rendering/pwa/manifest.json",
"rendering/pwa/sw.js",
"rendering/pwa/*.html",
"rendering/pwa/*.css",
"rendering/pwa/*.js",
"rendering/pwa/assets/**/*",
]
[tool.uv]
python-preference = "managed"
required-version = ">=0.5"
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"black>=23.0",
"ruff>=0.1.0",
]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312", "py313"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = [
"E501",
"E402",
"E741",
]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["F811", "F401"]