Skip to content

tzngit/python_sproto_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_sproto_parser

a sproto parser wrriten in python

a parser for sproto, but don't support encode/decode, just a parser which parsing .sproto text into python dict.dump already added. 😊

Examples:

run python test.py your_sproto_file.sproto to see parse result.

dump to binary file usage:

usage: sprotodump.py [-h] [-d SRC_DIR] [-f SRC_FILE] [-o OUTFILE] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -d SRC_DIR, --directory SRC_DIR
                        sproto source files
  -f SRC_FILE, --file SRC_FILE
                        sproto single file
  -o OUTFILE, --out OUTFILE
                        specific dump binary file
  -v, --verbose         show more info

About

a sproto parser wrriten in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages