[build-system] requires = ["setuptools>=75", "wheel"] build-backend = "setuptools.build_meta" [project] name = "ziplime-earnings-calendar" version = "1.0.0" description = "Point-in-time US earnings calendar: announcement times and reported figures" readme = "README.md" requires-python = ">=3.11" license = {text = "Apache-2.0"} authors = [{name = "ZipLime"}] dependencies = [ "httpx>=0.27,<1", "polars>=1.24,<2", "pyarrow>=18,<21", "deltalake>=0.22,<2", # The NYSE calendar, with half days and unscheduled closures. Fixed hours # mislabel a release at 14:19 the day after Thanksgiving, and there is no # rule that knows the exchange was shut for Sandy while EDGAR was not. "exchange-calendars>=4.5,<5", ] [project.optional-dependencies] dev = [ "pytest>=8,<9", "pytest-asyncio>=0.24,<1", "ruff>=0.11,<1", "pyyaml>=6,<7", ] publish = ["huggingface-hub>=1.19,<2"] [project.scripts] ziplime-earnings-calendar = "recipe.cli:main" [tool.setuptools.packages.find] include = ["recipe*"] [tool.pytest.ini_options] addopts = "-ra" testpaths = ["tests"] asyncio_mode = "auto" [tool.ruff] target-version = "py311" line-length = 100 extend-exclude = ["data", ".cache"] [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "SIM", "RUF"] ignore = ["E501"]