@kerfed/protos

0.2.32 • Public • Published

kerfed.protos

Kerfed APIs all consume and produce data defined as Protobuf 3 messages or the JSON mapping of these messages. The message definitions and documentation can be found on buf.build. Bindings for Typescript and Python are available through the default packaging systems:

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 instead of this package.

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

/@kerfed/protos/

    Package Sidebar

    Install

    npm i @kerfed/protos

    Weekly Downloads

    148

    Version

    0.2.32

    License

    none

    Unpacked Size

    460 kB

    Total Files

    32

    Last publish

    Collaborators

    • kerfed-bot