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.
Install
pip install fastapi-workbench
# or
uv add fastapi-workbench
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.
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 fastapi_workbench-1.0.0.tar.gz.
File metadata
- Download URL: fastapi_workbench-1.0.0.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b62354adef3adf0821c1c242818dd084ac63f3446c04c3d8e370acc9a813bb1
|
|
| MD5 |
8e9d655aa25f6027614db1737dd767e8
|
|
| BLAKE2b-256 |
2a9cbbf9c9ca3a83f7f24f466d5af9ac15b19f234ef452861ef06fa5cb3d2e8d
|
File details
Details for the file fastapi_workbench-1.0.0-py3-none-any.whl.
File metadata
- Download URL: fastapi_workbench-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.3 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95860ca6c343c6b0ca3f22dbd544338388f4e4b22e7ae21b7fca6901a0184d83
|
|
| MD5 |
56a0fa97b99f35d296e42e9d3df01c9f
|
|
| BLAKE2b-256 |
c3bf4292b8dfa6c45b4e41e104e19b0bec63dc6c2b9f9cd2e8045c427d130a8a
|