The Modal Python SDK provides convenient, on-demand access to serverless cloud compute from Python scripts on your local computer.
See the online documentation for many example applications, a user guide, and the detailed API reference.
This library requires Python 3.9 – 3.13.
Install the package with uv or pip:
uv pip install modalYou can create a Modal account (or link your existing one) directly on the command line:
python3 -m modal setupFor usage questions and other support, please reach out on the Modal Slack.