[build-system] requires = ["setuptools>=68", "wheel"] build-backend = "setuptools.build_meta" [project] name = "cortex-0" version = "0.1.0" description = "IA multimodale (texte, image, audio, video) construite entierement from scratch, sans aucun modele pre-entraine." readme = "README.md" requires-python = ">=3.10" license = { text = "Apache-2.0" } authors = [{ name = "Frankenstein-Labs" }] keywords = ["multimodal", "from-scratch", "transformer", "vit", "audio", "moe", "rag"] dependencies = [ "torch>=2.2,<3.0", "numpy>=1.24,<3.0", "torchaudio>=2.2,<3.0", "torchvision>=0.17,<1.0", "tokenizers>=0.15,<1.0", "datasets>=2.18,<5.0", "huggingface_hub>=0.23,<2.0", "fastapi>=0.110,<1.0", "uvicorn>=0.29,<1.0", "gradio>=4.40,<6.0", "python-multipart>=0.0.9", "PyYAML>=6.0", ] [project.optional-dependencies] dev = [ "pytest>=8.0,<9.0", "ruff>=0.6,<1.0", ] [tool.setuptools.packages.find] where = ["."] include = ["src*", "app*"] [tool.pytest.ini_options] minversion = "8.0" testpaths = ["tests"] addopts = "-ra -q" pythonpath = ["."] [tool.ruff] line-length = 100 target-version = "py310" # Les notebooks Colab sont volontairement exclus du lint (code exploratoire). extend-exclude = ["notebooks"] [tool.ruff.lint] select = ["E", "F", "I", "W", "UP", "B"] ignore = ["E501"] [tool.ruff.lint.per-file-ignores] "tests/*" = ["B011"] # FastAPI : `File(...)`/`Form(...)` en valeur par défaut est l'idiome du framework. "src/api.py" = ["B008"]