A Python package for pushing messages to Feishu (Lark)
Project description
NAC Pusher
一个用于向飞书(Lark)推送消息的Python包。
安装
pip install nac-pusher -U
使用方法
在使用之前,请设置以下环境变量:
FEISHU_APP_ID: 飞书应用的App IDFEISHU_APP_SECRET: 飞书应用的App Secret
然后在Python代码中使用:
from nac_pusher.feishu import FeishuBot
bot = FeishuBot()
bot.append_push_txt('Hello, World!').send()
许可证
本项目采用MIT许可证 - 详见LICENSE文件了解详情。
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nac_pusher-0.1.2.tar.gz.
File metadata
- Download URL: nac_pusher-0.1.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c57548dc3c1c6ef27e9f2d313485393c829f5569c2488131d7177cc9cf49f5d8
|
|
| MD5 |
1c5229f2f9a40ba6ea1592c59cbc4720
|
|
| BLAKE2b-256 |
4a8fc9bb7bf5dded108b61e97a3de63efc04e8947a22c99b547f4d85b238c813
|
File details
Details for the file nac_pusher-0.1.2-py3-none-any.whl.
File metadata
- Download URL: nac_pusher-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b278dce6ae12ff47f8d30f53e1a6a282c7fbf6ad27a0ed471c4cca34cb762554
|
|
| MD5 |
a3d11b44a631f7ea2095ff784e5c8b26
|
|
| BLAKE2b-256 |
e88954c1936f004a0ccdb3b9fcf019d3ec8be7f6a2bb8d73e9042d17fe62d75d
|