Skip to content

N-Demir/modal-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple CLI tool to run deployed Modal functions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages