formart thrift file
Project description
thrift-fmt
thrift formatter
Usage
install
pip install thrift-fmt
run
thrift-fmt xx.thrift
thrift-fmt xx.thrift xx.out.thrift
parser https://github.com/alingse/thrift-parser
TODO
- 支持控制 patch 与否
- 支持 -w 回写
- 支持目录
LICENSE
fixtures 中部分thrift 是来自于 https://github.com/apache/thrift/blob/master/tutorial/ 是 Apache 证书的
thrift-parser 中使用的 Thrift.g4 是来自于 https://github.com/antlr/grammars-v4
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
thrift-fmt-0.1.2.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for thrift_fmt-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7a6132251361d727226d99b78097fbef33b3e627838c25d2fce016d1c08431 |
|
MD5 | 37551b61b6950f47b830f891ffa4132f |
|
BLAKE2b-256 | 64906d744591a4f2fcde720453c33010756abac2dc646551aba69a1016754067 |