Built Python bindings for the Kerfed Proto messages.
Project description
kerfed.protos
Kerfed API's all consume and produce data defined as Protobuf 3 messages or the well-defined JSON mapping of these messages. The raw Protobuf 3 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=True
option which prevents field names like geom_id
from being mapped to geomId
. In Python this looks like:
from google.protobuf.json_format import MessageToJson
json = MessageToJson(request, preserving_proto_field_name=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.13-py3-none-any.whl
(101.6 kB
view hashes)
Close
Hashes for kerfed.protos-0.2.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 545b106dc78e44f2f57810cc17bb0c02ced5d3671acaf60d896c0e8d2aeb69e4 |
|
MD5 | 2f72cc9ef4fce7781f7f5138c13b3584 |
|
BLAKE2b-256 | 5fcd1072e4bf4441247a5784ab628f5ace77b81aee890796e6b1dbc139c7bfee |