# 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-community/functions-py",
"name": "supabase_functions",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Joel Lee",
"author_email": "joel@joellee.org",
"download_url": "https://files.pythonhosted.org/packages/5e/0c/3e748648db82025014841742aa1df77d051d6554d5af3546c6b37223086f/supabase_functions-0.3.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",
"bugtrack_url": null,
"license": "MIT",
"summary": "Library for Supabase Functions",
"version": "0.3.3",
"project_urls": {
"Homepage": "https://github.com/supabase-community/functions-py",
"Repository": "https://github.com/supabase-community/functions-py"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ebd1ceb3449edd4458d21f31c629b0dc50f4a65593eaad10f5ebaa28aa562115",
"md5": "ed6e01b5771d3a6bb0ad8bf324a22beb",
"sha256": "3d1f0b52b15b77ab83295b02bc40334497c45e4ff528ee4f203ff1ba95a01b60"
},
"downloads": -1,
"filename": "supabase_functions-0.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ed6e01b5771d3a6bb0ad8bf324a22beb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 6328,
"upload_time": "2024-01-03T02:42:51",
"upload_time_iso_8601": "2024-01-03T02:42:51.554656Z",
"url": "https://files.pythonhosted.org/packages/eb/d1/ceb3449edd4458d21f31c629b0dc50f4a65593eaad10f5ebaa28aa562115/supabase_functions-0.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5e0c3e748648db82025014841742aa1df77d051d6554d5af3546c6b37223086f",
"md5": "bf6616b5563441ac3e8899b92b895466",
"sha256": "deed71fcfd8fc1dc0294dd087cddc3f4b19a48a6ebf52f6de1b710314138329a"
},
"downloads": -1,
"filename": "supabase_functions-0.3.3.tar.gz",
"has_sig": false,
"md5_digest": "bf6616b5563441ac3e8899b92b895466",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 4032,
"upload_time": "2024-01-03T02:42:52",
"upload_time_iso_8601": "2024-01-03T02:42:52.746315Z",
"url": "https://files.pythonhosted.org/packages/5e/0c/3e748648db82025014841742aa1df77d051d6554d5af3546c6b37223086f/supabase_functions-0.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-03 02:42:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "supabase-community",
"github_project": "functions-py",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "supabase_functions"
}