BloggerDeliverer posts each briefing (markdown -> HTML, H1 becomes the post title with the report headline) via the Blogger API v3 using a long-lived refresh token; `us2kr blogger-auth` runs the loopback OAuth flow once and prints the BLOGGER_* lines for .env. Enabled only when all four BLOGGER_* settings are present. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
41 lines
859 B
TOML
41 lines
859 B
TOML
[project]
|
|
name = "us2kr"
|
|
version = "0.1.0"
|
|
description = "US market close -> Korea market open briefing bot"
|
|
requires-python = ">=3.12,<3.13"
|
|
dependencies = [
|
|
"openai>=1.50",
|
|
"yfinance>=0.2.50",
|
|
"pandas>=2.2",
|
|
"feedparser>=6.0",
|
|
"exchange-calendars>=4.5",
|
|
"apscheduler>=3.10,<4",
|
|
"pydantic>=2.7",
|
|
"pydantic-settings>=2.3",
|
|
"python-dotenv>=1.0",
|
|
"httpx>=0.27",
|
|
"requests>=2.31",
|
|
"markdown>=3.6",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "pytest-mock>=3.14", "respx>=0.21", "ruff>=0.6", "freezegun>=1.5"]
|
|
|
|
[project.scripts]
|
|
us2kr = "us2kr.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["us2kr"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|
|
|
|
[tool.ruff]
|
|
line-length = 110
|
|
target-version = "py312"
|