Metadata-Version: 2.4
Name: mongot-standalone-client
Version: 0.1.0
Summary: BSON-aware gRPC client for standalone mongot
License-Expression: SSPL-1.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: grpcio<2,>=1.85.1
Requires-Dist: protobuf<8,>=7.36.2
Requires-Dist: pymongo<5,>=4.10
Provides-Extra: codegen
Requires-Dist: grpcio-tools==1.85.1; extra == "codegen"
Dynamic: license-file

# Standalone mongot Python client

Install the wheel or source archive with pip. Python 3.10+ is required; no repository checkout,
protoc, or MongoDB server is needed. Dependencies are resolved by pip.

```sh
python -m pip install mongot_standalone_client-0.1.0-py3-none-any.whl
```

```python
from mongot_standalone import Client, api

with Client("localhost:27029", ca_file="server.crt", token_file="admin.token") as client:
    status = client.get_status(api.GetStatusRequest())
    print(status.instance_id)
```

All 16 RPCs have typed request/response wrappers. `encode_bson` and `decode_bson` preserve BSON
types. Omit CA/token only for a plaintext development listener. Callers supply stable request
IDs and inspect every write item's state/status; no mutation is automatically retried.

Full API examples: https://github.com/beardsandbeers/mongot/blob/nomongo/clients/README.md
