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

Uploaded Source

Built Distribution

supafunc-0.3.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for supafunc-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8ab338216f3845d52c45c9fdc3246a719d3f9b8d8647e8bc382fb5cdda54ddb9
MD5 fc2971d16d0664c751f94273b4f60cc5
BLAKE2b-256 784ef4211dbf19f793db7127e6cdf48d2793b6070b763ab7ba8d1c73ee46e588

See more details on using hashes here.

File details

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

File metadata

  • Download URL: supafunc-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for supafunc-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0f3e09bd2d6bef2088cf91e4337aa920bf5e8ecadd24235e4a276c8c6b301c
MD5 7bd1e3731b1b09fb6239a9eedaa32d78
BLAKE2b-256 eec14ac0762095927d9af1f4d15cf7f73a14b1e2ff71a8f8aea33719aa7a4b1d

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