llama-deploy-appserver 0.3.0a5__py3-none-any.whl → 0.3.0a6__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.
@@ -85,6 +85,14 @@ if not os.environ.get("DISABLE_CORS", False):
85
85
  app.include_router(health_router)
86
86
 
87
87
 
88
+ def open_browser_async(host: str, port: int) -> None:
89
+ def _open_with_delay() -> None:
90
+ time.sleep(1)
91
+ webbrowser.open(f"http://{host}:{port}")
92
+
93
+ threading.Thread(target=_open_with_delay).start()
94
+
95
+
88
96
  def prepare_server(
89
97
  deployment_file: Path | None = None,
90
98
  install: bool = False,
@@ -183,11 +191,3 @@ if __name__ == "__main__":
183
191
  deployment_file=args.deployment_file,
184
192
  open_browser=args.open_browser,
185
193
  )
186
-
187
-
188
- def open_browser_async(host: str, port: int) -> None:
189
- def _open_with_delay() -> None:
190
- time.sleep(1)
191
- webbrowser.open(f"http://{host}:{port}")
192
-
193
- threading.Thread(target=_open_with_delay).start()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: llama-deploy-appserver
3
- Version: 0.3.0a5
3
+ Version: 0.3.0a6
4
4
  Summary: Application server components for LlamaDeploy
5
5
  Author: Massimiliano Pippi
6
6
  Author-email: Massimiliano Pippi <mpippi@gmail.com>
@@ -10,7 +10,7 @@ Requires-Dist: pydantic-settings>=2.10.1
10
10
  Requires-Dist: uvicorn>=0.24.0
11
11
  Requires-Dist: fastapi>=0.100.0
12
12
  Requires-Dist: websockets>=12.0
13
- Requires-Dist: llama-deploy-core>=0.3.0a5,<0.4.0
13
+ Requires-Dist: llama-deploy-core>=0.3.0a6,<0.4.0
14
14
  Requires-Dist: httpx>=0.28.1
15
15
  Requires-Dist: prometheus-fastapi-instrumentator>=7.1.0
16
16
  Requires-Dist: packaging>=25.0
@@ -1,6 +1,6 @@
1
1
  llama_deploy/appserver/__init__.py,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
2
2
  llama_deploy/appserver/__main__.py,sha256=32eff329cadb4f883c9df3a1b2bcb908d5adde765e7c7e761d25b7df4827b9ca,196
3
- llama_deploy/appserver/app.py,sha256=a91a518dbce113043852217008a09b21dc6093bf78173c5d5f2b2ba3a3522094,5628
3
+ llama_deploy/appserver/app.py,sha256=9a4b453f65f7004413dee654baf6d3fb7cc359730b01c271449a66b0efc4a5e1,5628
4
4
  llama_deploy/appserver/bootstrap.py,sha256=b2b032af98f477c1e3b515442251890027f4a83c5e73c19af43b36a2c5e1e479,2361
5
5
  llama_deploy/appserver/deployment.py,sha256=8dc31107a8dbe30feb3d414540a5cbd4753faffd617fdab69407ee19a0ecd1bb,2670
6
6
  llama_deploy/appserver/deployment_config_parser.py,sha256=160f6ead40028de8d92af927ac8427c13e62fdfaccbcaf605906d0645e06ba74,455
@@ -13,6 +13,6 @@ llama_deploy/appserver/settings.py,sha256=46d209715f4e143eb1f4a44906bacfbd8eb795
13
13
  llama_deploy/appserver/stats.py,sha256=1f3989f6705a6de3e4d61ee8cdd189fbe04a2c53ec5e720b2e5168acc331427f,691
14
14
  llama_deploy/appserver/types.py,sha256=4edc991aafb6b8497f068d12387455df292da3ff8440223637641ab1632553ec,2133
15
15
  llama_deploy/appserver/workflow_loader.py,sha256=ba863d36cef3bc65ce1227ed3302b9e569e2765e6dd53ba9dcbbf30c0800c1c8,14168
16
- llama_deploy_appserver-0.3.0a5.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
17
- llama_deploy_appserver-0.3.0a5.dist-info/METADATA,sha256=f28d7fbc89fb899065d94a929370013a4e2eeec6e52dd5a1a18cc54bbed54609,777
18
- llama_deploy_appserver-0.3.0a5.dist-info/RECORD,,
16
+ llama_deploy_appserver-0.3.0a6.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
17
+ llama_deploy_appserver-0.3.0a6.dist-info/METADATA,sha256=ad52ee37a3964e138ec2f64995dd3698ac0a86ae921476ed6aedcd0e73dca01e,777
18
+ llama_deploy_appserver-0.3.0a6.dist-info/RECORD,,