[tool.poetry] | |
name = "icelandic-llm-leaderboard-backend" | |
version = "0.1.0" | |
description = "Backend for the Icelandic LLM Leaderboard" | |
authors = ["Mideind <[email protected]>"] | |
packages = [ | |
{include = "app"}, | |
] | |
[tool.poetry.dependencies] | |
python = "^3.12" | |
fastapi = "^0.115.6" | |
uvicorn = {extras = ["standard"], version = "^0.34.0"} | |
numpy = "^2.2.0" | |
pandas = "^2.2.3" | |
datasets = "^3.3.2" | |
pyarrow = "^18.1.0" | |
python-multipart = "^0.0.20" | |
huggingface-hub = "0.29.1" | |
transformers = "4.49.0" | |
safetensors = "^0.5.3" | |
hf-transfer = "^0.1.8" | |
aiofiles = "^24.1.0" | |
fastapi-cache2 = "^0.2.1" | |
python-dotenv = "^1.0.1" | |
python-dateutil = "^2.8.2" | |
[tool.poetry.group.dev.dependencies] | |
pytest = "^8.3.4" | |
black = "^24.10.0" | |
isort = "^5.13.2" | |
ruff = "^0.6.0" | |
[build-system] | |
requires = ["poetry-core>=1.0.0"] | |
build-backend = "poetry.core.masonry.api" | |
[tool.black] | |
line-length = 119 | |
[tool.isort] | |
profile = "black" | |
line_length = 119 | |
[tool.ruff] | |
select = ["E", "F"] | |
ignore = ["E501"] | |
line-length = 119 | |
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"] | |