1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
tests_requires = [
# pytest: test framework
# http://pytest.org/en/latest/contents.html
"pytest~=4.5",
# pytest-cov: 测试覆盖率检测工具
# https://pytest-cov.readthedocs.io/en/latest/
"pytest-cov~=2.7",
# pytest-localserver: 用于本地测试服务连接
# https://pypi.org/project/pytest-localserver/
"pytest-localserver~=0.5.0",
# pytest-sanic: 针对sanic的pytest插件
# https://github.com/yunstanford/pytest-sanic
"pytest-sanic~=1.0.0",
# responses: 用来模拟requests库
# https://pypi.org/project/responses/
"responses~=0.9.0",
# freezegun: 通过伪造日期模块来生成不同的时间
# https://github.com/spulec/freezegun
"freezegun~=0.3.0",
# nbsphinx: sphinx的扩展,用于*.ipynb文件的解析
# https://pypi.org/project/nbsphinx/
"nbsphinx>=0.3",
# aioresponses:用来模拟python aiohttp包的页面请求
# https://github.com/pnuckowski/aioresponses
"aioresponses~=0.6.0",
# moto:模拟基于AWS架构的测试
# https://github.com/spulec/moto
"moto~=1.3.8",
# fakeredis: 这是针对没有redis或测试环境的机器的redis rb的伪实现
# https://github.com/guilleiguaran/fakeredis
"fakeredis~=1.0",
]
install_requires = [
"requests>=2.20", # http 请求库
"boto3~=1.9", # 适用于 Python 的 AWS 开发工具包
"matplotlib~=3.0", # 绘图
"attrs>=18", # 详细介绍见:https://www.jb51.net/article/162909.htm
"jsonpickle~=1.1", # 用来序列化复杂的 Python 对象到 JSON 文档,https://jsonpickle.github.io/
"redis~=3.3.5", # 与redis交互
"pymongo[tls,srv]~=3.8",# mongod交互
"numpy~=1.16", # numpy
"scipy~=1.2", # scipy,科学计算库
"tensorflow~=1.14.0", # tensorlfow,深度学习框架
# absl is a tensorflow dependency, but produces double logging before 0.8
# should be removed once tensorflow requires absl > 0.8 on its own
"absl-py>=0.8.0",
# setuptools comes from tensorboard requirement:
# https://github.com/tensorflow/tensorboard/blob/1.14/tensorboard/pip_package/setup.py#L33
"setuptools >= 41.0.0",
"tensorflow-probability~=0.7.0", # 概率编程,参见:https://blog.csdn.net/yH0VLDe8VG8ep9VGe/article/details/84985912
"tensor2tensor~=1.14.0", # https://github.com/tensorflow/tensor2tensor
"apscheduler~=3.0", # 安排定期执行的任务,https://www.cnblogs.com/zhaoyingjie/p/9664081.html
"tqdm~=4.0", # 一个快速,可扩展的Python进度条,https://blog.csdn.net/langb2014/article/details/54798823
"networkx~=2.3", # 网络分析库,https://www.cnblogs.com/kaituorensheng/p/5423131.html
"fbmessenger~=6.0", # 与facebook messenger api通信
"pykwalify~=1.7.0", # YAML JSON校验库
"coloredlogs~=10.0", # 用于带颜色的终端输出,https://coloredlogs.readthedocs.io/en/latest/
"scikit-learn~=0.20.2", # 机器学习库
"ruamel.yaml~=0.15.0", # YAML parser/emitter
"scikit-learn~=0.20.0", # duplicate
"slackclient~=1.3", # 用于和slack web api交互,https://pypi.org/project/slackclient/
"python-telegram-bot~=11.0", # Telegram Bot API.的python接口,https://github.com/python-telegram-bot/python-telegram-bot
"twilio~=6.0", # Twilio API Python实现
"webexteamssdk~=1.1", # Webex Teams APIs
"mattermostwrapper~=2.0", # Mattermost 是一个 Slack 的开源替代品
"rocketchat_API~=0.6.0", # rocketchat_API
"colorhash~=1.0", # 针对对象的hash值生成颜色,https://pypi.org/project/colorhash/
"pika~=1.0.0", # RabbitMQ 客户端库
"jsonschema~=2.6", # 对json数据进行校验
"packaging~=19.0", # 打包
"gevent~=1.4", # https://www.liaoxuefeng.com/wiki/897692888725344/966405998508320,https://blog.csdn.net/freeking101/article/details/53097420
"pytz~=2019.1", # python时区设置
"python-dateutil~=2.8", # https://blog.csdn.net/handsomekang/article/details/10128671
"rasa-sdk~=1.3.0",
"colorclass~=2.2", # 为控制台添加颜色
"terminaltables~=3.1", # 控制台输出表格
"sanic~=19.6", # sanic web框架
"sanic-cors==0.9.9.post1", # 实现跨域访问很方便的扩展
"sanic-jwt~=1.3", # 认证插件
"aiohttp~=3.5", # https://www.liaoxuefeng.com/wiki/1016959663602400/1017985577429536
"questionary>=1.1.0", # 用于构建漂亮的命令行输入提示
"python-socketio>=4.3.1", # python socket.io
# the below can be unpinned when python-socketio pins >=3.9.3
"python-engineio>=3.9.3", # Engine.IO server and client
"pydot~=1.4", # 数据可视化
"async_generator~=1.10", #
"SQLAlchemy~=1.3.0", # 提供了SQL工具包及对象关系映射工具
"kafka-python~=1.4", # kafka python客户端
"sklearn-crfsuite~=0.3.6", # CRF suit
"PyJWT~=1.7", # json网络令牌
# remove when tensorflow@1.15.x or a pre-release patch is released
# https://github.com/tensorflow/tensorflow/issues/32319
"gast==0.2.2", # 通用的抽象语法树
]
extras_requires = {
"test": tests_requires,
"spacy": ["spacy>=2.1,<2.2"],
"mitie": ["mitie"],
"sql": ["psycopg2~=2.8.2", "SQLAlchemy~=1.3"],
}
|