Python client library for Modal


Keywords
modal, client, cloud, serverless, infrastructure, ai, data-science, distributed, genai, machine-learning, python
License
Apache-2.0
Install
pip install modal==0.64.137

Documentation

Modal Python Library

PyPI Version License Tests Slack

The Modal Python library provides convenient, on-demand access to serverless cloud compute from Python scripts on your local computer.

Documentation

See the online documentation for many example applications, a user guide, and the detailed API reference.

Installation

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

Support

For usage questions and other support, please reach out on the Modal Slack.