skillfed

supabase-functions

Library for Supabase Functions

supabase-functions Permissive license MIT Active 2,557 v2.31.0 released

Install

supabase-functions on PyPI

pip

pip install supabase-functions

uv

uv add supabase-functions

poetry

poetry add supabase-functions

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 3 — httpx, strenum, yarl
Maintenance actively maintained — 70 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: supabase_functions-2.31.0-py3-none-any.whl

About supabase-functions

from the package's own PyPI description — quoted content, verbatim

Functions-py

Installation

The package can be installed using pip, uv or poetry:

Pip
pip install supabase_functions
UV
uv add supabase_functions
Poetry
poetry add supabase_functions

Usage

Deploy your Edge Function following the Supabase Functions documentation.

Asynchronous Client
import asyncio
from supabase_functions import AsyncFunctionsClient

async def run_func():
    # Initialize the client with your project URL and optional headers
    headers = {
        "Authorization": "Bearer your-publishable-key",
        # Add any other headers you might need
    }

    fc = AsyncFunctionsClient("https://<project_ref>.functions.supabase.co", headers)

    try:
        # Invoke your Edge Function
        res = await fc.invoke("payment-sheet", {
            "responseType": "json",
            "body": {"amount": 1000, "currency": "usd"}
        })
        print("Response:", res)
    except Exception as e:
        print(f"Error: {e}")

if __name__ == "__main__":
    asyncio.run(run_func())
Synchronous Client

```python from supabase_functions import...

Read as markdown · JSON record · Source repository

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Provides Python clients (async and sync) to invoke Supabase Edge Functions over HTTP, with support for custom headers and JSON request/response handling.

Low friction: pure Python wheel with only three lightweight runtime dependencies (httpx, strenum, yarl). Actively maintained as of 2026-08-12 with recent releases; part of the top 1000 PyPI packages.

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Usage

pip install supabase-functions

from supabase_functions import AsyncFunctionsClient
import asyncio

async def call_function():
    fc = AsyncFunctionsClient("https://<project_ref>.functions.supabase.co", {"Authorization": "Bearer key"})
    res = await fc.invoke("function-name", {"body": {"data": "value"}})
    return res

asyncio.run(call_function())

Requires Python 3.9 or later; Supabase project URL and authentication token must be provided.

Verdict: Lightweight, actively maintained library for calling Supabase Edge Functions from Python with both async and sync APIs. No known vulnerabilities, permissive MIT license, and minimal dependencies make it a low-risk choice for Supabase-integrated applications.

Needs verification

  • Whether the library handles automatic retry logic or connection pooling for production workloads.
  • Performance characteristics and rate-limiting behavior when invoking functions at scale.
supabase edge functions clientinvoke supabase functions pythonasync http client supabaseserverless function invocationsupabase functions sdkpython edge function callersupabase api client

Similar packages