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.2.4.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.2.4.tar.gz
.
File metadata
- Download URL: supafunc-0.2.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18f698c5c3fba854ffc68885de4e02047586fa8adf8b4569f25a6409fb002c45 |
|
MD5 | a10123b00675855b334703a8b8bcddc4 |
|
BLAKE2b-256 | 5a229975ad446be360fc8f32874879f355e6d1b831ef9cb1602a034880f4d0e2 |
File details
Details for the file supafunc-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.2.4-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.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3185e1b7de8bec5471426e92890bdba46538eeb641e58125db85343049f0d2b1 |
|
MD5 | 319147fe0e4df697ee7f0667bb7a8dd4 |
|
BLAKE2b-256 | 877aef514d97711b0aa0316a4a2761a2544f18074e52fab030101373d31d67c1 |