爬虫工具包
Project description
ics_utils
爬虫工具包
安装
pip install ics-utils
使用
发送企微消息通知
from ics_utils import WxWork
work = WxWork(bot_key='')
work.send_text_msg('hello')
work.send_markdown_msg('# 标题 \n ## 小标题')
# 发送图片,二选一
work.send_image_msg(file_path='')
work.send_image_msg(file_content=b'')
# 发送文件或者音频,三选一
work.send_voice_msg(file_path='')
work.send_voice_msg(file_path='', show_name='')
work.send_voice_msg(file_content=b'', show_name='')
work.send_file_msg(file_path='')
work.send_file_msg(file_path='', show_name='')
work.send_file_msg(file_content=b'', show_name='')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ics_utils-0.0.5.tar.gz
(4.5 kB
view details)
File details
Details for the file ics_utils-0.0.5.tar.gz.
File metadata
- Download URL: ics_utils-0.0.5.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af4f4b7bb1fd8327aa986e2745917eb02de2248162d662654cffbdd2bbf0c6e4
|
|
| MD5 |
470d072af71ff9369b2414167e215dcf
|
|
| BLAKE2b-256 |
ede87b14c7d903532a99eaeea80804e97bedf0496ea0bb2006eb296e0f5ef215
|