Skip to main content

爬虫工具包

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.6.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file ics_utils-0.0.6.tar.gz.

File metadata

  • Download URL: ics_utils-0.0.6.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.13

File hashes

Hashes for ics_utils-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4a9f8a4a6a315bc431b022da4a16d34de333e5b396635e9f038609ada1004d74
MD5 2255ec002de604b66230237babdd6643
BLAKE2b-256 0cf3e64785a9ff6b1b1fb2fe61a2fe975e202d65243a46ed0e6737a2a4dbf18d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page