Skip to main content

Library for Supabase Functions

Project description

Functions-py

Installation

pip3 install supabase_functions

Usage

Deploy your function as per documentation.

import asyncio
from supabase_functions 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

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

Uploaded Source

Built Distribution

supabase_functions-0.7.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: supabase_functions-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 supabase_functions-0.7.0.tar.gz
Algorithm Hash digest
SHA256 31ed100668f09ab5b3b3e065b9363ec4d34f5676782f360eb72803c870bc9429
MD5 48610f84acf27f72bb151496e719eaa3
BLAKE2b-256 0f301aa07c1e364a39a4b5f728ac5372302b64e70998ee4306545aad6f2d4692

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on supabase/functions-py

Attestations:

File details

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

File metadata

File hashes

Hashes for supabase_functions-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ac7086387ff148571c50ce591286a32f240d51e112fbdd5a733a3f89525e3e6
MD5 49c174547c1c5ef34b6f2d64eb9940ea
BLAKE2b-256 ade3637c9eecaaeb53377f92a02c0d86ee60433cd8d729dd4fe959ce1c0ee63f

See more details on using hashes here.

Provenance

The following attestation bundles were made for supabase_functions-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