Skip to content

modal-labs/modal-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

87527f5 · Jan 11, 2025
Jan 7, 2025
Sep 23, 2024
Oct 4, 2024
Aug 20, 2024
Dec 4, 2024
Dec 4, 2024
Jan 11, 2025
Jan 11, 2025
Nov 18, 2024
Jan 11, 2025
Jan 10, 2025
Jun 12, 2024
Dec 4, 2024
Dec 17, 2024
Dec 17, 2024
Jan 10, 2025
May 6, 2024
Mar 27, 2024
Aug 24, 2022
Sep 11, 2024
Mar 21, 2024

Repository files navigation

Modal Examples

This is a collection of examples for Modal. Use these examples to learn Modal and build your own robust and scalable applications.

Usage

First, sign up for a free account at modal.com and follow the setup instructions to install the modal package and set your API key.

The examples are organized into several folders based on their category. You can generally run the files in any folder much like you run ordinary Python programs, with a command like:

modal run 01_getting_started.hello_world

Although these scripts are run on your local machine, they'll communicate with Modal and run in our cloud, spawning serverless containers on demand.

Examples

These examples are continuously tested for correctness against Python 3.11.

License

The MIT license.