Skip to content

docs: add server Python API examples#5616

Open
GoparapukethaN wants to merge 1 commit into
bentoml:mainfrom
GoparapukethaN:docs/server-python-api-usage
Open

docs: add server Python API examples#5616
GoparapukethaN wants to merge 1 commit into
bentoml:mainfrom
GoparapukethaN:docs/server-python-api-usage

Conversation

@GoparapukethaN
Copy link
Copy Markdown

Closes #3828

Adds Python API examples for starting a local BentoML server and creating a client from code.

The client guide now shows the preferred bentoml.serve() context-manager path, then documents the lower-level HTTPServer and GrpcServer classes for existing code that needs direct server-class access. I also added a small reference page for those server APIs and linked it from the BentoML reference index.

I verified the server examples construct against an editable local BentoML install, checked the docs snippets are present, ran git diff --check, and ran a Sphinx dummy build with a temp config that skips the local spelling extension because this machine does not have the enchant C library installed. The Sphinx build completed with existing docs warnings.

@GoparapukethaN GoparapukethaN requested a review from a team as a code owner May 20, 2026 04:59
@GoparapukethaN GoparapukethaN requested review from parano and removed request for a team May 20, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add documentation for HTTPServer/GRPCServer Python API usage

1 participant