fal is an easy-to-use Serverless Python Framework
Project description
fal
fal is a serverless Python runtime that lets you run and scale code in the cloud with no infra management.
With fal, you can build pipelines, serve ML models and scale them up to many users. You scale down to 0 when you don't use any resources.
For full product and platform documentation, see fal.ai/docs.
Quickstart
Install the package and authenticate:
pip install fal
fal auth login
Create a minimal app:
import fal
class MyApp(fal.App):
@fal.endpoint("/")
def run(self) -> dict:
return {"message": "Hello, World!"}
Run it on fal for testing:
fal run hello_world.py::MyApp
Deploy it to a persistent endpoint:
fal deploy hello_world.py::MyApp
Next steps
If you want to go deeper, start with:
Install from source
From the repository root:
pip install -e 'projects/fal[dev]'
Contributing
Running tests
Use the smallest relevant scope first:
pytest -n auto -v projects/fal/tests/unit
Pre-commit
Run the repository hooks before opening or finishing work:
pre-commit run --all-files
Commit format
Please follow the Conventional Commits specification for commit messages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fal-1.72.4.tar.gz.
File metadata
- Download URL: fal-1.72.4.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b659a439fcf0e507157b304a43498c3de5e7f8d7043f22dc46f538a19d30f500
|
|
| MD5 |
008523bbc46a2ce83842dad4562033a4
|
|
| BLAKE2b-256 |
3f4029ef946d374a5d7e773526f72ca0ac32db3d4d602544f921bdf371f08d10
|
Provenance
The following attestation bundles were made for fal-1.72.4.tar.gz:
Publisher:
release.yaml on fal-ai/fal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fal-1.72.4.tar.gz -
Subject digest:
b659a439fcf0e507157b304a43498c3de5e7f8d7043f22dc46f538a19d30f500 - Sigstore transparency entry: 1439524818
- Sigstore integration time:
-
Permalink:
fal-ai/fal@11689fb27e38b3c5ed65e7f1b5c574aee1dbade4 -
Branch / Tag:
refs/tags/fal_v1.72.4 - Owner: https://github.com/fal-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@11689fb27e38b3c5ed65e7f1b5c574aee1dbade4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fal-1.72.4-py3-none-any.whl.
File metadata
- Download URL: fal-1.72.4-py3-none-any.whl
- Upload date:
- Size: 247.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dd67ed3bff06323a25ed665007009300867c035512e714ea946fbef6130736e
|
|
| MD5 |
7ceec396148b07346249da0587a99598
|
|
| BLAKE2b-256 |
204b024e5108110e0fea70dedca634fe4f7b0f6be56f303179697ffb6579790a
|
Provenance
The following attestation bundles were made for fal-1.72.4-py3-none-any.whl:
Publisher:
release.yaml on fal-ai/fal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fal-1.72.4-py3-none-any.whl -
Subject digest:
3dd67ed3bff06323a25ed665007009300867c035512e714ea946fbef6130736e - Sigstore transparency entry: 1439524907
- Sigstore integration time:
-
Permalink:
fal-ai/fal@11689fb27e38b3c5ed65e7f1b5c574aee1dbade4 -
Branch / Tag:
refs/tags/fal_v1.72.4 - Owner: https://github.com/fal-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@11689fb27e38b3c5ed65e7f1b5c574aee1dbade4 -
Trigger Event:
release
-
Statement type: