Metadata-Version: 2.1
Name: kerfed.protos
Version: 0.2.35
Summary: Built Python bindings for the Kerfed Proto messages.
License: proprietary
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: grpcio
Requires-Dist: protobuf
Provides-Extra: tests
Requires-Dist: pytest ; extra == 'tests'
Requires-Dist: trimesh ; extra == 'tests'
Provides-Extra: typed
Requires-Dist: mypy ; extra == 'typed'
Requires-Dist: grpc-stubs ; extra == 'typed'
Requires-Dist: types-protobuf ; extra == 'typed'

# kerfed.protos

Kerfed APIs all consume and produce data defined as Protobuf 3 messages or the [JSON mapping](https://protobuf.dev/programming-guides/proto3/#json) of these messages. The message definitions and documentation can be found on [buf.build](https://buf.build/kerfed/protos/). Bindings for Typescript and Python are available through the default packaging systems:

- npm add [@kerfed/protos](https://www.npmjs.com/package/@kerfed/protos)
- pip install [kerfed.protos](https://pypi.org/project/kerfed.protos/)

All APIs consuming and emitting JSON use the `preserving_proto_field_name` option which prevents field names like `geom_id` from being mapped to `geomId`, and the `use_integers_for_enums` option. Most users of the REST interface should use client libraries like [kerfed.client](https://pypi.org/project/kerfed.client/) instead of this package. 

```
from google.protobuf.json_format import MessageToJson
json = MessageToJson(request, 
                     preserving_proto_field_name=True,
                     use_integers_for_enums=True)
```
