Generate .proto by .xlsx
Project description
prothon
Generate/Compile proto files
Installation
# pip install prothon
Quick start
import prothon
def generate_example():
excel_path = 'YOUR EXCEL PATH'
proto_name = 'YourProto.proto'
proto = prothon.generate(excel_path)
f = open(proto_name, 'w', encoding='utf8')
f.write(proto)
f.close()
def compile_example():
# Your target language
language = 'csharp'
proto_path = 'YOUR PROTO FILE PATH'
prothon.compile(proto_path, './', language, './')
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 Distribution
prothon-1.0.0.tar.gz
(4.1 kB
view hashes)