├── .gitignore ├── .travis.yml ├── CHANGES.rst ├── LICENSE ├── MANIFEST.in ├── README.rst ├── bin ├── thrift-file-reader └── thrift-tool ├── examples ├── methods_per_port.py └── ping_service.py ├── requirements.txt ├── setup.py └── thrift_tools ├── __init__.py ├── file_reader.py ├── idl.py ├── message_sniffer.py ├── printer.py ├── sniffer.py ├── stats.py ├── stream_handler.py ├── tests ├── __init__.py ├── resources │ ├── calc-service-binary.pcap │ ├── calc-service-compact.pcap │ ├── calc-service-json.pcap │ ├── finagle-thrift.pcap │ ├── messages.logfile │ ├── shared.thrift │ ├── structs.logfile │ └── tutorial.thrift ├── test_basic.py ├── test_diff.py ├── test_file_reader.py ├── test_idl.py ├── test_printer.py ├── test_struct.py └── util.py ├── thrift_diff.py ├── thrift_file.py ├── thrift_message.py ├── thrift_struct.py ├── tool.py └── util.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/README.rst -------------------------------------------------------------------------------- /bin/thrift-file-reader: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/bin/thrift-file-reader -------------------------------------------------------------------------------- /bin/thrift-tool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/bin/thrift-tool -------------------------------------------------------------------------------- /examples/methods_per_port.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/examples/methods_per_port.py -------------------------------------------------------------------------------- /examples/ping_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/examples/ping_service.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/setup.py -------------------------------------------------------------------------------- /thrift_tools/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = '0.0.7' 2 | -------------------------------------------------------------------------------- /thrift_tools/file_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/file_reader.py -------------------------------------------------------------------------------- /thrift_tools/idl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/idl.py -------------------------------------------------------------------------------- /thrift_tools/message_sniffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/message_sniffer.py -------------------------------------------------------------------------------- /thrift_tools/printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/printer.py -------------------------------------------------------------------------------- /thrift_tools/sniffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/sniffer.py -------------------------------------------------------------------------------- /thrift_tools/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/stats.py -------------------------------------------------------------------------------- /thrift_tools/stream_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/stream_handler.py -------------------------------------------------------------------------------- /thrift_tools/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # thrift-tools 2 | -------------------------------------------------------------------------------- /thrift_tools/tests/resources/calc-service-binary.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/resources/calc-service-binary.pcap -------------------------------------------------------------------------------- /thrift_tools/tests/resources/calc-service-compact.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/resources/calc-service-compact.pcap -------------------------------------------------------------------------------- /thrift_tools/tests/resources/calc-service-json.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/resources/calc-service-json.pcap -------------------------------------------------------------------------------- /thrift_tools/tests/resources/finagle-thrift.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/resources/finagle-thrift.pcap -------------------------------------------------------------------------------- /thrift_tools/tests/resources/messages.logfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/resources/messages.logfile -------------------------------------------------------------------------------- /thrift_tools/tests/resources/shared.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/resources/shared.thrift -------------------------------------------------------------------------------- /thrift_tools/tests/resources/structs.logfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/resources/structs.logfile -------------------------------------------------------------------------------- /thrift_tools/tests/resources/tutorial.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/resources/tutorial.thrift -------------------------------------------------------------------------------- /thrift_tools/tests/test_basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/test_basic.py -------------------------------------------------------------------------------- /thrift_tools/tests/test_diff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/test_diff.py -------------------------------------------------------------------------------- /thrift_tools/tests/test_file_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/test_file_reader.py -------------------------------------------------------------------------------- /thrift_tools/tests/test_idl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/test_idl.py -------------------------------------------------------------------------------- /thrift_tools/tests/test_printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/test_printer.py -------------------------------------------------------------------------------- /thrift_tools/tests/test_struct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/test_struct.py -------------------------------------------------------------------------------- /thrift_tools/tests/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tests/util.py -------------------------------------------------------------------------------- /thrift_tools/thrift_diff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/thrift_diff.py -------------------------------------------------------------------------------- /thrift_tools/thrift_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/thrift_file.py -------------------------------------------------------------------------------- /thrift_tools/thrift_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/thrift_message.py -------------------------------------------------------------------------------- /thrift_tools/thrift_struct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/thrift_struct.py -------------------------------------------------------------------------------- /thrift_tools/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/tool.py -------------------------------------------------------------------------------- /thrift_tools/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pinterest/thrift-tools/HEAD/thrift_tools/util.py --------------------------------------------------------------------------------