/thriftr

simple pure python parser for apache thrift

Primary LanguagePythonMIT LicenseMIT

thriftr is now merged into github.com/eleme/thriftpy.git

thriftr

Pure python apache thrift parser.

For Python 2.7+/3.3+/PyPy

from thriftr import parse

data = open('sample.thrift').read()
parse(data)

example

NOTE: this parser will be merged into eleme/thriftpy,

from thriftpy import parse

data = open('sample.thrift').read()
parse(data)