Skip to main content

Library for Supabase Functions

Project description

Functions-py

Installation

pip3 install supafunc

Usage

Deploy your function as per documentation.

import asyncio
from supafunc import AsyncFunctionsClient
async def run_func():
    fc = AsyncFunctionsClient("https://<project_ref>.functions.supabase.co", {})
    res = await fc.invoke("payment-sheet", {"responseType": "json"})

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

Project details


Download files

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

Source Distribution

supafunc-0.7.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

supafunc-0.7.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file supafunc-0.7.0.tar.gz.

File metadata

  • Download URL: supafunc-0.7.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for supafunc-0.7.0.tar.gz
Algorithm Hash digest
SHA256 5b1c415fba1395740b2b4eedd1d786384bd58b98f6333a11ba7889820a48b6a7
MD5 68a4e5133a3772070cfeb920f69f3d63
BLAKE2b-256 f9f550eae5b8428772fee09e737e9ea958e9d76c04814f72b58d181f8477e730

See more details on using hashes here.

Provenance

The following attestation bundles were made for supafunc-0.7.0.tar.gz:

Publisher: ci.yml on supabase/functions-py

Attestations:

File details

Details for the file supafunc-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: supafunc-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for supafunc-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4160260dc02bdd906be1e2ffd7cb3ae8b74ae437c892bb475352b6a99d9ff8eb
MD5 948073579410b8345c5d65dbf04bc1ea
BLAKE2b-256 c326bc4cd6d19b6290025fe9068df1540a3aab9806daca8b1dd19c0902072a24

See more details on using hashes here.

Provenance

The following attestation bundles were made for supafunc-0.7.0-py3-none-any.whl:

Publisher: ci.yml on supabase/functions-py

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page