Add pyproject.toml
Browse files- pyproject.toml +46 -0
pyproject.toml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
name = "e-hekim"
|
| 3 |
+
version = "1.0.0"
|
| 4 |
+
description = "Turkish medical RAG and semantic search over hospital articles (ChromaDB + embeddingmagibu-200m)"
|
| 5 |
+
readme = "README.md"
|
| 6 |
+
requires-python = ">=3.11"
|
| 7 |
+
license = { text = "MIT" }
|
| 8 |
+
|
| 9 |
+
dependencies = [
|
| 10 |
+
# API layer
|
| 11 |
+
"fastapi>=0.115",
|
| 12 |
+
"uvicorn[standard]>=0.34",
|
| 13 |
+
"pydantic>=2.9",
|
| 14 |
+
"pydantic-settings>=2.6",
|
| 15 |
+
"python-dotenv>=1.0",
|
| 16 |
+
# Vector store
|
| 17 |
+
"chromadb>=1.0",
|
| 18 |
+
# Embeddings
|
| 19 |
+
"sentence-transformers>=5.2",
|
| 20 |
+
"transformers>=5.0",
|
| 21 |
+
"torch>=2.6",
|
| 22 |
+
# Data / ingestion
|
| 23 |
+
"datasets>=3.0",
|
| 24 |
+
"huggingface-hub>=0.28",
|
| 25 |
+
"pandas>=2.2",
|
| 26 |
+
"pyarrow>=18.0",
|
| 27 |
+
# LLM providers (OpenAI-compatible)
|
| 28 |
+
"openai>=1.60",
|
| 29 |
+
]
|
| 30 |
+
|
| 31 |
+
[project.optional-dependencies]
|
| 32 |
+
dev = [
|
| 33 |
+
"pytest>=8.3",
|
| 34 |
+
"httpx>=0.28",
|
| 35 |
+
]
|
| 36 |
+
|
| 37 |
+
[build-system]
|
| 38 |
+
requires = ["hatchling"]
|
| 39 |
+
build-backend = "hatchling.build"
|
| 40 |
+
|
| 41 |
+
[tool.hatch.build.targets.wheel]
|
| 42 |
+
packages = ["src/ehekim"]
|
| 43 |
+
|
| 44 |
+
[tool.pytest.ini_options]
|
| 45 |
+
testpaths = ["tests"]
|
| 46 |
+
pythonpath = ["src"]
|