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.5.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.4.5.tar.gz
.
File metadata
- Download URL: supafunc-0.4.5.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6466d78bdcaa58b7f0303793643103baae8106a87acd5d01e196179a9d0d024 |
|
MD5 | 1fe71ce6739fa1e2075720b016cbcc1d |
|
BLAKE2b-256 | 891969e9f1501d5cd65203c5a690a2aff1817834eefd03fd92400e1fcafd753b |
Provenance
File details
Details for the file supafunc-0.4.5-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.4.5-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2208045f8f5c797924666f6a332efad75ad368f8030b2e4ceb9d2bf63f329373 |
|
MD5 | 762da28436ee39dc63c71315d26667bf |
|
BLAKE2b-256 | b601404c1164a132d9bee3450746d708bea0e368fd3ddf9d1620a1e7850b1f9a |