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.5.1.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.5.1.tar.gz
.
File metadata
- Download URL: supafunc-0.5.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae9dce6bd935939c561650e86abb676af9665ecf5d4ffc1c7ec3c4932c84334 |
|
MD5 | 716374221d3270bb9ef7e10cb00d8c12 |
|
BLAKE2b-256 | 6ff606eefb1975e871b36abc8aebd6e370d441344ac4323d85cad6790709f75a |
File details
Details for the file supafunc-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.5.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b05e99a2b41270211a3f90ec843c04c5f27a5618f2d2d2eb8e07f41eb962a910 |
|
MD5 | af27e07d25f9965d156fa8241a9ab213 |
|
BLAKE2b-256 | 93eada0b3bd36ac21e91a7f3d43c3cc7884b79d96766cb07d1e55a83df0baadd |