Skip to main content

Built Python bindings for the Kerfed Proto messages.

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

kerfed.protos-0.2.22-py3-none-any.whl (105.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page