今天在網上找了很久,終於找到1個snappy壓縮命令行,記錄下來:
1.wget https://bootstrap.pypa.io/get-pip.py
2.python ./get-pip.py
3.yum install gcc-c++
4.pip install python-snappy
用法:
python -m snappy -c uncompressed_file compressed_file.snappy
python -m snappy -d compressed_file.snappy uncompressed_file參考:
https://github.com/andrix/python-snappy
