Spaces:
Running
Running
Soumik Bose commited on
Commit ·
3de9972
1
Parent(s): d951405
okay
Browse files- Dockerfile +2 -2
- README.md +1 -1
- app/api/server.py +1 -1
- app/config.py +1 -1
- main.py +1 -1
- pyproject.toml +3 -3
- requirements.txt +6 -0
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
-
LABEL maintainer="
|
| 4 |
-
LABEL description="
|
| 5 |
LABEL version="1.0.0"
|
| 6 |
|
| 7 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
+
LABEL maintainer="AgentDeck-Backend"
|
| 4 |
+
LABEL description="AgentDeck-Backend"
|
| 5 |
LABEL version="1.0.0"
|
| 6 |
|
| 7 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: ⚡
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: purple
|
|
|
|
| 1 |
---
|
| 2 |
+
title: AgentDeck-Backend v2.1.0
|
| 3 |
emoji: ⚡
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: purple
|
app/api/server.py
CHANGED
|
@@ -158,7 +158,7 @@ async def lifespan(app: FastAPI):
|
|
| 158 |
def create_application() -> FastAPI:
|
| 159 |
app = FastAPI(
|
| 160 |
title=_settings.app_name,
|
| 161 |
-
description="
|
| 162 |
version=_settings.app_version,
|
| 163 |
docs_url="/docs",
|
| 164 |
redoc_url="/redoc",
|
|
|
|
| 158 |
def create_application() -> FastAPI:
|
| 159 |
app = FastAPI(
|
| 160 |
title=_settings.app_name,
|
| 161 |
+
description="AgentDeck-Backend",
|
| 162 |
version=_settings.app_version,
|
| 163 |
docs_url="/docs",
|
| 164 |
redoc_url="/redoc",
|
app/config.py
CHANGED
|
@@ -14,7 +14,7 @@ class Settings(BaseSettings):
|
|
| 14 |
extra="ignore",
|
| 15 |
)
|
| 16 |
|
| 17 |
-
app_name: str = "
|
| 18 |
app_version: str = "1.0.0"
|
| 19 |
|
| 20 |
# Global per-client-IP rate limit (requests / minute). Set to 0 to disable.
|
|
|
|
| 14 |
extra="ignore",
|
| 15 |
)
|
| 16 |
|
| 17 |
+
app_name: str = "AgentDeck-Backend"
|
| 18 |
app_version: str = "1.0.0"
|
| 19 |
|
| 20 |
# Global per-client-IP rate limit (requests / minute). Set to 0 to disable.
|
main.py
CHANGED
|
@@ -7,7 +7,7 @@ from app.core.logger import get_logger
|
|
| 7 |
logger = get_logger(__name__)
|
| 8 |
|
| 9 |
if __name__ == "__main__":
|
| 10 |
-
logger.info("Starting %s server", "
|
| 11 |
uvicorn.run(
|
| 12 |
"app.api.server:app",
|
| 13 |
host="0.0.0.0",
|
|
|
|
| 7 |
logger = get_logger(__name__)
|
| 8 |
|
| 9 |
if __name__ == "__main__":
|
| 10 |
+
logger.info("Starting %s server", "AgentDeck-Backend")
|
| 11 |
uvicorn.run(
|
| 12 |
"app.api.server:app",
|
| 13 |
host="0.0.0.0",
|
pyproject.toml
CHANGED
|
@@ -3,9 +3,9 @@ requires = ["setuptools>=70", "wheel"]
|
|
| 3 |
build-backend = "setuptools.build_meta"
|
| 4 |
|
| 5 |
[project]
|
| 6 |
-
name = "
|
| 7 |
version = "1.0.0"
|
| 8 |
-
description = "
|
| 9 |
readme = "README.md"
|
| 10 |
requires-python = ">=3.10"
|
| 11 |
license = { text = "MIT" }
|
|
@@ -48,4 +48,4 @@ asyncio_default_fixture_loop_scope = "function"
|
|
| 48 |
|
| 49 |
[tool.setuptools.packages.find]
|
| 50 |
where = ["."]
|
| 51 |
-
include = ["
|
|
|
|
| 3 |
build-backend = "setuptools.build_meta"
|
| 4 |
|
| 5 |
[project]
|
| 6 |
+
name = "agentdeck-backend"
|
| 7 |
version = "1.0.0"
|
| 8 |
+
description = "AgentDeck-Backend"
|
| 9 |
readme = "README.md"
|
| 10 |
requires-python = ">=3.10"
|
| 11 |
license = { text = "MIT" }
|
|
|
|
| 48 |
|
| 49 |
[tool.setuptools.packages.find]
|
| 50 |
where = ["."]
|
| 51 |
+
include = ["agentdeck_backend*"]
|
requirements.txt
CHANGED
|
@@ -20,6 +20,8 @@ markitdown[all]==0.1.5
|
|
| 20 |
pandas==3.0.1
|
| 21 |
matplotlib==3.9.2
|
| 22 |
seaborn==0.13.2
|
|
|
|
|
|
|
| 23 |
|
| 24 |
# --- ML / embeddings / OCR models ---
|
| 25 |
zvec==0.4.0
|
|
@@ -51,6 +53,10 @@ slowapi==0.1.9
|
|
| 51 |
# --- Storage / cache / DB clients ---
|
| 52 |
supabase==2.13.0
|
| 53 |
redis==5.2.1
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
# --- Validation / data access ---
|
| 56 |
jsonschema==4.23.0
|
|
|
|
| 20 |
pandas==3.0.1
|
| 21 |
matplotlib==3.9.2
|
| 22 |
seaborn==0.13.2
|
| 23 |
+
openpyxl==3.1.5
|
| 24 |
+
xlrd==2.0.1
|
| 25 |
|
| 26 |
# --- ML / embeddings / OCR models ---
|
| 27 |
zvec==0.4.0
|
|
|
|
| 53 |
# --- Storage / cache / DB clients ---
|
| 54 |
supabase==2.13.0
|
| 55 |
redis==5.2.1
|
| 56 |
+
motor==3.6.0
|
| 57 |
+
pymongo[srv]==4.10.1
|
| 58 |
+
asyncpg==0.30.0
|
| 59 |
+
aiomysql==0.2.0
|
| 60 |
|
| 61 |
# --- Validation / data access ---
|
| 62 |
jsonschema==4.23.0
|