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.7.0.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.7.0.tar.gz
.
File metadata
- Download URL: supafunc-0.7.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b1c415fba1395740b2b4eedd1d786384bd58b98f6333a11ba7889820a48b6a7 |
|
MD5 | 68a4e5133a3772070cfeb920f69f3d63 |
|
BLAKE2b-256 | f9f550eae5b8428772fee09e737e9ea958e9d76c04814f72b58d181f8477e730 |
Provenance
The following attestation bundles were made for supafunc-0.7.0.tar.gz
:
Publisher:
ci.yml
on supabase/functions-py
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
supafunc-0.7.0.tar.gz
- Subject digest:
5b1c415fba1395740b2b4eedd1d786384bd58b98f6333a11ba7889820a48b6a7
- Sigstore transparency entry: 145679156
- Sigstore integration time:
- Predicate type:
File details
Details for the file supafunc-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.7.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4160260dc02bdd906be1e2ffd7cb3ae8b74ae437c892bb475352b6a99d9ff8eb |
|
MD5 | 948073579410b8345c5d65dbf04bc1ea |
|
BLAKE2b-256 | c326bc4cd6d19b6290025fe9068df1540a3aab9806daca8b1dd19c0902072a24 |
Provenance
The following attestation bundles were made for supafunc-0.7.0-py3-none-any.whl
:
Publisher:
ci.yml
on supabase/functions-py
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
supafunc-0.7.0-py3-none-any.whl
- Subject digest:
4160260dc02bdd906be1e2ffd7cb3ae8b74ae437c892bb475352b6a99d9ff8eb
- Sigstore transparency entry: 145679163
- Sigstore integration time:
- Predicate type: