chore: scaffold project structure
Browse files- .gitignore +7 -0
- app/__init__.py +0 -0
- common/__init__.py +0 -0
- pyproject.toml +31 -0
- sync/__init__.py +0 -0
- tests/__init__.py +0 -0
- tests/app/__init__.py +0 -0
- tests/common/__init__.py +0 -0
- tests/sync/__init__.py +0 -0
.gitignore
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
*.pyc
|
| 3 |
+
.venv/
|
| 4 |
+
*.egg-info/
|
| 5 |
+
data/
|
| 6 |
+
.env
|
| 7 |
+
notes.md
|
app/__init__.py
ADDED
|
File without changes
|
common/__init__.py
ADDED
|
File without changes
|
pyproject.toml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["setuptools>=68"]
|
| 3 |
+
build-backend = "setuptools.build_meta"
|
| 4 |
+
|
| 5 |
+
[project]
|
| 6 |
+
name = "acl-anthology-search-api"
|
| 7 |
+
version = "0.1.0"
|
| 8 |
+
requires-python = ">=3.11"
|
| 9 |
+
dependencies = [
|
| 10 |
+
"fastapi>=0.110",
|
| 11 |
+
"uvicorn[standard]>=0.29",
|
| 12 |
+
"faiss-cpu>=1.8.0",
|
| 13 |
+
"httpx>=0.27",
|
| 14 |
+
"huggingface_hub>=0.23",
|
| 15 |
+
"pydantic>=2.6",
|
| 16 |
+
"pydantic-settings>=2.2",
|
| 17 |
+
"numpy>=1.26",
|
| 18 |
+
]
|
| 19 |
+
|
| 20 |
+
[project.optional-dependencies]
|
| 21 |
+
dev = [
|
| 22 |
+
"pytest>=8.0",
|
| 23 |
+
"pytest-mock>=3.14",
|
| 24 |
+
"pytest-asyncio>=0.23",
|
| 25 |
+
]
|
| 26 |
+
|
| 27 |
+
[tool.setuptools]
|
| 28 |
+
packages = ["common", "sync", "app"]
|
| 29 |
+
|
| 30 |
+
[tool.pytest.ini_options]
|
| 31 |
+
testpaths = ["tests"]
|
sync/__init__.py
ADDED
|
File without changes
|
tests/__init__.py
ADDED
|
File without changes
|
tests/app/__init__.py
ADDED
|
File without changes
|
tests/common/__init__.py
ADDED
|
File without changes
|
tests/sync/__init__.py
ADDED
|
File without changes
|