實用的Python庫

一.Djangohtml

1.自動實現圖片壓縮: pip install easy-thumbnails / https://pypi.org/project/easy-thumbnails/
2.實現定時任務執行: pip install django-crontab
3.django使用mongoengine對數據進行快速的序列化(相似drf): http://umutbozkurt.github.io/django-rest-framework-mongoengine
4.uWSGI,與 django 契合最好的服務器: https://uwsgi-docs-zh.readthedocs.io/zh_CN/latest/tutorials/Django_and_nginx.html
5.DRF,api 的快速開發與迭代: https://www.django-rest-framework.org/tutorial/1-serialization/
6.異步實現: http://docs.celeryproject.org/en/latest/index.html
7.django接口性能監測工具: https://github.com/jazzband/django-silk pip install django-silk
8.django html 頁面性能監控工具: pip install django-debug-toolbar
9.django admin 美化插件: pip install django-simpleui https://gitee.com/forgo/simpleui/blob/master/README.md
10.django admin 美化插件:https://github.com/sshwsfc/xadmin

 

二.Python通用python

1. APNs python3 實現: pip install apns2 / https://github.com/Pr0Ger/PyAPNs2
2. http2.0 python 實現: https://github.com/Lukasa/hyper
3. http2.0協議中英文對照版: https://github.com/fex-team/http2-spec
4. 與mongodb實現orm形式的交互: pip install mongoengine
5. 谷歌開源的rpc框架,gRPC:  pip install grpcio && pip install protobuf && pip install grpcio-tool / https://grpc.github.io/grpc/python/index.html

https://grpc.io/docs/guides/
6. 比 json包 性能更好的 json 數據轉換工具: pip install ujson
7. python 生成/解析 jwt 工具: pip install jwt
8. python 生成二維碼: pip install qrcode
9. python 製做詞雲: pip install wordcloud
10: 異步實現: http://docs.celeryproject.org/en/latest/index.html
11. python 與 elastic search 進行交互: pip install elasticsearch-dsl(注意:根據ES的版本選擇對應版本安裝) https://elasticsearch-dsl.readthedocs.io/en/latest/, https://github.com/elastic/elasticsearch-dsl-py/
12. python 與 elastic search 進行交互: pip install pyelasticsearch(是dsl的基礎,根據ES的版本選擇對應版本安裝) https://elasticsearch-py.readthedocs.io/en/master/, https://github.com/elastic/elasticsearch-py
13. python 判斷文件的真實格式是否爲圖片: https://github.com/ahupp/python-magic
14. python 生成rsa公鑰私鑰: https://www.pycryptodome.org/en/latest/src/examples.html#generate-an-rsa-key

 

整理中...nginx

相關文章
相關標籤/搜索