supabase-py API reference
62 public APIs from supabase-py (supabase/supabase-py) — 27 classes, 1 functions, 34 methods. Signatures extracted by static analysis of the actual source.
Repository: supabase/supabase-py
| Kind | Count |
|---|---|
| Classes | 27 |
| Functions | 1 |
| Methods | 34 |
API list
method
src.auth.src.supabase_auth._async.gotrue_mfa_api.AsyncGoTrueMFAAPI.unenroll(params:MFAUnenrollParams) -> AuthMFAUnenrollResponseUnenroll removes a MFA factor.
method
src.auth.src.supabase_auth._sync.gotrue_mfa_api.SyncGoTrueMFAAPI.unenroll(params:MFAUnenrollParams) -> AuthMFAUnenrollResponseUnenroll removes a MFA factor.
func
src.auth.src.supabase_auth.helpers.generate_pkce_challenge(code_verifier) -> strGenerate a code challenge from a PKCE verifier.
class
src.auth.src.supabase_auth.types.AMREntryAn authentication methord reference (AMR) entry.
class
src.auth.src.supabase_auth.types.CreateOAuthClientParamsParameters for creating a new OAuth client.
class
src.auth.src.supabase_auth.types.FactorA MFA factor.
class
src.auth.src.supabase_auth.types.GenerateLinkPropertiesThe properties related to the email link generated.
class
src.auth.src.supabase_auth.types.OAuthClientOAuth client object returned from the OAuth 2.1 server.
class
src.auth.src.supabase_auth.types.OAuthClientListResponseResponse type for listing OAuth clients.
class
src.auth.src.supabase_auth.types.OAuthClientResponseResponse type for OAuth client operations.
class
src.auth.src.supabase_auth.types.PageParamsPagination parameters.
class
src.auth.src.supabase_auth.types.PaginationPagination information for list responses.
class
src.auth.src.supabase_auth.types.UpdateOAuthClientParamsParameters for updating an existing OAuth client.
class
src.functions.src.supabase_functions.errors.FunctionsRelayErrorBase exception for relay errors.
class
src.postgrest.src.postgrest._async.client.AsyncPostgrestClientPostgREST client.
method
src.postgrest.src.postgrest._async.client.AsyncPostgrestClient.aclose() -> NoneClose the underlying HTTP connections.
method
src.postgrest.src.postgrest._async.client.AsyncPostgrestClient.from_(table:str) -> AsyncRequestBuilderPerform a table operation.
method
src.postgrest.src.postgrest._async.client.AsyncPostgrestClient.from_table(table:str) -> AsyncRequestBuilderAlias to :meth:`from_`.
method
src.postgrest.src.postgrest._async.client.AsyncPostgrestClient.schema(schema:str) -> AsyncPostgrestClientSwitch to another schema.
method
src.postgrest.src.postgrest._async.client.AsyncPostgrestClient.table(table:str) -> AsyncRequestBuilderAlias to :meth:`from_`.
class
src.postgrest.src.postgrest._sync.client.SyncPostgrestClientPostgREST client.
method
src.postgrest.src.postgrest._sync.client.SyncPostgrestClient.aclose() -> NoneClose the underlying HTTP connections.
method
src.postgrest.src.postgrest._sync.client.SyncPostgrestClient.from_(table:str) -> SyncRequestBuilderPerform a table operation.
method
src.postgrest.src.postgrest._sync.client.SyncPostgrestClient.from_table(table:str) -> SyncRequestBuilderAlias to :meth:`from_`.
method
src.postgrest.src.postgrest._sync.client.SyncPostgrestClient.rpc(func:str, params:dict[str, str], count:Optional[CountMethod]=None, head:bool=False, get:bool=False) -> SyncRPCFilterRequestBuilderPerform a stored procedure call.
method
src.postgrest.src.postgrest._sync.client.SyncPostgrestClient.schema(schema:str) -> SyncPostgrestClientSwitch to another schema.
method
src.postgrest.src.postgrest._sync.client.SyncPostgrestClient.table(table:str) -> SyncRequestBuilderAlias to :meth:`from_`.
class
src.postgrest.src.postgrest.base_client.BasePostgrestClientBase PostgREST client.
class
src.postgrest.src.postgrest.exceptions.APIErrorBase exception for all API errors.
method
src.postgrest.src.postgrest.exceptions.APIError.json() -> Dict[str, str]Convert the error into a dictionary.
class
src.realtime.src.realtime.message.MessageDataclass abstraction for message
class
src.storage.src.storage3._async.client.AsyncStorageClientManage storage buckets and files.
method
src.storage.src.storage3._async.client.AsyncStorageClient.from_(id:str) -> AsyncBucketProxyRun a storage file operation.
class
src.storage.src.storage3._async.file_api.AsyncBucketRepresents a storage bucket.
class
src.storage.src.storage3._async.file_api.AsyncBucketActionsMixinFunctions needed to access the file API.
method
src.storage.src.storage3._async.file_api.AsyncBucketActionsMixin.create_signed_upload_url(path:str, options:Optional[CreateSignedUploadUrlOptions]=None) -> SignedUploadURLCreates a signed upload URL.
method
src.storage.src.storage3._async.file_api.AsyncBucketActionsMixin.download(path:str, options:Optional[DownloadOptions]=None, query_params:Optional[Dict[str, str]]=None) -> bytesDownloads a file.
method
src.storage.src.storage3._async.file_api.AsyncBucketActionsMixin.exists(path:str) -> boolReturns True if the file exists, False otherwise.
method
src.storage.src.storage3._async.file_api.AsyncBucketActionsMixin.info(path:str) -> dict[str, Any]Lists info for a particular file.
method
src.storage.src.storage3._async.file_api.AsyncBucketActionsMixin.list(path:Optional[str]=None, options:Optional[ListBucketFilesOptions]=None) -> list[dict[str, Any]]Lists all the files within a bucket.
class
src.storage.src.storage3._sync.client.SyncStorageClientManage storage buckets and files.
method
src.storage.src.storage3._sync.client.SyncStorageClient.from_(id:str) -> SyncBucketProxyRun a storage file operation.
class
src.storage.src.storage3._sync.file_api.SyncBucketRepresents a storage bucket.
class
src.storage.src.storage3._sync.file_api.SyncBucketActionsMixinFunctions needed to access the file API.
method
src.storage.src.storage3._sync.file_api.SyncBucketActionsMixin.create_signed_upload_url(path:str, options:Optional[CreateSignedUploadUrlOptions]=None) -> SignedUploadURLCreates a signed upload URL.
method
src.storage.src.storage3._sync.file_api.SyncBucketActionsMixin.download(path:str, options:Optional[DownloadOptions]=None, query_params:Optional[Dict[str, str]]=None) -> bytesDownloads a file.
method
src.storage.src.storage3._sync.file_api.SyncBucketActionsMixin.exists(path:str) -> boolReturns True if the file exists, False otherwise.
method
src.storage.src.storage3._sync.file_api.SyncBucketActionsMixin.info(path:str) -> dict[str, Any]Lists info for a particular file.
method
src.storage.src.storage3._sync.file_api.SyncBucketActionsMixin.list(path:Optional[str]=None, options:Optional[ListBucketFilesOptions]=None) -> list[dict[str, Any]]Lists all the files within a bucket.
class
src.storage.src.storage3.types.BaseBucketRepresents a file storage bucket.
class
src.storage.src.storage3.utils.StorageExceptionError raised when an operation on the storage API fails.
class
src.supabase.src.supabase._async.client.AsyncClientSupabase client class.
method
src.supabase.src.supabase._async.client.AsyncClient.from_(table_name:str) -> AsyncRequestBuilderPerform a table operation.
method
src.supabase.src.supabase._async.client.AsyncClient.get_channels() -> List[AsyncRealtimeChannel]Returns all realtime channels.
method
src.supabase.src.supabase._async.client.AsyncClient.table(table_name:str) -> AsyncRequestBuilderPerform a table operation.
class
src.supabase.src.supabase._sync.auth_client.SyncSupabaseAuthClientSupabase Auth Client for synchronous operations.
class
src.supabase.src.supabase._sync.client.ClientSupabase client class.
method
src.supabase.src.supabase._sync.client.Client.from_(table_name:str) -> SyncRequestBuilderPerform a table operation.
method
src.supabase.src.supabase._sync.client.Client.get_channels() -> List[SyncRealtimeChannel]Returns all realtime channels.
method
src.supabase.src.supabase._sync.client.Client.rpc(fn:str, params:Optional[Dict[Any, Any]]=None, count:Optional[CountMethod]=None, head:bool=False, get:bool=False) -> SyncRPCFilterRequestBuilderPerforms a stored procedure call.
method
src.supabase.src.supabase._sync.client.Client.schema(schema:str) -> SyncPostgrestClientSelect a schema to query or perform an function (rpc) call.
method
src.supabase.src.supabase._sync.client.Client.table(table_name:str) -> SyncRequestBuilderPerform a table operation.
About this data
These signatures were extracted from the public source of supabase/supabase-py
using Python's ast module. Argument names, default values,
type annotations and return types are taken verbatim from the code.
Implementation bodies are never stored. See
how it works for details.