{"id":13368155,"url":"https://github.com/supabase/supabase-py","last_synced_at":"2026-01-17T16:28:27.237Z","repository":{"id":37081027,"uuid":"290969078","full_name":"supabase/supabase-py","owner":"supabase","description":"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.","archived":false,"fork":false,"pushed_at":"2026-01-13T07:04:54.000Z","size":3381,"stargazers_count":2410,"open_issues_count":15,"forks_count":421,"subscribers_count":56,"default_branch":"main","last_synced_at":"2026-01-13T10:26:17.526Z","etag":null,"topics":["auth","authentication","authorization","community","data-science","databases","django","fastapi","flask","good-first-issue","machine-learning","postgres","postgresql","python","supabase"],"latest_commit_sha":null,"homepage":"https://supabase.com/docs/reference/python","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/supabase.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS.md","copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["supabase"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-08-28T06:29:30.000Z","updated_at":"2026-01-13T07:03:21.000Z","dependencies_parsed_at":"2024-02-28T02:40:28.263Z","dependency_job_id":"1485be24-0256-446d-ac8b-423fcf5c00bb","html_url":"https://github.com/supabase/supabase-py","commit_stats":{"total_commits":747,"total_committers":78,"mean_commits":9.576923076923077,"dds":0.6680053547523427,"last_synced_commit":"6fed6d64a17ce857f00164eb2a22bd7766663d1c"},"previous_names":["supabase/supabase-py"],"tags_count":103,"template":false,"template_full_name":null,"purl":"pkg:github/supabase/supabase-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fsupabase-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fsupabase-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fsupabase-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fsupabase-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase","download_url":"https://codeload.github.com/supabase/supabase-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fsupabase-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth","authentication","authorization","community","data-science","databases","django","fastapi","flask","good-first-issue","machine-learning","postgres","postgresql","python","supabase"],"created_at":"2024-07-30T01:00:52.750Z","updated_at":"2026-01-17T16:28:27.227Z","avatar_url":"https://github.com/supabase.png","language":"Python","funding_links":["https://github.com/sponsors/supabase"],"categories":["Python","SDKs","HarmonyOS","data-science"],"sub_categories":["Windows Manager"],"readme":"# `supabase-py`\n\n[![CI](https://github.com/supabase/supabase-py/actions/workflows/ci.yml/badge.svg)](https://github.com/supabase/supabase-py/actions/workflows/ci.yml)\n[![Version](https://img.shields.io/pypi/v/supabase?color=%2334D058)](https://pypi.org/project/supabase)\n[![Coverage Status](https://coveralls.io/repos/github/supabase/supabase-py/badge.svg?branch=main)](https://coveralls.io/github/supabase/supabase-py?branch=main)\n\nPython monorepo for all [Supabase](https://supabase.com) libraries.\n\n- [supabase](src/supabase/README.md)\n- [realtime-py](src/realtime/README.md)\n- [supabase_functions](src/functions/README.md)\n- [storage3](src/storage/README.md)\n- [postgrest](src/postgrest/README.md)\n- [supabase_auth](src/auth/README.md)\n\nRelevant links:\n\n- Documentation: [supabase.com/docs](https://supabase.com/docs/reference/python/introduction)\n- Usage:\n  - [GitHub OAuth in your Python Flask app](https://supabase.com/blog/oauth2-login-python-flask-apps)\n  - [Python data loading with Supabase](https://supabase.com/blog/loading-data-supabase-python)\n\n## Local Development\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/supabase/supabase-py.git\ncd supabase-py\n```\n\n### Dependencies\n\nThis repository relies on the following dependencies for development: \n- `uv` for python project management.\n- `make` for running project commands.\n- `docker` for both `postgrest` and `auth` test containers.\n- `supabase-cli` for both `storage` and `realtime` test containers.\n\nAll 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`.\n\n### Use a Virtual Environment\n\nWe 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](https://docs.astral.sh/uv/concepts/projects/workspaces/)).\n\n```\nuv venv supabase-py\nsource supabase-py/bin/activate\nuv sync\n```\n\nIf 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](https://github.com/pyproject-nix/uv2nix).\n\n### Running tests and other commands\n\nWe 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.\n\nFor instance, in order to run all tests of all packages, you should use the following root command\n```bash\nmake ci\n```\nWhich internally dispatches `make -C src/{package} tests` calls to each package in the monorepo.\n\nYou should also consider using\n```bash\nmake ci -jN # where N is the number of max concurrent jobs, or just -j for infinite jobs\n```\nTo 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.\n\nOther relevant commands include\n```bash\nmake install-hooks # install all commit hooks into the local .git folder\nmake stop-infra    # stops all running containers from all packages\nmake clean         # delete all intermediary files created by testing\n```\nAll the subpackages command are available from the main root by prefixing the command with `{package_name}.`. Examples:\n```bash\nmake realtime.tests # run only realtime tests\nmake storage.clean  # delete temporary files only in the storage package\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fsupabase-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase%2Fsupabase-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fsupabase-py/lists"}