feat: implement gateway service and add font extraction validation tests

This commit is contained in:
azeeee05
2026-07-23 17:02:45 +05:30
parent ffc846cf17
commit 671697d161
10 changed files with 17 additions and 16 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import urllib.request
sys.path.insert(0, "gateway")
BASE = os.environ.get("GATEWAY_URL", "http://localhost:8000")
BASE = os.environ.get("GATEWAY_URL", "http://localhost:8765")
def http_get(url):
+1 -1
View File
@@ -12,7 +12,7 @@ import time
import httpx
BASE_URL = os.environ.get("GATEWAY_URL", "http://localhost:8000")
BASE_URL = os.environ.get("GATEWAY_URL", "http://localhost:8765")
CORPUS_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "corpus", "fonts"))
TARGET_PDFS = [
+1 -1
View File
@@ -1,6 +1,6 @@
================================================================================
FONT EXTRACTION API VALIDATION
Server: http://localhost:8000
Server: http://localhost:8765
Corpus: C:\Users\Maskan\Desktop\pdf_editor\pdf\corpus\fonts
Timestamp: 2026-06-02 12:36:47
================================================================================