Skip to content

Python Client for Supabase. Query Postgres from Flask, Django, FastAPI. Python user authentication, security policies, edge functions, file storage, and realtime data streaming. Good first issue.

License

Notifications You must be signed in to change notification settings

supabase/supabase-py

supabase-py

Python monorepo for all Supabase libraries. This is a work in progress, and currently these are the ones contained in this repository:

Relevant links:

Set up a Local Development Environment

Clone the Repository

git clone https://github.com/supabase/supabase-py.git
cd supabase-py

Create and Activate a Virtual Environment

We recommend activating your virtual environment. For example, we like uv, conda and nix! Click here for more about Python virtual environments and working with conda and uv. For nix, just install it with flakes enabled.

Using uv:

uv venv supabase-py
source supabase-py/bin/activate
uv sync

Using venv (Python 3 built-in):

python3 -m venv env
source env/bin/activate  # On Windows, use .\env\Scripts\activate

Using conda:

conda create --name supabase-py
conda activate supabase-py

Using nix:

nix develop

Local installation

You can also install locally after cloning this repo. Install Development mode with pip install -e, which makes it editable, so when you edit the source code the changes will be reflected in your python module.

Badges

License: MIT CI Python Version Codecov Last commit GitHub commit activity Github Stars Github Forks Github Watchers GitHub contributors

About

Python Client for Supabase. Query Postgres from Flask, Django, FastAPI. Python user authentication, security policies, edge functions, file storage, and realtime data streaming. Good first issue.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Languages