python使用snappy压缩

版权声明:*************本文为博主原创文章,未经许可不得转载************* https://lidong.blog.csdn.net/article/details/54931841

今天在网上找了很久,终于找到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

展开阅读全文

没有更多推荐了,返回首页