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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for supafunc-0.6.1.tar.gz
Algorithm Hash digest
SHA256 3c8761e3999336ccdb7550498a395fd08afc8469382f55ea56f7f640e5a909aa
MD5 cbed198f2b9e9f818d16cd88a125876a
BLAKE2b-256 3cd1e7de629df6b2742cdfe27ba405ba0f25de86aaf3c426b1920b950e0eed90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: supafunc-0.6.1-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.7

File hashes

Hashes for supafunc-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01aeeeb4bf429977664454a32c86418345140faf6d2e6eb0636d52e4547c5fbb
MD5 3b637909882d4967de4a7d8f55c005fd
BLAKE2b-256 c899eb546b2cfee8efbc4d01c0362e49a8991e8aeeced00b3ea0b5262ac196f9

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