Skip to main content

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 run myapp.main:app --discover  # when RS_SERVER_URL is omitted
fastapi-workbench check myapp.main:app --discover
fastapi-workbench doctor myapp.main:app --live --discover

Explicit --discover works without RS_SERVER_URL; it binds the selected port before invoking rserver-url.

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.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-workbench 1.0.8
File Size Uploaded
fastapi_workbench-1.0.8.tar.gz 30.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-workbench 1.0.8
File Interpreter ABI Platform
fastapi_workbench-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 66.2 kB

Release files / fastapi_workbench-1.0.8.tar.gz

Download URL fastapi_workbench-1.0.8.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3f06ff889445312e32e9c5712d8379769e33da20c00e97a8f8ccb8a66d1246b6
BLAKE2b-256 checksum
How to use checksums
c7ca2dadfafcf20e4629a5c784b28f9e022f1e2f614877bc13023cd6d64bc639
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.8-py3-none-any.whl

Download URL fastapi_workbench-1.0.8-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cd2832abc9f4b5ac9d944503ed12cefe55fd8a658426f1d0e04e4fc30dac953
BLAKE2b-256 checksum
How to use checksums
8358a0d5d1ca79b2844bb0200cfda791809e5c099595d01c5acf6baa99e9d22d
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 history Release notifications | RSS feed

1.0.12

2 release files

1.0.9

2 release files

This release

1.0.8 This release

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page