A Python package for pushing messages to Feishu (Lark)
Project description
NAC Pusher
一个用于向飞书(Lark)推送消息的Python包。
安装
pip install nac-pusher
使用方法
在使用之前,请设置以下环境变量:
FEISHU_APP_ID: 飞书应用的App IDFEISHU_APP_SECRET: 飞书应用的App Secret
在Linux/Mac系统中设置环境变量:
export FEISHU_APP_ID=your_app_id
export FEISHU_APP_SECRET=your_app_secret
在Windows系统中设置环境变量:
set FEISHU_APP_ID=your_app_id
set FEISHU_APP_SECRET=your_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.1.tar.gz
(3.7 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.1.tar.gz.
File metadata
- Download URL: nac_pusher-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e153d54104f27a9ff08e0d7c68d14d549d5db72515f269acf29115da6cc7d2e
|
|
| MD5 |
2061f0571d690ed6af8f09e3763fe9fa
|
|
| BLAKE2b-256 |
27af48c10432f1cbbe405847cd276e04c282a17351aabdaf51367fc56c2e6d31
|
File details
Details for the file nac_pusher-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nac_pusher-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 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 |
6992a0ea44b023b9192956e18e54d2e0f4748b9cfd9aa7db05bcf4d28cdeb8d3
|
|
| MD5 |
a13eef2509d38df6987c648db58b7716
|
|
| BLAKE2b-256 |
18a9ff7e55f2a80ecd1ddd3e135359f3cc38c6fdf3143d1ca2885a05e01e0f1f
|