Feishu/Lark plugin for elizaOS - Python implementation for bot integration
Project description
Feishu/Lark Plugin for elizaOS (Python)
Python implementation of the Feishu/Lark plugin for elizaOS agents.
Installation
pip install elizaos-plugin-feishu
Usage
from elizaos_plugin_feishu import FeishuService, FeishuConfig
# Create configuration
config = FeishuConfig.from_env()
# Or create manually
config = FeishuConfig(
app_id="cli_xxx",
app_secret="your-app-secret",
domain="feishu", # or "lark" for global
)
# Create and start service
service = FeishuService(config)
await service.start()
# Send a message
await service.send_message(
chat_id="oc_xxx",
content=FeishuContent(text="Hello from elizaOS!")
)
# Stop service
await service.stop()
Configuration
Environment variables:
FEISHU_APP_ID: Application ID (required)FEISHU_APP_SECRET: Application secret (required)FEISHU_DOMAIN: "feishu" or "lark" (default: "feishu")FEISHU_ALLOWED_CHATS: JSON array of allowed chat IDs
License
MIT
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
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 elizaos_plugin_feishu-2.0.0a5.tar.gz.
File metadata
- Download URL: elizaos_plugin_feishu-2.0.0a5.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30e1e7776f8c1d9ed2fdc00bc7b5403d684621137aa1f008a8ebba2fcd521772
|
|
| MD5 |
006152e65ecba3db2aaf3810d03690bc
|
|
| BLAKE2b-256 |
8aab54965f119004ca1d2c8b7caea24f4d160a0ca39cdba2f7c00eb9dcae1904
|
File details
Details for the file elizaos_plugin_feishu-2.0.0a5-py3-none-any.whl.
File metadata
- Download URL: elizaos_plugin_feishu-2.0.0a5-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
853d708dba7ca4753fd6235603d0bade8848c645f50d3acece83120cd4881843
|
|
| MD5 |
570c01327007b31506d2d8318be61f13
|
|
| BLAKE2b-256 |
272c15bbcf822f269041899b21a927fc706a918682a806c70bddac807a320aa5
|