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.
Release files for fal 1.80.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fal-1.80.0.tar.gz | 2.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fal-1.80.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.4 MB
Release files / fal-1.80.0.tar.gz
| Download URL | fal-1.80.0.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
353a28ff154b37e4ee9757dc955874fe89903204abf304cb06b4aa9411ec09c3
|
|
BLAKE2b-256 checksum How to use checksums |
d9986184fce54f70f059e448fcbeffe36fe3cb43db67be12c35e17759c1748b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logRelease files / fal-1.80.0-py3-none-any.whl
| Download URL | fal-1.80.0-py3-none-any.whl |
|---|---|
| Size | 312.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2129b72cbc8b5bd51653752ff9e5529ec3a93996fb261097d95f0a0001f611e7
|
|
BLAKE2b-256 checksum How to use checksums |
8148e4066c62952a4afc809d6f78939ae7fc82498e76792082c4fe41d704a573
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency log