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

Uploaded Source

Built Distribution

supafunc-0.9.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for supafunc-0.9.0.tar.gz
Algorithm Hash digest
SHA256 64cdf331f5a3f2afc7c181697d4723efc084620ea66611f3211dd5ecbef595c1
MD5 f09bd0398ccc0dcfe39ae6b4c8bff81c
BLAKE2b-256 9411b4c5e795190cf076c0919f9bd10e3d125dc4350238c0e399b180c00dadef

See more details on using hashes here.

Provenance

The following attestation bundles were made for supafunc-0.9.0.tar.gz:

Publisher: ci.yml on supabase/functions-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: supafunc-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 7.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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2aa3ab4d125c1843c28f1b437db2442ea68448f2654b6b78196dbe077197c52a
MD5 862b36f156c6dbc9e58c352e02453f11
BLAKE2b-256 c3542f89addb0463202c74259233136f92231090fa0aad6da43f3fb00b38e53a

See more details on using hashes here.

Provenance

The following attestation bundles were made for supafunc-0.9.0-py3-none-any.whl:

Publisher: ci.yml on supabase/functions-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page