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.5.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

supafunc-0.5.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: supafunc-0.5.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for supafunc-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a20ec28e90b4b3191b149c30d1020d9f18491d0b8b86d0a29c60935169dd4dbe
MD5 ef40725297edc1dcf5ab798f3505527b
BLAKE2b-256 2378df1ce51947da24e29e99d9e218a9105d0a0f82a9ab98d1abd30f766859d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: supafunc-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for supafunc-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e6802c9a9d97a2cead3c778004ab43102b52d70c34899d903539066c5cfa43f
MD5 496821f688f03a7352d6c16705bef9e0
BLAKE2b-256 ec1689764bff249b4f61441a3b09ecc7cc707404ac459ac2b3ea4fbe6a3d3e54

See more details on using hashes here.

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