open-index/open-npm huggingface dataset:
npm package: @kerfed/protos
Description: 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/
Latest version: 0.2.63-rc0

# 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)
```