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

Uploaded Source

Built Distribution

supafunc-0.6.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for supafunc-0.6.0.tar.gz
Algorithm Hash digest
SHA256 2f7b538d52f268dc5cc7e25743085665242ee1cc8b2b2d867ff0bccfea2d1856
MD5 5d495071f0efd2ce37917bf1876e3197
BLAKE2b-256 113da295eaa51c9aaa517b2e4bd5b497f10501d4d6310f0e325455252cc4a46d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for supafunc-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e7fbc9992c2722216e1799f314aacf4ac147628741ad7cdd5c7be367e21f619
MD5 155ccef3d65ea2d969e67dd5709fde81
BLAKE2b-256 4a0e4d6ecd997b078bcae634e880f1d8340f483eb02dd123be1aa02fa76cc424

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