supabase-auth
Python Client Library for Supabase Auth
Install
supabase-auth on PyPI
pip
pip install supabase-authuv
uv add supabase-authpoetry
poetry add supabase-authPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — httpx, pydantic, pyjwt |
| Maintenance | actively maintained — 70 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: supabase_auth-2.31.0-py3-none-any.whl
About supabase-auth
from the package's own PyPI description — quoted content, verbatim
Auth-py
CI (image) Python (image) Version (image)
This is a Python port of the supabase js gotrue client. The current state is that there is a features parity but with small differences that are mentioned in the section Differences to the JS client. As of December 14th, we renamed to repo from gotrue-py to auth-py to mirror the changes in the JavaScript library.
Installation
The package can be installed using pip, uv or poetry:
Pip
pip install supabase_auth
Uv
uv add supabase_auth
Poetry
poetry add supabase_auth
Features
- Full feature parity with the JavaScript client
- Support for both synchronous and asynchronous operations
- MFA (Multi-Factor Authentication) support
- OAuth and SSO integration
- Magic link and OTP authentication
- Phone number...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
A Python client for Supabase authentication that handles user sign-up, sign-in, OAuth, MFA, and session management via both synchronous and asynchronous interfaces.
Low friction install with three lightweight runtime dependencies (httpx, pydantic, pyjwt). Active maintenance with recent releases and 2557 repository stars indicate solid community backing.
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.
Usage
pip install supabase-auth
from supabase_auth import SyncGoTrueClient
headers = {"apiKey": "your-api-key"}
client = SyncGoTrueClient(url="https://your-auth-url.com", headers=headers)
user = client.sign_in_with_password(email="user@example.com", password="password")
Requires Python 3.9 or later and a valid Supabase Auth endpoint URL with API key.
Verdict: Well-maintained authentication library with feature parity to the JavaScript client, low install friction, and no known vulnerabilities. Suitable for projects needing Supabase-backed auth with sync/async flexibility and MFA support.
Needs verification
- Whether the library's error-raising approach (raising exceptions rather than returning error objects) aligns with your application's error handling patterns.
- Performance characteristics and rate-limiting behavior when used at scale with high-frequency authentication requests.
Similar packages
permissive · top 1,000 on PyPI
storage3permissive · top 1,000 on PyPI
watchdogpermissive · top 1,000 on PyPI
simple-salesforcepermissive · top 1,000 on PyPI
validatorspermissive · top 1,000 on PyPI
supabase-functionspermissive · top 1,000 on PyPI
supabasepermissive · top 1,000 on PyPI
Authlibpermissive · top 1,000 on PyPI
isodatepermissive · top 1,000 on PyPI
daffpermissive · top 1,000 on PyPI