实用的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-mongoengine4.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.md10.django admin 美化插件:https://github.com/sshwsfc/xadmin11.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/hyper3. http2.0协议中英文对照版:https://github.com/fex-team/http2-spec4. 与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-py13. python 判断文件的真实格式是否为图片: https://github.com/ahupp/python-magic14. 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=6013816. 很好用的 ORM 库: pip install sqlalchemy,可结合 alembic 工具进行数据库的迁移:https://alembic.sqlalchemy.org/en/latest/tutorial.html17. 更好用的虚拟环境工具:pip install pipenv
整理中...
实用的Python库的更多相关文章
- 这几个冷门却实用的 Python 库,我爱了!
- 推荐11个实用Python库
1.delorea 非常酷的日期/时间库 from delorean import Delorean EST = "US/Eastern"d = Delorean(timezone ...
- 你可能没听过的11个Python库
目前,网上已有成千上万个Python包,但几乎没有人能够全部知道它们.单单 PyPi上就有超过47000个包列表. 现在,越来越多的数据科学家开始使用Python,虽然他们从 pandas, scik ...
- 数据处理一条龙!这15个Python库不可不知
如果你是一名数据科学家或数据分析师,或者只是对这一行业感兴趣,那下文中这些广受欢迎且非常实用的Python库你一定得知道. 从数据收集.清理转化,到数据可视化.图像识别和网页相关,这15个Python ...
- 两个实用的Python的装饰器
两个实用的Python的装饰器 超时函数 这个函数的作用在于可以给任意可能会hang住的函数添加超时功能,这个功能在编写外部API调用 .网络爬虫.数据库查询的时候特别有用 timeout装饰器的代码 ...
- Python 库大全
作者:Lingfeng Ai链接:http://www.zhihu.com/question/24590883/answer/92420471来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非 ...
- 10个用于处理日期和时间的 Python 库
Python本身提供了处理时间日期的功能,也就是datetime标准库.除此之外,还有很多优秀的第三方库可以用来转换日期格式,格式化,时区转化等等.今天就给大家分享10个这样的Python库. 上期入 ...
- 创业公司都在使用的3款Python库
Instavest上发表了一篇博文,文章分享了深受创业公司喜爱的3款Python库,该文章在Hacker News上引发了开发者的激烈探讨,如果你也对此感兴趣,不妨移步去看下.笔者将该文简译过来以分享 ...
- 哪些 Python 库让你相见恨晚?【转】
原文链接:https://www.zhihu.com/question/24590883/answer/92420471 原文链接:Python 资源大全 ---------------- 这又是一个 ...
随机推荐
- CentOS7开机进入紧急模式EmergencyMode的解决办法
这个情况主要是 修改了 /etc/fstab 文件 vi /etc/fstab 文件 如果之前添加过一行 把添加的一行注释掉 如果之前没有添加过,把挂载到 /home 这一行取消注释 操作之后 记得 ...
- Oracle RAC 创建实例出错(非+DATA目录)的简单处理
今天进行oracle的rac测试 发现开发同事没有写好 oracle rac的设置. 创建完之后就会报错了 因为自己对oracle 的RAC 不太熟悉 不太会用.. 所以用 一个比较简单的办法. a ...
- Go基础编程实践(八)—— 系统编程
捕捉信号 // 运行此程序,控制台将打印"Waiting for signal" // 按Ctrl + C 发送信号以关闭程序,将发生中断 // 随后控制台依次打印"Si ...
- sqlserver通过递归查找所有下级或上级部门和用户的操作实例
--查找当前用户所在部门的所有下级包括当前部门 with cte as ( as lvl from Department union all from cte c inner join Departm ...
- 部署.Net Core APi+Vue 到 linux centos 服务器(一)
部署.Net Core APi+Vue 到 linux centos 服务器(一) 前言:项目采用的是 .net core 作为接口,vue作为前端. 此时需要把整个项目架设到linux centos ...
- 解决fiddler不能抓取firefox浏览器包的问题(转)
转自:https://blog.csdn.net/jimmyandrushking/article/details/80819103
- 【写法】为什么if判断中,值要倒着写
=============================================== 2019/8/27_第1次修改 ccb_warlock == ...
- 关于elasticsearch使用G1垃圾回收替换CMS
最近ES集群数据节点经常出现jvm占用过高,频繁GC导致ES集群卡死,很长时间才恢复.在网上看到用G1垃圾回收可以改善这一情况,但都是老版本的ES,我们现在使用的版本是5.5.2,所以想问问各位5.5 ...
- 使用Filezilla Server配置FTP服务器
一.下载Filezilla Server 官网网址:https://filezilla-project.org 二.安装Filezilla Server Filezilla Server的安 ...
- django.db.utils.InternalError: (1060, "Duplicate column name 'user_id'")迁移报错解决方法
django.db.utils.InternalError: (1060, "Duplicate column name 'user_id'")迁移报错解决方法 django.db ...