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
Release history Release notifications | RSS feed
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.4.7.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.4.7.tar.gz
.
File metadata
- Download URL: supafunc-0.4.7.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd7b79d03d0c66aedfe3e8b2296cafcd0770fea5fc7505c863ae42c667309d27 |
|
MD5 | 26a6505f6b3c15aeb15b8be28917871e |
|
BLAKE2b-256 | cbede458953e5f1c62bb1d99085a5209161e4a99a7821fe1b50aed3d64e593a5 |
File details
Details for the file supafunc-0.4.7-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.4.7-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b63133ff14e3b311fc881c9ff2538d70985df9b700b443efb86940588672905 |
|
MD5 | 0b56b774024ef33da46932f6afc92917 |
|
BLAKE2b-256 | 5fe273cf89a59266340edf7cc546879019530ec0d0f3c61dee516de5aa2e4e98 |