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: Stable independent 1.x · pin >=1.0.0,<2.0
Supported Workbench floor is 2025.05.1; current verified lane is 2026.07.0.
Install
pip install "fastapi-workbench>=1.0.0,<2.0"
# or
uv add "fastapi-workbench>=1.0.0,<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.1
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.1.tar.gz | 25.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_workbench-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.8 kB
Release files / fastapi_workbench-1.0.1.tar.gz
| Download URL | fastapi_workbench-1.0.1.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9b1f00facbc960c351ab070e44cab65dd0493c4baba5bdc4076c56fc96dea89
|
|
BLAKE2b-256 checksum How to use checksums |
74ab53a80dc3974e71916eb05ce9fa4a1144db2d0f10fe1741f9c3208383704b
|
| 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.1-py3-none-any.whl
| Download URL | fastapi_workbench-1.0.1-py3-none-any.whl |
|---|---|
| Size | 31.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05fcac8a542fb7ad5fe63197e6fb4bd06c9a6a951deebe828950b7ad736ce968
|
|
BLAKE2b-256 checksum How to use checksums |
4cc663b130e2b6d46f202b21db70d1d0c715dc1b28b45e066db1675f586b4b83
|
| 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}
|