# Functions-py
## Installation
`pip3 install supafunc`
## Usage
Deploy your function as per documentation.
```python3
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())
```
Raw data
{
"_id": null,
"home_page": "https://github.com/supabase/functions-py",
"name": "supafunc",
"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/72/03/2ca4dddd4a8d28f5dbe204ea0350fb3e4fbf16156ef446f12e0a73d9e718/supafunc-0.9.3.tar.gz",
"platform": null,
"description": "# Functions-py\n\n\n## Installation\n\n`pip3 install supafunc`\n\n## Usage\n\nDeploy your function as per documentation.\n\n\n```python3\nimport asyncio\nfrom supafunc 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": "40ec56e3de38ee99f11c6d645ce8f2a1c29c4561adcb47e53e7781b9c073aa7e",
"md5": "9a06f6bf338a0321c12a6736183b0b8d",
"sha256": "83e36ed5e94d2dd0484011aad0b09337d35a87992adbc97acc31c8201aca05d0"
},
"downloads": -1,
"filename": "supafunc-0.9.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9a06f6bf338a0321c12a6736183b0b8d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 7690,
"upload_time": "2025-01-29T09:57:54",
"upload_time_iso_8601": "2025-01-29T09:57:54.056610Z",
"url": "https://files.pythonhosted.org/packages/40/ec/56e3de38ee99f11c6d645ce8f2a1c29c4561adcb47e53e7781b9c073aa7e/supafunc-0.9.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "72032ca4dddd4a8d28f5dbe204ea0350fb3e4fbf16156ef446f12e0a73d9e718",
"md5": "074ee0c4706e226d03f9598dc76c92de",
"sha256": "29a06d0dc9fe049ecc1249e53ccf3d2a80d72239200f69b510740217aca6497c"
},
"downloads": -1,
"filename": "supafunc-0.9.3.tar.gz",
"has_sig": false,
"md5_digest": "074ee0c4706e226d03f9598dc76c92de",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 4730,
"upload_time": "2025-01-29T09:57:55",
"upload_time_iso_8601": "2025-01-29T09:57:55.871186Z",
"url": "https://files.pythonhosted.org/packages/72/03/2ca4dddd4a8d28f5dbe204ea0350fb3e4fbf16156ef446f12e0a73d9e718/supafunc-0.9.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-29 09:57:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "supabase",
"github_project": "functions-py",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "supafunc"
}