爬虫工具包
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.4.tar.gz
(4.5 kB
view details)
File details
Details for the file ics_utils-0.0.4.tar.gz.
File metadata
- Download URL: ics_utils-0.0.4.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 |
0e0d6c22eef13076068abd37b0b3b817a2c3bdf60367b5a789c50d16f985bb02
|
|
| MD5 |
d73b7aedc38f46778ad44396e16602ab
|
|
| BLAKE2b-256 |
eee5a300d013f3f116ea08c23863300a4295e2bf144403266f436b84a04ba7df
|