Python常用模块

Python

requests

http://docs.python-requests.org/zh_CN/latest/
Requests 唯一的一个非专业的 Python HTTP 库,人类可以安全享用。

celery

http://docs.jinkan.org/docs/celery/

Celery 是一个简单、灵活且可靠的,处理大量消息的分布式系统,并且提供维护这样一个系统的必需工具。

apschedule

http://debugo.com/apscheduler/
http://www.php.cn/python-tutorials-364856.html
APScheduler是一个Python定时任务框架,使用起来十分方便。

NSQ

https://github.com/nsqio/nsq
https://github.com/nsqio/pynsq
NSQ 是实时的分布式消息处理平台,其设计的目的是用来大规模地处理每天数以十亿计级别的消息。它具有分布式和去中心化拓扑结构,该结构具有无单点故障、故障容错、高可用性以及能够保证消息的可靠传递的特征。

fire

https://zhuanlan.zhihu.com/p/31274256
https://github.com/google/python-fire
命令行界面(Command Line Interface~CLI)。除了传统的argparse,Python还有类似click或docopt等工具。2017年谷歌发布的Fire更简单。

simplejson

http://www.cnblogs.com/ankier/archive/2012/12/25/2833037.html
Python版的简单、 快速、 可扩展 JSON 编码器/解码器。

psutil

http://blog.51cto.com/467754239/1625819
系统信息模块

shelve

http://www.cnblogs.com/frankzs/p/5949645.html
一个简单的本地存储方案

python-jenkins

https://python-jenkins.readthedocs.io/en/latest/examples.html#example-4-working-with-jenkins-views
一个Jenkins的API接口包

airflow

http://airflow.apache.org/
Airflow是一个工作流分配管理系统,通过有向非循环图的方式管理任务流程,设置任务依赖关系和时间调度。Airflow独立于我们要运行的任务,只需要把任务的名字和运行方式提供给Airflow作为一个task就可以。

python2的编码问题

data.decode('gbk', 'ignore')
data.decode('utf8', 'ignore')

你可能感兴趣的:(Python常用模块)