A Script to translate .proto files to lightprotobuf messages
Project description
Introduction
lightprotobufgen is a commandline tool based on antlr4.5 to generate lightprotobuf compatible messages from a *.proto file.
usage
lightprotobufgen <file.proto>
The script output on stdout it’s result
Current limitations
- The tool is still in developpment and some features of official .proto format are not implemented yet :
import : imports statments generates an exception. you still can merge manually different files
global options : the global options are not supported yet
unique enum : will be implemented in next release
extends : Message extend are not implemented since it’s mostly usefull with imports and they are not supported yet
packages : Like google official implementation, it won’t be implemented because python use the file paths as modules/package
The 1.0 release will implement the full .proto specifications.
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
Built Distribution
Hashes for lightprotobufgen-1.0.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1159e432e8c024e43657909842437ba449c4963e7570d67dc308571bc4870eb7 |
|
MD5 | 7ae7102a91069af3d11ca79415a97abb |
|
BLAKE2b-256 | 92e73a332cc2d818830413f27592a9c412e7eb3b7a21d8afa13a95b9553fdcf8 |