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.3.2.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.3.2.tar.gz
.
File metadata
- Download URL: supafunc-0.3.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12bccf0e51720b85596543e9d17defc26d9c5d2d2ec14f47e7c66e9b13f7354 |
|
MD5 | 62e1976d7453a0ed35030f6efc3af2cb |
|
BLAKE2b-256 | 15d721fd7994b58fe2f2b1e1a7888dd8ee7d55e363732ca2190c7808a7d928b6 |
File details
Details for the file supafunc-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.3.2-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.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fea18b701ca94053d51288c94285b4de06e122936525ad2a4bd49afb16c8b532 |
|
MD5 | 999a562f35f1c4ea284c1dc92c758ae2 |
|
BLAKE2b-256 | a98a72257dd5372b807e03b8cc19a1fa5ec2a42dbdea77f52b3937d3bbba9476 |