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.3.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.3.3.tar.gz
.
File metadata
- Download URL: supafunc-0.3.3.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 | c35897a2f40465b40d7a08ae11f872f08eb8d1390c3ebc72c80e27d33ba91b99 |
|
MD5 | 7e144510de7e90f90485e555d3105518 |
|
BLAKE2b-256 | bf430db8ccf7d44c8db26ce74537f76f462571685f3bd4946cccf16c1be27c6d |
File details
Details for the file supafunc-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.3.3-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 | 8260b4742335932f9cab64c8f66fb6998681b7e8ca7a46b559a4eb640cc0af80 |
|
MD5 | 06d438e92bdf5b880dbdcfe5a4f3ed1e |
|
BLAKE2b-256 | e65fefb275d649845e6fe3a65c08e8c1e424d56dbc14016b89dca83055ec656e |