实用的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 资源大全 ---------------- 这又是一个 ...
随机推荐
- 【idea】【sonarlint】指定文件夹扫描
选择文件夹右键->Analyze->Analyze with SonarLint
- Java常用函数式接口--Predicate接口使用案例
Java常用函数式接口--Predicate接口使用案例 该方法可以使用and来优化: 调用:
- APIO2019题解
T1.桥梁(bridges/restriction) Subtask1:暴力,$O(n^2)$. #include<cstdio> #include<algorithm> #d ...
- Oracle解决锁表语句与批量生成解锁语句
--以下几个为相关表SELECT * FROM v$lock;SELECT * FROM v$sqlarea;SELECT * FROM v$session;SELECT * FROM v$proce ...
- Spring-Cloud之Config配置中心-7
一.我们前面基本上都是讲解的Spring Cloud Netflix的组件,下面我们会重点说Spring Cloud Config分布式配置中心.为什么需要这个组件来管理配置呢?在分布式应用开发过程中 ...
- 2019 易车java面试笔试题 (含面试题解析)
本人3年开发经验.18年年底开始跑路找工作,在互联网寒冬下成功拿到阿里巴巴.今日头条.易车等公司offer,岗位是Java后端开发,最终选择去了易车. 面试了很多家公司,感觉大部分公司考察的点都差不多 ...
- [SDOI2008]仪仗队(欧拉函数)
题目 [SDOI2008]仪仗队 解析 这个题,我也不知道他们的soltion是怎么写的这么长的. 我们发现我们一次看一条直线上的第一个点,也就是说,若两个点斜率\(k=\frac{y}{x}\)相同 ...
- 【夯实基础】- Integer.valueof()和Integer.parseInt()的区别
今天在看公司代码的时候,看到有人在将 String 转为 int 时,用到了Integer.parseInt(String s)方法,我一直用的是Integer.valueOf(String s)方法 ...
- ABAP-System Functions
ABAP_CALLSTACK ABAP_CRC64 ABAP_PRECOMPILED_HEADER_USAGE ABSTOR_TEST AB_CALL_LITL_CHECK AB_CALL_STACK ...
- Eclipse - 安装Indent Guide,使JAVA代码具备编辑缩进线,和Delphi一样酷!!
Delphi里面默认就有代码编辑缩进线,这在编写逻辑复杂的大块代码时候非常有好处,可以清楚地看到每块代码的范围,下面就是Delphi里面代码编辑缩进线的截图: 非常棒的效果,我喜欢,在处理复杂逻辑代码 ...