[project] name = "mathvision-explorer" version = "0.1.0" description = "Typed tools for exploring MathVision-style visual math datasets with JEPA-ready embeddings." readme = "README.md" requires-python = ">=3.11" authors = [{ name = "MathVision Explorer" }] dependencies = [ "pillow>=10.0", ] [project.optional-dependencies] app = [ "datasets>=3.0", "streamlit>=1.35", ] ijepa = [ "numpy>=1.26", "torch>=2.4", "torchvision>=0.19", "transformers==5.5.4", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [dependency-groups] dev = [ "mypy>=1.10", "pytest>=8.0", "ruff>=0.5", ] [tool.pytest.ini_options] addopts = "-q" testpaths = ["tests"] [tool.uv.sources] torch = { index = "pytorch-cpu" } torchvision = { index = "pytorch-cpu" } [[tool.uv.index]] name = "pytorch-cpu" url = "https://download.pytorch.org/whl/cpu" explicit = true [tool.ruff] line-length = 100 target-version = "py311" [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "SIM"] [tool.mypy] python_version = "3.11" strict = true files = ["src", "tests"]