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.9.0.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file supafunc-0.9.0.tar.gz
.
File metadata
- Download URL: supafunc-0.9.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64cdf331f5a3f2afc7c181697d4723efc084620ea66611f3211dd5ecbef595c1 |
|
MD5 | f09bd0398ccc0dcfe39ae6b4c8bff81c |
|
BLAKE2b-256 | 9411b4c5e795190cf076c0919f9bd10e3d125dc4350238c0e399b180c00dadef |
Provenance
The following attestation bundles were made for supafunc-0.9.0.tar.gz
:
Publisher:
ci.yml
on supabase/functions-py
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
supafunc-0.9.0.tar.gz
- Subject digest:
64cdf331f5a3f2afc7c181697d4723efc084620ea66611f3211dd5ecbef595c1
- Sigstore transparency entry: 152364622
- Sigstore integration time:
- Permalink:
supabase/functions-py@87e9e4c0d32ea84c472c1a947c9b3bddf271e905
- Branch / Tag:
refs/heads/main
- Owner: https://github.com/supabase
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
ci.yml@87e9e4c0d32ea84c472c1a947c9b3bddf271e905
- Trigger Event:
push
- Statement type:
File details
Details for the file supafunc-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: supafunc-0.9.0-py3-none-any.whl
- Upload date:
- Size: 7.6 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 | 2aa3ab4d125c1843c28f1b437db2442ea68448f2654b6b78196dbe077197c52a |
|
MD5 | 862b36f156c6dbc9e58c352e02453f11 |
|
BLAKE2b-256 | c3542f89addb0463202c74259233136f92231090fa0aad6da43f3fb00b38e53a |
Provenance
The following attestation bundles were made for supafunc-0.9.0-py3-none-any.whl
:
Publisher:
ci.yml
on supabase/functions-py
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
supafunc-0.9.0-py3-none-any.whl
- Subject digest:
2aa3ab4d125c1843c28f1b437db2442ea68448f2654b6b78196dbe077197c52a
- Sigstore transparency entry: 152364623
- Sigstore integration time:
- Permalink:
supabase/functions-py@87e9e4c0d32ea84c472c1a947c9b3bddf271e905
- Branch / Tag:
refs/heads/main
- Owner: https://github.com/supabase
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
ci.yml@87e9e4c0d32ea84c472c1a947c9b3bddf271e905
- Trigger Event:
push
- Statement type: