mess: UV + settings KISS + fixes

This commit is contained in:
2026-04-24 18:10:55 +02:00
parent 58408d0dbe
commit 610dee365c
14 changed files with 6760 additions and 1683 deletions
+51 -34
View File
@@ -1,50 +1,67 @@
[tool.poetry]
[project]
name = "alfred"
version = "0.1.7"
description = "AI agent for managing a local media library"
authors = ["Francwa <francois.hodiaumont@gmail.com>"]
readme = "README.md"
package-mode = false
requires-python = "==3.14.3"
dependencies = [
"python-dotenv~=1.0.0",
"requests~=2.32.5",
"fastapi~=0.127.1",
"pydantic~=2.12.4",
"uvicorn~=0.40.0",
"httpx~=0.28.1",
"pydantic-settings~=2.12.0",
"click~=8.1",
]
[tool.alfred.settings]
[tool.alfred]
image_name = "alfred_media_organizer"
librechat_version = "v0.8.1"
rag_version = "v0.7.0"
runner = "poetry"
librechat_version = "v0.8.4"
rag_version = "v0.7.3"
service_name = "alfred"
uv_version = "0.11.6"
[tool.alfred.security]
jwt_secret = "32:b64"
jwt_refresh_secret = "32:b64"
creds_key = "32:b64"
creds_iv = "16:b64"
meili_master_key = "32:b64"
mongo_password = "16:hex"
postgres_password = "16:hex"
qbittorrent_password = "16:hex"
[tool.alfred.secrets]
JWT_SECRET = "32:hex"
JWT_REFRESH_SECRET = "32:hex"
CREDS_KEY = "32:hex"
CREDS_IV = "16:hex"
MEILI_MASTER_KEY = "32:b64"
MONGO_PASSWORD = "16:hex"
POSTGRES_PASSWORD = "16:hex"
QBITTORRENT_PASSWORD = "16:hex"
[tool.poetry.dependencies]
python = "==3.14.2"
python-dotenv = "^1.0.0"
requests = "^2.32.5"
fastapi = "^0.127.1"
pydantic = "^2.12.4"
uvicorn = "^0.40.0"
pytest-xdist = "^3.8.0"
httpx = "^0.28.1"
pydantic-settings = "^2.12.0"
[tool.alfred.config.pattern]
type = "multi"
patterns = [
"^#[=\\-*#]{3,}#?\\s*$",
"^#\\s+(.+?)\\s+#\\s*$",
"^#[=\\-*#]{3,}#?\\s*$",
]
[tool.alfred.config]
extra_fields = []
[tool.uv]
package = false
[dependency-groups]
dev = [
"pytest~=8.0.0",
"pytest-cov~=4.1.0",
"pytest-asyncio~=0.23.0",
"pytest-xdist~=3.8.0",
"ruff~=0.14.7",
"pre-commit~=4.5.1",
"bump-my-version~=1.2.5",
]
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
pytest-asyncio = "^0.23.0"
ruff = "^0.14.7"
pre-commit = "^4.5.1"
bump-my-version = "^1.2.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
# Chemins où pytest cherche les tests