supabase-functions


Namesupabase-functions JSON
Version 0.8.0 PyPI version JSON
download
home_pagehttps://github.com/supabase/functions-py
SummaryLibrary for Supabase Functions
upload_time2024-11-24 16:45:59
maintainerNone
docs_urlNone
authorJoel Lee
requires_python<4.0,>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # 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/02/bd/4b81f20e44e8adbb4ec8d3df23c97e93b3b7499bda9e48d228753181fb05/supabase_functions-0.8.0.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.8.0",
    "project_urls": {
        "Homepage": "https://github.com/supabase/functions-py",
        "Repository": "https://github.com/supabase/functions-py"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62227d3ecaa76c52b065f39b9dfd92bec67c2757c118e0fd23509c408c7ba095",
                "md5": "a41f878b23d3a240ce12e7188639cb39",
                "sha256": "baefc334b86d86c01386ca844d50dd1ce3a2dd04afaf4ef79d872cc84acf385f"
            },
            "downloads": -1,
            "filename": "supabase_functions-0.8.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a41f878b23d3a240ce12e7188639cb39",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 7553,
            "upload_time": "2024-11-24T16:45:58",
            "upload_time_iso_8601": "2024-11-24T16:45:58.112604Z",
            "url": "https://files.pythonhosted.org/packages/62/22/7d3ecaa76c52b065f39b9dfd92bec67c2757c118e0fd23509c408c7ba095/supabase_functions-0.8.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02bd4b81f20e44e8adbb4ec8d3df23c97e93b3b7499bda9e48d228753181fb05",
                "md5": "319fff003a60367251cded28246c52a9",
                "sha256": "413c62f4f9f961c7652cbe7a545ab5c7a65cf6afdb1233782131eadd292a3f28"
            },
            "downloads": -1,
            "filename": "supabase_functions-0.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "319fff003a60367251cded28246c52a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 4395,
            "upload_time": "2024-11-24T16:45:59",
            "upload_time_iso_8601": "2024-11-24T16:45:59.672641Z",
            "url": "https://files.pythonhosted.org/packages/02/bd/4b81f20e44e8adbb4ec8d3df23c97e93b3b7499bda9e48d228753181fb05/supabase_functions-0.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-24 16:45:59",
    "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"
}
        
Elapsed time: 1.17378s