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

supabase_functions-0.3.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

supabase_functions-0.3.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: supabase_functions-0.3.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Darwin/22.2.0

File hashes

Hashes for supabase_functions-0.3.1.tar.gz
Algorithm Hash digest
SHA256 53eb0bc4feee053a4640cf2605077464a371e1096fc24c20ee04f80b1aa36b1b
MD5 f86a38628873cda5b97f82635d6fb67f
BLAKE2b-256 31db4095f2f404e85d803e99c47177041bbcde129b5af022cf4bc6034176d2eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for supabase_functions-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee28ff7b90f1869269b37b7e0ec995306ae1acfc2dc38fe230cdba24a2f42e56
MD5 d360e1baf39a6f5fc2536b582bdaa36c
BLAKE2b-256 93d40fd7f495392d08978f0287be9d9eff093a09435777f0ec1ee8934a254c84

See more details on using hashes here.

Supported by

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