Skip to main content

WorkspaceFlow - Python Backend

Pluggable workspace/project management for Python web applications with team-based access control and data isolation.

Features

  • ✅ Workspace/Project Management - Create and manage projects within organizations
  • ✅ Team-Based Access Control - Assign teams to workspaces for granular access
  • ✅ Data Isolation - Automatic workspace-scoped data filtering with WorkspaceScopedMixin
  • ✅ AuthFlow Integration - Seamless integration with authflow for authentication
  • ✅ FastAPI Ready - One-line setup with FastAPI applications
  • ✅ Type Safe - Full type hints with SQLAlchemy 2.0 and Pydantic v2

Installation

pip install workspaceflow

Quick Start

from fastapi import FastAPI
from authflow import setup_auth
from workspaceflow import setup_workspaces

app = FastAPI()

# 1. Setup authentication
authflow = setup_auth(app, preset="multi_tenant")

# 2. Setup workspace management
setup_workspaces(app, authflow=authflow)

Documentation

See examples/fastapi_basic for a complete working example.

License

MIT

Metadata

Release files for workspaceflow 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for workspaceflow 0.1.0
File Size Uploaded
workspaceflow-0.1.0.tar.gz 26.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for workspaceflow 0.1.0
File Interpreter ABI Platform
workspaceflow-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.5 kB

Release files / workspaceflow-0.1.0.tar.gz

Download URL workspaceflow-0.1.0.tar.gz
Size 26.5 kB
Tags Source
SHA-256 checksum
How to use checksums
668c1a34ed8fd1f8a799cfb3b8e6366ede4169350e49e0130516884a9f0fc1c9
BLAKE2b-256 checksum
How to use checksums
4fcfc70bd1aae8311f91e7290e97df0605ef9923ad7f1776c7f7fef97fbe8cd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / workspaceflow-0.1.0-py3-none-any.whl

Download URL workspaceflow-0.1.0-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d10460216d742b8fa184a7a8026b9f05396b4b46f6058324d187c5c45375f82
BLAKE2b-256 checksum
How to use checksums
207af9e57b5d45b646d25fd64457a453a13fa6f46b4ca739b245678b514b3471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page