Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download pyproject.toml from PrismScienceOrg/PLUG-challenge: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/spaces/PrismScienceOrg/PLUG-challenge/resolve/main/pyproject.toml
- Command line
-
hf download hf://spaces/PrismScienceOrg/PLUG-challenge/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/spaces/PrismScienceOrg/PLUG-challenge/resolve/main/pyproject.toml
1.43 kB
| [build-system] | |
| requires = ["setuptools>=68"] | |
| build-backend = "setuptools.build_meta" | |
| [project] | |
| name = "plug-challenge" | |
| version = "0.1.0" | |
| description = "Scoring library and submission tooling for the PLUG challenge" | |
| readme = "README.md" | |
| requires-python = ">=3.11" | |
| license = { text = "Apache-2.0" } | |
| dependencies = [ | |
| "numpy>=1.26", | |
| "pandas>=2.1", | |
| "pyarrow>=15", | |
| "scipy>=1.11", | |
| "scikit-learn>=1.4", | |
| "loguru>=0.7", | |
| "huggingface-hub>=0.30", | |
| ] | |
| [project.optional-dependencies] | |
| # The Gradio app itself; not needed to validate or score a bundle locally. | |
| space = ["gradio==5.50.0", "gradio-leaderboard==0.0.14", "pydantic>=2.9", "requests>=2.32"] | |
| dev = ["pytest>=8", "ruff>=0.6", "mypy>=1.11", "pandas-stubs", "types-requests"] | |
| [project.scripts] | |
| plug-challenge = "plug_challenge.cli:main" | |
| [tool.setuptools] | |
| # Only the scoring library is packaged; the Space's own modules (app.py, | |
| # config.py, ...) live at the repo root because this repo *is* the Space. | |
| packages = ["plug_challenge"] | |
| [tool.ruff] | |
| line-length = 100 | |
| target-version = "py311" | |
| [tool.ruff.lint] | |
| select = ["E", "F", "I", "UP", "B", "D"] | |
| ignore = ["D203", "D213", "D406", "D407"] | |
| [tool.ruff.lint.per-file-ignores] | |
| "tests/*" = ["D"] | |
| "scripts/*" = ["D"] | |
| [tool.ruff.lint.pydocstyle] | |
| convention = "numpy" | |
| [tool.mypy] | |
| python_version = "3.12" | |
| ignore_missing_imports = true | |
| warn_unused_ignores = true | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |