Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.79.1 instead.
Reason given by maintainers: Broken on Python 3.8 and 3.9

PyPI Tests

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fal-1.79.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fal-1.79.0-py3-none-any.whl (286.3 kB view details)

Uploaded Python 3

File details

Details for the file fal-1.79.0.tar.gz.

File metadata

  • Download URL: fal-1.79.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fal-1.79.0.tar.gz
Algorithm Hash digest
SHA256 16ccd4edd31df2245444bb56aa4d66de867d597e142686b3c715ed32a838cc74
MD5 351b7022c262b6d8ac424cea6086f087
BLAKE2b-256 dcf3cf68353d1ef15971f4a9527440830c222365c10c8b277b996e43772daab1

See more details on using hashes here.

Provenance

The following attestation bundles were made for fal-1.79.0.tar.gz:

Publisher: release.yaml on fal-ai/fal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fal-1.79.0-py3-none-any.whl.

File metadata

  • Download URL: fal-1.79.0-py3-none-any.whl
  • Upload date:
  • Size: 286.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fal-1.79.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e623d49b19d5fb24905c20ea9610c430f522ba8463e70f96393538370043b951
MD5 23c7ffd34173a3567b4c6cf19a6a2bf6
BLAKE2b-256 9387075713d87d838705350a531c5504f83ea8beec87a7b8ca15e819b57cfb79

See more details on using hashes here.

Provenance

The following attestation bundles were made for fal-1.79.0-py3-none-any.whl:

Publisher: release.yaml on fal-ai/fal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page