Skip to main content

Simple CLI tool to run deployed Modal functions

Project description

modal-run

Simple tool to run deployed Modal functions from the CLI.

Installation

pip install modal-run

Usage

modal-run my_app.my_function

This will call modal.Function.from_name("my_app", "my_function").spawn() under the hood.

modal-run my_app.function_name --an-arg my_arg

This will call modal.Function.from_name("my_app", "function_name").spawn(an_arg: "ny_arg") under the hood.

Requirements

  • Python 3.8+
  • Modal account and authentication configured

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modal_run-0.1.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modal_run-0.1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page