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:
- npm add @kerfed/protos
- pip install 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 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
Release history Release notifications | RSS feed
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.32-py3-none-any.whl
(100.3 kB
view hashes)
Close
Hashes for kerfed.protos-0.2.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b31ec1a4902d9eb0650da426f82241fdd3d5c5848e6edbae572024c642b95a7 |
|
MD5 | ec2306575ab1dedf2d24507dd4e4df09 |
|
BLAKE2b-256 | 6433140bab990b346c9957f42220c15fa5124f93b0045abb03bd6c30115fd5f9 |