See the online documentation for many example applications, a user guide, and the detailed API reference.
The Modal Python SDK provides convenient, on-demand access to serverless cloud compute from Python scripts on your local computer.
This library requires Python 3.10 – 3.14.
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 setupThis repo hosts the Modal SDKs for JavaScript/TypeScript and Go. They provide convenient, on-demand access to serverless cloud compute on Modal from JS/TS and golang projects. Use it to safely run arbitrary code in Modal Sandboxes, call Modal Functions, and interact with Modal resources.
For more details, documentation and installation instructions, see the README for each SDK:
There are also open-source Modal libraries built and maintained by our community. These projects are not officially supported by Modal and we thus can't vouch for them, but feel free to explore and contribute.
- Ruby: anthonycorletti/modal-rb
For usage questions and other support, please reach out on the Modal Slack.