Skip to content
项目

supabase/supabase-py has 2,639 GitHub stars and 614 forks. GitHot measured +1 stars in 24 hours, +4 in 7 days, and +6 in 15 days. Last checked 2026-11-23 14:13 UTC. Last push 2026-11-18.

这些数字如何统计

实测星标增长

24小时
+1
7天
+4
15天
+6
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

Supabase 的 Python 客户端。可从 Flask、Django 和 FastAPI 查询 Postgres,并支持 Python 用户认证、安全策略、边缘函数、文件存储和实时数据流传输。

机器学习

README.md

原文

supabase-py

CI Version Coverage Status

Python monorepo for all Supabase libraries.

Relevant links:

Supabase Service Compatibility

supabase-py only guarantees compatibility with the latest release of each Supabase service, unless a minimum supported version is explicitly listed below.

Older service releases are supported on a best-effort basis, but compatibility is not guaranteed.

If you self-host Supabase, we recommend upgrading your services to their latest releases when upgrading the SDK.

Service SDK package Server releases Lowest supported version
Auth supabase_auth supabase/auth Latest release
Storage storage3 supabase/storage Latest release
Functions supabase_functions supabase/edge-runtime Latest release
PostgREST postgrest PostgREST/postgrest Latest release
Realtime realtime supabase/realtime Latest release

Local Development

Clone the Repository

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

Dependencies

This repository relies on the following dependencies for development:

  • uv for python project management.
  • make for running project commands.
  • docker for both postgrest and auth test containers.
  • supabase-cli for both storage and realtime test containers.

All of these dependencies are included in the nix shell environment, through flake.nix. If you've got nix installed, you may prefer to use it through nix develop.

Use a Virtual Environment

We recommend using a virtual environment, preferably through uv, given it is currently the only tool that understands the workspace setup (you can read more about it in the uv docs).

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

If you're using nix, the generated python executable should have the correct dependencies installed for the whole workspace, given it is derived from the root's pyproject.toml using uv2nix.

Running tests and other commands

We use make to store and run the relevant commands. The structure is set up such that each sub package can individually set its command in its own Makefile, and the job of the main Makefile is just coordinate calling each of them.

For instance, in order to run all tests of all packages, you should use the following root command

make ci

Which internally dispatches make -C src/{package} tests calls to each package in the monorepo.

You should also consider using

make ci -jN # where N is the number of max concurrent jobs, or just -j for infinite jobs

To run each of the packages' tests in parallel. This should be generally faster than running in 1 job, but has the downside of messing up the CLI output, so parsing error messages might not be easy.

Other relevant commands include

make install-hooks # install all commit hooks into the local .git folder
make stop-infra    # stops all running containers from all packages
make clean         # delete all intermediary files created by testing

All the subpackages command are available from the main root by prefixing the command with {package_name}.. Examples:

make realtime.tests # run only realtime tests
make storage.clean  # delete temporary files only in the storage package

探索相关项目

加载中…