diff --git a/core/statistics.py b/core/statistics.py new file mode 100644 index 0000000..e69de29 diff --git a/core/wechat.py b/core/wechat.py new file mode 100644 index 0000000..7a78d80 --- /dev/null +++ b/core/wechat.py @@ -0,0 +1,10 @@ +""" +微信群发功能 +建议使用企业微信 +但需要管理员提供企业id以及secret信息 +通过wechatpy库实现 +""" +import wechatpy +import logging + +logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s: %(message)s') diff --git a/requirements.txt b/requirements.txt index 142ea21..9b4c77c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,6 @@ okx>=2.1.2 pandas>=2.0.0 -numpy>=1.20.0 -requests>=2.25.0 \ No newline at end of file +requests>=2.25.0 +sqlalchemy >= 2.0.41 +pymysql >= 1.1.1 +wechatpy >= 1.8.18 diff --git a/wechat.py b/wechat.py deleted file mode 100644 index 5d68af7..0000000 --- a/wechat.py +++ /dev/null @@ -1,6 +0,0 @@ -""" -微信群发功能 -建议使用企业微信 -但需要管理员提供企业id以及secret信息 -通过wechatpy库实现 -""" \ No newline at end of file