PolyHedra / pyproject.toml
yf176
refactor: make quant runtime the product path
748cf22
Raw History Blame Contribute Delete
2.45 kB
[project]
name = "polyhedra"
version = "8.0.0"
description = "Governed collaborative multi-agent quant analysis and paper-trading simulation"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Polyhedra Team", email = "team@polyhedra.dev"}
]
keywords = ["multi-agent", "quant", "paper-trading", "slack", "analysis"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mcp>=1.0.0",
"httpx>=0.25.0",
"pydantic>=2.0.0",
"bibtexparser>=1.4.0",
"sentence-transformers>=2.2.0",
"numpy>=1.24.0",
# v3.0 additions
"typer>=0.12.0",
"rich>=13.0.0",
"fastapi>=0.111.0",
"uvicorn>=0.29.0",
"slack-bolt>=1.18.0",
"python-dotenv>=1.0.0",
"aiohttp>=3.9.0",
"redis>=5.0.0",
# v4.0 additions — quant team / paper trading
# OHLCV: yfinance (free, no key). News/earnings: Finnhub free tier.
# Required env vars: FINNHUB_API_KEY — https://finnhub.io/dashboard
# Optional env vars: POLYHEDRA_QUANT_WATCHLIST (comma-separated tickers)
"yfinance>=0.2.0",
"matplotlib>=3.8.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.5.0",
]
[project.urls]
Homepage = "https://github.com/polyhedra/polyhedra"
Documentation = "https://github.com/polyhedra/polyhedra#readme"
Repository = "https://github.com/polyhedra/polyhedra"
Issues = "https://github.com/polyhedra/polyhedra/issues"
[project.scripts]
polyhedra = "polyhedra.server:main"
poly = "polyhedra.cli.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/polyhedra"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-v --cov=polyhedra --cov-report=term-missing"
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
]
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true