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.30.5 |
| 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.
Metadata
Release files for stapel-workspaces 0.30.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stapel_workspaces-0.30.5.tar.gz | 307.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stapel_workspaces-0.30.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 516.8 kB
Release files / stapel_workspaces-0.30.5.tar.gz
| Download URL | stapel_workspaces-0.30.5.tar.gz |
|---|---|
| Size | 307.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b2040ac195a0f29e95f8eed84dd2ccb942a4fe190355663c142e5814dd5e5ee
|
|
BLAKE2b-256 checksum How to use checksums |
100983b981f4215c81fc78b96a4a158af2452e2a74a1b907aaac8f81af26d5ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / stapel_workspaces-0.30.5-py3-none-any.whl
| Download URL | stapel_workspaces-0.30.5-py3-none-any.whl |
|---|---|
| Size | 209.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77e7033ff1a7e03141edb22b7d16cebe51721287fcdc3ac8abb50ae73dbe1cdc
|
|
BLAKE2b-256 checksum How to use checksums |
5055a2fa26e77ea5ab18997043a000e7cdd4375dfd7d6448023183371a16b83b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency log