# Functions-py
## Installation
`pip3 install supabase_functions`
## Usage
Deploy your function as per documentation.
```python3
import asyncio
from supabase_functions 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())
```
Raw data
{
"_id": null,
"home_page": "https://github.com/supabase/functions-py",
"name": "supabase-functions",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Joel Lee",
"author_email": "joel@joellee.org",
"download_url": "https://files.pythonhosted.org/packages/93/1e/ae603cf695166b69f47d1237a68c666ca97cc414f2670358184b1dbe754f/supabase_functions-0.6.2.tar.gz",
"platform": null,
"description": "# Functions-py\n\n\n## Installation\n\n`pip3 install supabase_functions`\n\n## Usage\n\nDeploy your function as per documentation.\n\n\n```python3\nimport asyncio\nfrom supabase_functions import AsyncFunctionsClient\nasync def run_func():\n fc = AsyncFunctionsClient(\"https://<project_ref>.functions.supabase.co\", {})\n res = await fc.invoke(\"payment-sheet\", {\"responseType\": \"json\"})\n\nif __name__ == \"__main__\":\n asyncio.run(run_func())\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Library for Supabase Functions",
"version": "0.6.2",
"project_urls": {
"Homepage": "https://github.com/supabase/functions-py",
"Repository": "https://github.com/supabase/functions-py"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6856eb6b7ef9c7d1b1a7e4964943107cdcacfd79ae70ac767b6cdde161cffbff",
"md5": "0e8d0cb23a6f36ac74cf75e1bf92a072",
"sha256": "3eb276d1044333045af2d2d34d492cf6cbc5383fea26621162191d8229996664"
},
"downloads": -1,
"filename": "supabase_functions-0.6.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0e8d0cb23a6f36ac74cf75e1bf92a072",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 6874,
"upload_time": "2024-10-18T07:05:19",
"upload_time_iso_8601": "2024-10-18T07:05:19.260797Z",
"url": "https://files.pythonhosted.org/packages/68/56/eb6b7ef9c7d1b1a7e4964943107cdcacfd79ae70ac767b6cdde161cffbff/supabase_functions-0.6.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "931eae603cf695166b69f47d1237a68c666ca97cc414f2670358184b1dbe754f",
"md5": "d87ac48d8fe807b54b254946692a9c35",
"sha256": "a15aa8825431ba1280041853c1c4c55e5b463c40f66632bcb707887cf4e2e9f4"
},
"downloads": -1,
"filename": "supabase_functions-0.6.2.tar.gz",
"has_sig": false,
"md5_digest": "d87ac48d8fe807b54b254946692a9c35",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 3899,
"upload_time": "2024-10-18T07:05:21",
"upload_time_iso_8601": "2024-10-18T07:05:21.538962Z",
"url": "https://files.pythonhosted.org/packages/93/1e/ae603cf695166b69f47d1237a68c666ca97cc414f2670358184b1dbe754f/supabase_functions-0.6.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-18 07:05:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "supabase",
"github_project": "functions-py",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "supabase-functions"
}