# 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/85/28/c808bfd80c996cbf0ba5de6714edf2e2f68637f50058f6b9373f49b82a70/supafunc-0.6.2.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.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": "1891cb7a31cf250ee66dfd40cca2c7c36eede7e1d8e3183f99865d14438c66a7",
"md5": "bc95918e6c0d4420d258dac5eaf659cd",
"sha256": "101b30616b0a1ce8cf938eca1df362fa4cf1deacb0271f53ebbd674190fb0da5"
},
"downloads": -1,
"filename": "supafunc-0.6.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bc95918e6c0d4420d258dac5eaf659cd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 6622,
"upload_time": "2024-10-18T07:06:37",
"upload_time_iso_8601": "2024-10-18T07:06:37.782652Z",
"url": "https://files.pythonhosted.org/packages/18/91/cb7a31cf250ee66dfd40cca2c7c36eede7e1d8e3183f99865d14438c66a7/supafunc-0.6.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8528c808bfd80c996cbf0ba5de6714edf2e2f68637f50058f6b9373f49b82a70",
"md5": "6b5749cb151a087b98d832564b86e80f",
"sha256": "c7dfa20db7182f7fe4ae436e94e05c06cd7ed98d697fed75d68c7b9792822adc"
},
"downloads": -1,
"filename": "supafunc-0.6.2.tar.gz",
"has_sig": false,
"md5_digest": "6b5749cb151a087b98d832564b86e80f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 3902,
"upload_time": "2024-10-18T07:06:39",
"upload_time_iso_8601": "2024-10-18T07:06:39.038600Z",
"url": "https://files.pythonhosted.org/packages/85/28/c808bfd80c996cbf0ba5de6714edf2e2f68637f50058f6b9373f49b82a70/supafunc-0.6.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-18 07:06:39",
"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"
}