stapel-workspaces
Team workspaces and tenancy: personal and work workspaces with a role/capability mandate model (builtin owner/admin/member/viewer plus product roles declared in settings, namespaced capability strings with wildcard grants), email invitations with single-use tokens (public preview / decline / claim flow: an unregistered invitee gets a verified account via auth's login-grant seam), last-owner protection, per-workspace settings and storage quotas, member lifecycle events for business services (kick, role change), a billing entitlement seam that fails closed (an unreachable billing answers 503, not an unlimited plan, unless the deployment declares ALLOW_UNBILLED), plus internal service-to-service membership and capability checks — the foundational scope other modules attach their workspace_id to.
Part of the Stapel framework — composable Django apps that deploy as a monolith or as microservices without changing module code.
Install
pip install stapel-workspaces
At a glance
| Fact | Value |
|---|---|
| Version | 0.28.1 |
| Python | >=3.11 (3.11, 3.12, 3.13, 3.14) |
| HTTP operations | 27 |
| Config axes | 1 |
| Usage surface | 60 |
| Extension points | 5 |
| Error codes | 74 |
| Fleet dependencies | stapel-auth (optional) · stapel-billing (optional) · stapel-core · stapel-notifications (optional) · stapel-profiles (optional) |
Documentation
Errors: English · Español · Русский · OpenAPI · capabilities.json · llms.txt (for agents)
Quick start
# settings.py
INSTALLED_APPS = [
...
'stapel_workspaces',
]
Bus events
Emits
| workspace.created | schema | |
| workspace.member_joined | schema | |
Consumes
| user.deleted | schema |
| user.deletion_initiated | schema |
License
MIT — see LICENSE.
This page is assembled by stapel-readme from docs/readme.md plus the contract artifacts in docs/. Edit the prose in docs/readme.md; the badges, facts and links above and below it are generated — do not hand-edit README.md.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stapel_workspaces-0.28.1.tar.gz.
File metadata
- Download URL: stapel_workspaces-0.28.1.tar.gz
- Upload date:
- Size: 289.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46992bb9bf2168e6579c4fae8a28ca28fa5bb63c4211edaed427998aa629d749
|
|
| MD5 |
7bcb68cfede50bbc68d31e9ec6764ecf
|
|
| BLAKE2b-256 |
d84bab38831125e12e599072d056ce262021cdc4ecdec376ce1a3a9773b8740b
|
Provenance
The following attestation bundles were made for stapel_workspaces-0.28.1.tar.gz:
Publisher:
publish.yml on usestapel/stapel-workspaces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stapel_workspaces-0.28.1.tar.gz -
Subject digest:
46992bb9bf2168e6579c4fae8a28ca28fa5bb63c4211edaed427998aa629d749 - Sigstore transparency entry: 2499738143
- Sigstore integration time:
-
Permalink:
usestapel/stapel-workspaces@2d880461ae4182f6972b85a928e5e77278d6103e -
Branch / Tag:
refs/tags/v0.28.1 - Owner: https://github.com/usestapel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2d880461ae4182f6972b85a928e5e77278d6103e -
Trigger Event:
push
-
Statement type:
File details
Details for the file stapel_workspaces-0.28.1-py3-none-any.whl.
File metadata
- Download URL: stapel_workspaces-0.28.1-py3-none-any.whl
- Upload date:
- Size: 198.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2db4ea15080ae260b1d33caa80ff85d21c25a9e209b4faf9bb02eea0a68009e5
|
|
| MD5 |
c65256b3ee25294de6c586dd9e8003b4
|
|
| BLAKE2b-256 |
74c2bc2b9e22557b3552904fb9e60bdfa2fd70ab00e88d25bc0ced0d9af2edd5
|
Provenance
The following attestation bundles were made for stapel_workspaces-0.28.1-py3-none-any.whl:
Publisher:
publish.yml on usestapel/stapel-workspaces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stapel_workspaces-0.28.1-py3-none-any.whl -
Subject digest:
2db4ea15080ae260b1d33caa80ff85d21c25a9e209b4faf9bb02eea0a68009e5 - Sigstore transparency entry: 2499738156
- Sigstore integration time:
-
Permalink:
usestapel/stapel-workspaces@2d880461ae4182f6972b85a928e5e77278d6103e -
Branch / Tag:
refs/tags/v0.28.1 - Owner: https://github.com/usestapel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2d880461ae4182f6972b85a928e5e77278d6103e -
Trigger Event:
push
-
Statement type: