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

Uploaded Source

Built Distribution

supafunc-0.4.6-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for supafunc-0.4.6.tar.gz
Algorithm Hash digest
SHA256 92db51f8f8568d1430285219c9c0072e44207409c416622d7387f609e31928a6
MD5 bb7bc7ef602d61e16efbe9f55a003e65
BLAKE2b-256 fb31bd8e3ec614ba6e615ffb2a3e37f5a87cf7424496ab9ab1922637d3788784

See more details on using hashes here.

File details

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

File metadata

  • Download URL: supafunc-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for supafunc-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f7ca7b244365e171da7055a64edb462c2ec449cdaa210fc418cfccd132f4cf98
MD5 5fecedef77e95b4325b47a94c9415a60
BLAKE2b-256 f019efd1635944127293ffa888d4797bca0e1af59e49a41aac489a48887506c8

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