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.54-py3-none-any.whl (107.1 kB view details)

Uploaded Python 3

File details

Details for the file kerfed_protos-0.2.54-py3-none-any.whl.

File metadata

  • Download URL: kerfed_protos-0.2.54-py3-none-any.whl
  • Upload date:
  • Size: 107.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for kerfed_protos-0.2.54-py3-none-any.whl
Algorithm Hash digest
SHA256 8e3925f45abdd93334643a40ee4ab601fb473d6de298753e1ca7d9e11f8b2ef4
MD5 42c206d848cb67c198f51df8c7b29f95
BLAKE2b-256 4b174db2f16c9f411c9f83666843cab71663872b214bf08be656a1747b89c967

See more details on using hashes here.

Supported by

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