Metadata-Version: 2.4
Name: nac-pusher
Version: 0.1.1
Summary: A Python package for pushing messages to Feishu (Lark)
Home-page: https://github.com/yourusername/nac-pusher
Author: Necoarc
Author-email: Your Name <your.email@example.com>
Project-URL: Homepage, https://github.com/yourusername/nac-pusher
Project-URL: Repository, https://github.com/yourusername/nac-pusher
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lark-oapi>=1.4.22
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# NAC Pusher

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

## 安装

```bash
pip install nac-pusher
```

## 使用方法

在使用之前，请设置以下环境变量：

- `FEISHU_APP_ID`: 飞书应用的App ID
- `FEISHU_APP_SECRET`: 飞书应用的App Secret

在Linux/Mac系统中设置环境变量：
```bash
export FEISHU_APP_ID=your_app_id
export FEISHU_APP_SECRET=your_app_secret
```

在Windows系统中设置环境变量：
```cmd
set FEISHU_APP_ID=your_app_id
set FEISHU_APP_SECRET=your_app_secret
```

然后在Python代码中使用：
```python
from nac_pusher.feishu import FeishuBot

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

## 许可证

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