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.6.1.tar.gz
(3.9 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c8761e3999336ccdb7550498a395fd08afc8469382f55ea56f7f640e5a909aa |
|
MD5 | cbed198f2b9e9f818d16cd88a125876a |
|
BLAKE2b-256 | 3cd1e7de629df6b2742cdfe27ba405ba0f25de86aaf3c426b1920b950e0eed90 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01aeeeb4bf429977664454a32c86418345140faf6d2e6eb0636d52e4547c5fbb |
|
MD5 | 3b637909882d4967de4a7d8f55c005fd |
|
BLAKE2b-256 | c899eb546b2cfee8efbc4d01c0362e49a8991e8aeeced00b3ea0b5262ac196f9 |