https://github.com/supabase/functions-py
https://github.com/supabase/functions-py
hacktoberfest hacktoberfest2022
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/supabase/functions-py
- Owner: supabase
- License: mit
- Created: 2022-03-31T14:27:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-18T07:04:20.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T14:38:57.525Z (almost 2 years ago)
- Topics: hacktoberfest, hacktoberfest2022
- Language: Python
- Homepage:
- Size: 247 KB
- Stars: 12
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 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://.functions.supabase.co", {})
res = await fc.invoke("payment-sheet", {"responseType": "json"})
if __name__ == "__main__":
asyncio.run(run_func())
```