实用的Python库
一.Django
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
11.django 数据导入导出(可在admin操作): pip install django-import-export https://github.com/django-import-export/django-import-export https://django-import-export.readthedocs.io/en/stable/import_workflow.html
12.django 支持多选框(admin): pip install django-multiselectfield https://pypi.org/project/django-multiselectfield/
13.django 实现rpc: https://github.com/alorence/django-modern-rpc https://django-modern-rpc.readthedocs.io/en/latest/quickstart.html
14.django admin 选择框联动修改:https://github.com/jazzband/django-smart-selects#grouped-selects
二.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
15. python 实现grpc: https://grpc.io/docs/ https://grpc.github.io/grpc/python/index.html http://doc.oschina.net/grpc?t=60138
16. 很好用的 ORM 库: pip install sqlalchemy,可结合 alembic 工具进行数据库的迁移:https://alembic.sqlalchemy.org/en/latest/tutorial.html
17. 更好用的虚拟环境工具:pip install pipenv
整理中...
当我仰望星空, 看见了涛涛江水, 闻到了人声鼎沸;可当我蓦然回望,再也触摸不到那逝去的时光,再也看不到那夕阳下的少年!
分类:
嘿python库收藏
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 通过 API 将Deepseek响应流式内容输出到前端
· AI Agent开发,如何调用三方的API Function,是通过提示词来发起调用的吗
2018-06-03 苹果笔记本调整 pycharm 字体大小的地方