quantumflow-sdk 0.2.0__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- api/main.py +6 -2
- api/routes/algorithm_routes.py +895 -0
- quantumflow/__init__.py +1 -1
- quantumflow/integrations/__init__.py +14 -0
- quantumflow/integrations/openai_functions.py +578 -0
- {quantumflow_sdk-0.2.0.dist-info → quantumflow_sdk-0.3.0.dist-info}/METADATA +1 -1
- {quantumflow_sdk-0.2.0.dist-info → quantumflow_sdk-0.3.0.dist-info}/RECORD +10 -8
- {quantumflow_sdk-0.2.0.dist-info → quantumflow_sdk-0.3.0.dist-info}/WHEEL +0 -0
- {quantumflow_sdk-0.2.0.dist-info → quantumflow_sdk-0.3.0.dist-info}/entry_points.txt +0 -0
- {quantumflow_sdk-0.2.0.dist-info → quantumflow_sdk-0.3.0.dist-info}/top_level.txt +0 -0
api/main.py
CHANGED
|
@@ -35,6 +35,7 @@ from api.models import (
|
|
|
35
35
|
from api.auth import get_current_user, get_optional_user, get_db_session
|
|
36
36
|
from api.routes.auth_routes import router as auth_router
|
|
37
37
|
from api.routes.teleport_routes import router as teleport_router
|
|
38
|
+
from api.routes.algorithm_routes import router as algorithm_router
|
|
38
39
|
|
|
39
40
|
# Import billing routes (optional - only if Stripe is configured)
|
|
40
41
|
try:
|
|
@@ -97,7 +98,7 @@ async def lifespan(app: FastAPI):
|
|
|
97
98
|
app = FastAPI(
|
|
98
99
|
title="QuantumFlow API",
|
|
99
100
|
description="Quantum-optimized AI agent workflow platform",
|
|
100
|
-
version="0.
|
|
101
|
+
version="0.3.0",
|
|
101
102
|
lifespan=lifespan,
|
|
102
103
|
)
|
|
103
104
|
|
|
@@ -116,6 +117,9 @@ app.include_router(auth_router)
|
|
|
116
117
|
# Include teleportation & secure messaging routes
|
|
117
118
|
app.include_router(teleport_router)
|
|
118
119
|
|
|
120
|
+
# Include algorithm routes (QNN, Grover, QAOA, VQE, QSVM, QKD, QRNG, QFT)
|
|
121
|
+
app.include_router(algorithm_router)
|
|
122
|
+
|
|
119
123
|
# Include billing routes if available
|
|
120
124
|
if BILLING_ENABLED and billing_router:
|
|
121
125
|
app.include_router(billing_router)
|
|
@@ -128,7 +132,7 @@ async def health_check():
|
|
|
128
132
|
"""Check API health status."""
|
|
129
133
|
return HealthResponse(
|
|
130
134
|
status="healthy",
|
|
131
|
-
version="0.
|
|
135
|
+
version="0.3.0",
|
|
132
136
|
quantum_ready=_compressor is not None,
|
|
133
137
|
)
|
|
134
138
|
|