Skip to content
Projects

modal-labs/modal-examples has 1,290 GitHub stars and 322 forks. GitHot measured +1 stars in 24 hours and +2 in 7 days. Last checked 2026-11-06 05:34 UTC. Last push 2026-10-29.

How these counts are measured

Examples of programs built using Modal

Measured star growth

in 24h
+1
in 7 days
+2
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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.py

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.

Explore related projects