fastapi-workbench
Generic Posit Workbench / RStudio Server deployment adapter for FastAPI and other Starlette-compatible ASGI applications.
Installing or importing this package does not wrap your application.
RS_SERVER_URL is discovery-only and never grants trust.
Package maturity: Beta independent 1.x · requirement >=1.0.2,<2.0
The package supports Python 3.10–3.14. The commands below use Python 3.11 as the standard Workbench spelling.
Supported Workbench floor is 2025.05.1; current verified lane is 2026.07.0.
Install
python3.11 -m venv .venv
source .venv/bin/activate
python3.11 -m pip install "fastapi-workbench>=1.0.2,<2.0"
Quick start
fastapi-workbench run myapp.main:app
fastapi-workbench check myapp.main:app --discover
fastapi-workbench doctor myapp.main:app --live
Wrap an existing ASGI app:
from fastapi_workbench import workbenchify
app = workbenchify(my_asgi_app, owned_cookie_names=("session",))
Configuration
Environment variables use the FASTAPI_WORKBENCH_* prefix (for example
FASTAPI_WORKBENCH_MOUNT, FASTAPI_WORKBENCH_MODE). See fastapi-workbench check --help for the full CLI surface.
Release files for fastapi-workbench 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi_workbench-1.0.3.tar.gz | 28.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_workbench-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.7 kB
Release files / fastapi_workbench-1.0.3.tar.gz
| Download URL | fastapi_workbench-1.0.3.tar.gz |
|---|---|
| Size | 28.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bf21b9da9fc59b008931f03dc23772ae52cbc7efdb1159327f2bbbc9d794b70
|
|
BLAKE2b-256 checksum How to use checksums |
ffda7a751de09dfeff5bb5681d6bd959d0e7fae41c96718650e747a0cf4f1dce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fastapi_workbench-1.0.3-py3-none-any.whl
| Download URL | fastapi_workbench-1.0.3-py3-none-any.whl |
|---|---|
| Size | 34.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06626a32381d18190a1a2e5beea5c0e78e0547954ba139609c38b1fb53995fee
|
|
BLAKE2b-256 checksum How to use checksums |
91646538fdb86f747f24d556ddb71743f528d2c565c99b747cbb7eba10c61d7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|