The Modal Python library 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.8 – 3.12.
Install the package with pip
:
pip install modal
You can create a Modal account (or link your existing one) directly on the command line:
python3 -m modal setup
For usage questions and other support, please reach out on the Modal Slack.