[build-system] requires = ["setuptools>=75", "wheel"] build-backend = "setuptools.build_meta" [project] name = "ziplime-industry-classification" version = "1.0.0" description = "Free, point-in-time sector and industry classification for US SEC filers" 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", # Reads the Census concordance, which is a 2008-vintage .xls that only a # BIFF-capable reader opens. polars delegates to it for read_excel. "fastexcel>=0.12,<1", ] [project.optional-dependencies] dev = [ "pytest>=8,<10", "pytest-asyncio>=0.24,<2", # Pinned exactly, not to a range: ruff gates publication, and a new minor # release adding a rule would fail the scheduled job on code that was clean # when it was written. "ruff==0.16.5", ] publish = ["huggingface-hub>=1.19,<2"] [project.scripts] ziplime-industry-classification = "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"]