supafunc


Namesupafunc 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:46:36
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 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/e8/03/0ef4465f7bb3793390d526c469c384b62d30f33e48bde2d0a95a72e93e46/supafunc-0.8.0.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.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": "14f90bb926c02e144360d75211899d9bc769f18b809f3c0912a79e6ac63e690b",
                "md5": "e156f08a971b7b812149055bd7bdcef4",
                "sha256": "00b6b35fdb039330d67e646fbc3e5e51f84983ccd01e514c1ee846c85d96548d"
            },
            "downloads": -1,
            "filename": "supafunc-0.8.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e156f08a971b7b812149055bd7bdcef4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 7304,
            "upload_time": "2024-11-24T16:46:34",
            "upload_time_iso_8601": "2024-11-24T16:46:34.845489Z",
            "url": "https://files.pythonhosted.org/packages/14/f9/0bb926c02e144360d75211899d9bc769f18b809f3c0912a79e6ac63e690b/supafunc-0.8.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e8030ef4465f7bb3793390d526c469c384b62d30f33e48bde2d0a95a72e93e46",
                "md5": "2de7bbf25f2fdfd6fc9bf6d209ac06fb",
                "sha256": "9e57d605ccb739ace5e801e1172fb83d15179d0cbe9859298e4bb6704be32aae"
            },
            "downloads": -1,
            "filename": "supafunc-0.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2de7bbf25f2fdfd6fc9bf6d209ac06fb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 4390,
            "upload_time": "2024-11-24T16:46:36",
            "upload_time_iso_8601": "2024-11-24T16:46:36.646488Z",
            "url": "https://files.pythonhosted.org/packages/e8/03/0ef4465f7bb3793390d526c469c384b62d30f33e48bde2d0a95a72e93e46/supafunc-0.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-24 16:46:36",
    "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"
}
        
Elapsed time: 1.02210s