Deploy Uvicorn APIs

Deploy Uvicorn APIs to Hal9

Deploy Uvicorn APIs

In order to deploy Uvicorn APIs to our cloud, use the hal9 python package:

$ pip install hal9
$ hal9 deploy app --type uvicorn --main app.py
          
Login required to generate deployment token.
from fastapi import FastAPI
import random
app = FastAPI()
@app.get("/")
async def roll():
  return random.randint(1, 6)

What kind of Uvicorn APIs can Hal9 create?

Explore Uvicorn APIs created with Hal9