Briosa Python client
briosa-2026-1-0529-7 is the asynchronous Python client for the open-source
Briosa SpatialAnalyzer bridge. It
provides idiomatic lifecycle and MP APIs while keeping generated protobuf and
gRPC types private.
The package does not include SpatialAnalyzer, the SA SDK, or a license. It
targets SpatialAnalyzer 2026.1.0529.7 exactly and Python 3.10 or later. The
complete protocol identity is pinned in protocol.lock.json.
Package Identity
The distribution is named briosa-2026-1-0529-7, while application code keeps
the stable briosa import package. Install the distribution with:
python -m pip install briosa-2026-1-0529-7==0.1.0
Each exact SpatialAnalyzer target will have a separate distribution name. Two
target distributions intentionally provide the same briosa import package,
so applications targeting different SA releases should use separate virtual
environments or processes. There is no universal runtime target selector. Both
reviewed SA targets are maintained independently in this repository.
Usage
from briosa import BriosaClient
async with BriosaClient() as briosa:
working_directory = await briosa.get_working_directory()
Construction is dormant. Entering the async context, or calling start(),
locates and launches the matching local Briosa server, starts a disconnected SA
SDK generation, launches SpatialAnalyzer, connects the SDK, and verifies MP
readiness. BriosaStartOptions can select a control-plane-only startup or
connect to an eligible application that is already running.
Application and SDK state, launch, connect, stop, and recovery methods remain
available for diagnosis and explicit control. stop(), aclose(), and async
context exit stop the owned server and SDK but never close SpatialAnalyzer.
The client retains lifecycle generations and supplies guards automatically. Typed lifecycle failures, compatibility failures, task cancellation, ambiguous MP completion, and replay guidance remain distinct. MP operations are never automatically replayed.
See the Briosa documentation for the client API overview. The target-specific source and locked protocol define this package's exact API.
Server distribution lookup
Install Briosa Server 0.6.0 for SA 2026.1.0529.7 with the Briosa Installer. Default startup searches these locations in order:
BRIOSA_SERVER_PATH, pointing toBriosa.Server.exe.- A client-local
briosa-server/Briosa.Server.exe. %LOCALAPPDATA%/Briosa/Packages/products/<package-id>/payload/Briosa.Server.exe.%PROGRAMDATA%/Briosa/Packages/products/<package-id>/payload/Briosa.Server.exe.- The legacy
%LOCALAPPDATA%/Briosa/servers/<briosa-version>/sa-<sa-target>/Briosa.Server.exe.
For this client, <package-id> is briosa-0.6.0-sa-2026.1.0529.7-win-x64.
Managed installations must have a matching committed receipt, manifest, and required
entry points. Missing or invalid candidates are skipped; discovery never selects a
different server version or SA target. Runtime compatibility checks still apply.
Installer verification/repair checks package integrity separately.
For a custom Installer store, set BRIOSA_SERVER_PATH to the desired product's
payload/Briosa.Server.exe. Custom stores are not searched automatically.
The shared discovery contract
defines precedence, eligibility, root handling, and the installation/runtime boundary.
Development
Run these commands from targets/2026.1.0529.7/. Each target builds and
packages independently. Use a separate Python environment for each target.
python -m venv .venv
./.venv/Scripts/python -m pip install -e ".[dev]"
./.venv/Scripts/python -m ruff format --check .
./.venv/Scripts/python -m ruff check .
./.venv/Scripts/python -m mypy
./.venv/Scripts/python -m pytest
./eng/Test-Conformance.ps1 `
-ArtifactPath C:\path\to\briosa-client-conformance-0.6.0-sa-2026.1.0529.7-win-x64.zip `
-PythonExecutable ./.venv/Scripts/python.exe
./.venv/Scripts/python -m build
./.venv/Scripts/python eng/test_package_identity.py
./.venv/Scripts/python eng/test_package_consumer.py
Unit tests use fake server/transport boundaries. The shared conformance suite runs the real client and server against a portable fake SDK/application host. Neither path requires SpatialAnalyzer nor a license.
Protocol regeneration
./.venv/Scripts/python eng/import_protocol_artifact.py `
C:\path\to\briosa-protocol-0.6.0-sa-2026.1.0529.7.zip `
--update --source-channel github_release
./.venv/Scripts/python eng/import_protocol_artifact.py `
C:\path\to\briosa-protocol-0.6.0-sa-2026.1.0529.7.zip
Never edit generated *_pb2.py, *_pb2.pyi, *_pb2_grpc.py,
protocol_identity.py, or protocol.lock.json files by hand.
Server Logging
Pass optional typed logging settings through BriosaStartOptions:
from briosa import BriosaLoggingOptions, BriosaLogLevel, BriosaStartOptions
await briosa.start(BriosaStartOptions(
logging=BriosaLoggingOptions(
minimum_level=BriosaLogLevel.DEBUG,
console_enabled=False,
max_file_size_mib=20,
retained_file_count=10,
),
))
The remaining controls are category_levels, file_enabled, file_directory,
max_age_days, and max_total_size_mib. Omitted settings preserve server
configuration. Options validate at construction; custom directories must be
absolute Windows paths. See the shared startup contract
and server observability guide.
Compatibility and validation
This package pins the matching Briosa v0.6.0 protocol and conformance bundles. Startup checks the server version, source revision, protocol package, and exact SA target before admitting MP calls. The other SA target is not interchangeable.
Portable conformance covers lifecycle, identity mismatch, denied capabilities, typed MP and output failure, deadlines, cancellation, watchdog recovery, SDK loss, and owned-process cleanup. Its harness disables Control Center auto-launch and restores the prior setting afterward. These checks use a fake SDK, without a SpatialAnalyzer installation or license.
The public relationship-reference inputs use CollectionItemName, including
the item name and optional item type; they are not geometric object references.
This corrects earlier pre-publication facade annotations that disagreed with the
protocol. Existing callers of those methods must pass the item-name value.
Broader licensed runtime coverage and protected runtime CI remain outstanding. Enterprise Artifactory integration is also unverified. This package remains v0.x; portable results do not imply v1.0 readiness or validation on physical instruments.
Release files for briosa-2026-1-0529-7 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| briosa_2026_1_0529_7-0.1.0.tar.gz | 555.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| briosa_2026_1_0529_7-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / briosa_2026_1_0529_7-0.1.0.tar.gz
| Download URL | briosa_2026_1_0529_7-0.1.0.tar.gz |
|---|---|
| Size | 555.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02daeb2e05db1621325757cd2723ccee024c42de521d3b9a21cab13260860dde
|
|
BLAKE2b-256 checksum How to use checksums |
4e225812227b3f033ac23100f9808bb19caac67ea617df50352dfbfce4cd9ebe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency logRelease files / briosa_2026_1_0529_7-0.1.0-py3-none-any.whl
| Download URL | briosa_2026_1_0529_7-0.1.0-py3-none-any.whl |
|---|---|
| Size | 572.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7348b07e92a87d3a2ee5af31c245cb3afa5bfc283e99adb9d1cd382f66f8758
|
|
BLAKE2b-256 checksum How to use checksums |
29a63971a9d335b08ed98192b9235e6a63c4470b70f52a9c647a2c864aa8b90d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency log