Skip to main content

Pluggable workspace management for Python web applications

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

workspaceflow-0.1.0.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

workspaceflow-0.1.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file workspaceflow-0.1.0.tar.gz.

File metadata

  • Download URL: workspaceflow-0.1.0.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for workspaceflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 668c1a34ed8fd1f8a799cfb3b8e6366ede4169350e49e0130516884a9f0fc1c9
MD5 90d460e0fc6dd2f2fdecdf4403871c71
BLAKE2b-256 4fcfc70bd1aae8311f91e7290e97df0605ef9923ad7f1776c7f7fef97fbe8cd9

See more details on using hashes here.

File details

Details for the file workspaceflow-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: workspaceflow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for workspaceflow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d10460216d742b8fa184a7a8026b9f05396b4b46f6058324d187c5c45375f82
MD5 e1b7ffc9f271c2d22ce546893b1f2a19
BLAKE2b-256 207af9e57b5d45b646d25fd64457a453a13fa6f46b4ca739b245678b514b3471

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page