stack/sdks/implementations/python
Ejiro Asiuwhu 3094338b42 test: add failing tests for team CRUD methods
- Tests for get_team, list_teams, create_team, update_team, delete_team
- Tests for get_team_by_api_key two-step lookup
- Async equivalents for all team CRUD operations
- Uses respx mocking pattern consistent with existing user tests
2026-03-25 01:22:09 +01:00
..
src/stack_auth feat: add session management methods to StackServerApp and AsyncStackServerApp 2026-03-25 01:11:22 +01:00
tests test: add failing tests for team CRUD methods 2026-03-25 01:22:09 +01:00
pyproject.toml test: add failing tests for python sdk error hierarchy and base model 2026-03-24 22:17:03 +01:00
README.md test: add failing tests for python sdk error hierarchy and base model 2026-03-24 22:17:03 +01:00

Stack Auth Python SDK

Python SDK for Stack Auth - authentication, user management, and team management for your Python backend.

Installation

pip install stack-auth

Quick Start

from stack_auth import StackServerApp

app = StackServerApp(
    project_id="your-project-id",
    secret_server_key="your-secret-key",
)

# Verify a request's access token
user = await app.authenticate_request(request)

Requirements

  • Python 3.10+