Skip to main content

A Python package for pushing messages to Feishu (Lark)

Project description

NAC Pusher

一个用于向飞书(Lark)推送消息的Python包。

安装

pip install nac-pusher -U

使用方法

在使用之前,请设置以下环境变量:

  • FEISHU_APP_ID: 飞书应用的App ID
  • FEISHU_APP_SECRET: 飞书应用的App Secret

然后在Python代码中使用:

from nac_pusher.feishu import FeishuBot

bot = FeishuBot()
bot.append_push_txt('Hello, World!').send()

更新日志

  • 0.1.3: 初始版本,基本功能实现

许可证

本项目采用MIT许可证 - 详见LICENSE文件了解详情。

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

nac_pusher-0.1.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nac_pusher-0.1.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file nac_pusher-0.1.3.tar.gz.

File metadata

  • Download URL: nac_pusher-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for nac_pusher-0.1.3.tar.gz
Algorithm Hash digest
SHA256 347d50ac9ab78082e3c3189a6c9f594956f1bc5dd6972186c3bae6ff8ab22f20
MD5 861622c81b72c2254dc43c3a697a8d5a
BLAKE2b-256 eb7e6ac61524ca87cf3712866421d665d28c077c96f057d37c90c4789e298825

See more details on using hashes here.

File details

Details for the file nac_pusher-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: nac_pusher-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for nac_pusher-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17daa4f445768f8b768fed8d0e84edd43ba8d69b4e7b94dc0dc1e85f3b030820
MD5 13511720c223aaa88e4359fd6b236cf2
BLAKE2b-256 6cb3a853cd8a2706271704cdf8bccb33c9fe0ab89b0e295f5e1d347caf084432

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