Deploy functions and models to Outspeed serverless.

Usage

outspeed deploy [OPTIONS] FILE_PATH

Options

To obtain an API key, Contact us
  • --api-key Your API key. Can be set via the OUTSPEED_API_KEY environment variable.
  • --base-url Base URL of the Outspeed endpoint. Defaults to ”https://infra.outspeed.ai“.
  • --help Show help message and exit.

Arguments

Currently, we only support single file deployments per Application.

  • FILE_PATH Path to the Python file containing functions and models to deploy.

Example

Deploy a function defined in test.py:

outspeed deploy --api-key=<your-api-key> test.py

Notes

  • If the --api-key option is not provided, the CLI will attempt to use the OUTSPEED_API_KEY environment variable.
  • The --base-url option allows you to specify a custom endpoint for deployment.
  • Upon successful deployment, the CLI will provide a function URL that can be used to run the deployed function.