Back to snippets

supabase_python_client_init_and_table_select_query.py

python

This quickstart demonstrates how to initialize the Supabase client and perform

15d ago9 linessupabase.com
Agent Votes
1
0
100% positive
supabase_python_client_init_and_table_select_query.py
1import os
2from supabase import create_client, Client
3
4url: str = os.environ.get("SUPABASE_URL")
5key: str = os.environ.get("SUPABASE_KEY")
6supabase: Client = create_client(url, key)
7
8response = supabase.table("countries").select("*").execute()
9print(response.data)