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.0.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.4.0.tar.gz
.
File metadata
- Download URL: supafunc-0.4.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fc3b1eca86f6aacf65030fd74b0c8b9e6bbf07e690319e7570a9510a917c755 |
|
MD5 | 8b8555c0527745a82a23e0428e3d07e6 |
|
BLAKE2b-256 | 68b5c0f7c64210ade544ad12bf4b348e32ce0a3bd7a4a3e129440457e6fb0254 |
File details
Details for the file supafunc-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.4.0-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.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 260c833523c3f5430a4f49ededd9b09a79ddcfe41279be5f987ab604731d62a3 |
|
MD5 | d6edb87197a072d69b6dc3fe0520392f |
|
BLAKE2b-256 | 646872bedcaeba86aac97bd140e2b99452062c1a51679f3ae5d5a9ce31dc4dd7 |