# 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/c8/40/4a3205da7b3dc5acdbcbf32cec8383858385b0a586422e6871709505768c/supabase_functions-0.9.3.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.9.3",
"project_urls": {
"Homepage": "https://github.com/supabase/functions-py",
"Repository": "https://github.com/supabase/functions-py"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "303fc6a5c05a39df7f14f062ddffc1552bfa3add1493fe6ed85ba3795941916c",
"md5": "b0ca7c6b2a53ccea6f910b1ec4bb5c80",
"sha256": "3d0ff77447beccf6ef8155c664f7d89cc919bbab8a7f7fede47df90b43a4cdf9"
},
"downloads": -1,
"filename": "supabase_functions-0.9.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b0ca7c6b2a53ccea6f910b1ec4bb5c80",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 7939,
"upload_time": "2025-01-29T09:57:16",
"upload_time_iso_8601": "2025-01-29T09:57:16.941700Z",
"url": "https://files.pythonhosted.org/packages/30/3f/c6a5c05a39df7f14f062ddffc1552bfa3add1493fe6ed85ba3795941916c/supabase_functions-0.9.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c8404a3205da7b3dc5acdbcbf32cec8383858385b0a586422e6871709505768c",
"md5": "1169774c0e3154184191a335d5dfb1d1",
"sha256": "21dce0c417e1f153fea91d17457c5741a46f3a076b8350c65c06f15a36f67eb2"
},
"downloads": -1,
"filename": "supabase_functions-0.9.3.tar.gz",
"has_sig": false,
"md5_digest": "1169774c0e3154184191a335d5dfb1d1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 4742,
"upload_time": "2025-01-29T09:57:18",
"upload_time_iso_8601": "2025-01-29T09:57:18.331590Z",
"url": "https://files.pythonhosted.org/packages/c8/40/4a3205da7b3dc5acdbcbf32cec8383858385b0a586422e6871709505768c/supabase_functions-0.9.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-29 09:57:18",
"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"
}