Overview
The Bevor Python SDK
The Bevor SDK provides typed async and sync Python clients for security analyses, findings, transitions, and related workflows. Requires Python 3.13+.
Installation
uv add bevor-sdkClient
from bevor_sdk import AsyncBevorClient
client = AsyncBevorClient(api_key="YOUR_API_KEY")
analyses = await client.analyses.list()
# OR
async with AsyncBevorClient(api_key="bvr_...") as client:
analysis = await client.analyses.get(analysis_id)Expanded Types
Some methods take a with_pagination or with_streaming argument. Passing True returns one of the SDK-only wrapper types below instead of the plain response.
PaginatedResource
resultslist[T]Every item fetched so far, across pages.
currentPagination[T]The most recently fetched page.
has_moreboolWhether another page is available.
fetch_nextasync method() -> NoneFetch the next page and append its items to results.
EventResource
dataTThe resource, refreshed as relevant events arrive.
stream_completionasync iteratorOpens a server-sent events connection and yields typed events until processing finishes, successfully or not. Returns immediately if processing has already finished.

