Questions tagged [supabase-py]

Supabase is a collection of open source tools to build modern applications quickly and efficiently. It uses the PostgreSQL database to power its authentication, database, and storage features. Use this tag when you are having problems, and not to ask for new features.

Supabase is a combination of open source tools. It builds the features of Firebase using enterprise-grade, open source products. Supabase is not a 1-to-1 mapping of Firebase. Its aim is to give developers a Firebase-like developer experience using open source tools.

Supabase has an official JavaScript library as well as community built Dart, Rust, Kotlin, C# and Python libraries.

Supabase is composed of four components

  • Database
  • Authentication
  • Storage
  • Functions
10 questions
1
vote
1 answer

How to upload file to supabase storage with python api?

I am working with a project which needs to use python to store the png file into supabase storage. But I do not know how to do that. Can anyone please help me? I actually got a bucket in my storage. But when i use fllowing code to print buckets, it…
0
votes
1 answer

Is this a Python Rich's feature or a bug?

I'm making an app in Python using Supabase and Rich. Everytime I make a request to the Supabase API, Rich will print some kind of log, and I don't know if this is a feature that I can disable or a bug. I've tried uninstalling Rich and Supabase does…
Sylph1de
  • 1
  • 2
0
votes
0 answers

Supabase policy for only one column

I have a table with articles and there is column "likes" and I need to allow to anyone (public) to INSERT into this column only "likes". How can I write SQL code for this policy that allow users to insert only into specific column? Is it possible?
0
votes
0 answers

ModuleNotFoundError: No module named 'supabase' after having pip installed

I'm getting a: ModuleNotFoundError: No module named 'supabase' error despite having pip install supabase. Also tried with supabase-py but didn't change anything Using venv and bot packages appear when running pip -list. Any ideas on what could be…
byder
  • 1
0
votes
0 answers

Supabase python API: Updating multiple rows

So, I have a database and I would like to update multiple rows in one query using the python API for supabase supabase = create_client(api_url,api_key) So in the command below: I have db the name of my database in Supabase, product_data_update a…
Nivek
  • 1
  • 1
0
votes
0 answers

update user authentication details in supabase

I try to update user authenticate details in supabase using flask. supabase_client.auth.update_user({"id": email,"password": new_password }) this is the am using to update the password in user authentication. First I request the password from user…
0
votes
1 answer

Supabase Postgres API Triggered Function Returns NULL result for Subqueries

I have created a trigger on a table. When the trigger is activated, the trigger will call a process to pull down JSON data from Salesforce. Salesforce periodically expires their API key and I have to pull in a new API key during the callout. The…
0
votes
2 answers

How do I get Supabase database types?

I'm coming from Firebase I'm trying to get the types for database. For example, I'm used to get the type for timestamp like this: import type { Timestamp } from 'firebase/firestore'; export type User = { //.. createdAt: Timestamp; …
Mintee
  • 505
  • 4
  • 22
0
votes
2 answers

End Point API, FastAPI and supabase, sign_in & sign_out user

I'm facing a problem with my backend app, I want to create 3 endpoint API: /login user /logout /getuser I'm using python FastAPI and supabase, the question is how to create session from my backend app to get connected user information to handle th…
0
votes
1 answer

httpx.ReadTimeout on Range filter on Supabase-py

I have 375000 items in my table. I am doing a loop to obtain all id of all items, with API limit set to 20000 items per api call. After 200000 I always start to get httpx.ReadTimeout: The read operation timed out sometime it may reach 240000 but…
excitedmicrobe
  • 2,338
  • 1
  • 14
  • 30