Metadata-Version: 2.4
Name: sapient-msg
Version: 0.1.1
Summary: SAPIENT protobuf bindings (BSI Flex 335 v2.0)
Project-URL: Repository, https://github.com/nbowisdar/sapient-msg
Project-URL: Homepage, https://github.com/nbowisdar/sapient-msg
Author-email: Virtuoz <virtuoz@demo-iot.technology>
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: protobuf<7,>=4.25
Description-Content-Type: text/markdown

# sapient-msg

Python protobuf bindings for the SAPIENT protocol (BSI Flex 335 v2.0).

Repository: https://github.com/nbowisdar/sapient-msg

## Install

From PyPI:

```bash
pip install sapient-msg
```

```bash
uv add sapient-msg
```

From GitHub:

```bash
uv add "sapient-msg @ git+https://github.com/nbowisdar/sapient-msg.git@v0.1.1"
```

For local development:

```bash
uv add --editable /path/to/sapient-msg
```

## Usage

```python
from sapient_msg.latest.sapient_message_pb2 import SapientMessage
from sapient_msg.bsi_flex_335_v2_0.registration_pb2 import Registration
```

## Regenerate bindings

Requires `grpcio-tools`:

```bash
uv pip install grpcio-tools
./scripts/generate.sh
```

## Release

Push a version tag to publish to PyPI via GitHub Actions (trusted publishing):

```bash
git tag v0.1.1
git push origin v0.1.1
```