yuppie-lark
飞书(Lark / Feishu)OpenAPI 客户端库,基于 tenant_access_token 鉴权,覆盖消息、多维表格、电子表格、云文档(Drive)四大业务域。同步(httpx),无 MCP 依赖。
安装
pip install yuppie-lark
快速开始
from yuppie_lark import LarkClient, LarkConfig
client = LarkClient(LarkConfig.from_env()) # 读取 LARK_APP_ID / LARK_APP_SECRET / LARK_BASE_URL
resp = client.send_message(
receive_id_type="open_id",
receive_id="ou_xxx",
msg_type="text",
content='{"text": "hello"}',
)
print(resp)
环境变量:
LARK_APP_ID(必填)LARK_APP_SECRET(必填)LARK_BASE_URL(可选,默认https://open.feishu.cn)
能力域
| Mixin | 能力 |
|---|---|
MessagesMixin |
消息发送 |
BitableMixin / QuickBitableMixin |
多维表格记录增删改查、批量操作、应用/表格管理 |
SheetsMixin / QuickSheetsMixin |
电子表格读写、格式、批量操作 |
DriveMixin |
云文档/文件夹管理、上传下载 |
详细 API 见各模块 docstring。
相关
本包是 yuppie-mcp-lark(MCP Server 壳包)的底层客户端库。若要用 MCP 方式操作飞书,请安装:
pip install yuppie-mcp-lark
Metadata
Release files for yuppie-lark 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yuppie_lark-0.5.0.tar.gz | 17.6 kB | Without provenance | Details for yuppie_lark-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yuppie_lark-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for yuppie_lark-0.5.0-py3-none-any.whl |
Total release size: 40.6 kB
Release files / yuppie_lark-0.5.0.tar.gz
| Download URL | yuppie_lark-0.5.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ba3d28436bc39e2d896af80dc7031c2278728361bf3df1be884bb41dea6bb97
|
|
BLAKE2b-256 checksum How to use checksums |
90ecefc20d4c27e8f3ea35740b74d169ab10744e72a3daeaba25b8110073118b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / yuppie_lark-0.5.0-py3-none-any.whl
| Download URL | yuppie_lark-0.5.0-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0535b77db304723b13c7177617bf54512c1ec446c3a09def49e58ee9c679686
|
|
BLAKE2b-256 checksum How to use checksums |
9190ccb8f0e943f08f3969ca13f6c1c1730e3cf9e095c9853073a1821516bb68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for yuppie-lark 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.