飞书开放平台 Python 接口 | Python SDK for Lark
Project description
lark.py
飞书开放平台 Python 接口 | Python SDK for Lark
安装 Install
pip install larkpy
快速开始 Quick Start
from larkpy import LarkBot
url_webhook = "https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxx"
feishu = LarkBot(url_webhook)
# example 1
feishu.send_text(f"test")
# example 2
payload = [
dict(tag="text", text=f"随便说点啥,然后配个链接" + "\n"),
dict(tag="a", text="🔗 link", href="https://www.github.com")
]
feishu.send_with_payload(payload, title="标题")
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 larkpy-0.2.1.tar.gz.
File metadata
- Download URL: larkpy-0.2.1.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce4f10613aa34aac72eb07b234ba9f262b8da8bf66b8ad96d6fac003e58b3b39
|
|
| MD5 |
dd10f6db98e797d0d36a8a6c6cd7ec4c
|
|
| BLAKE2b-256 |
89e54c0729c16ef7b68deb6b7326fe00df40afa8d2f269b815bdf5c6d7e6b149
|
Provenance
The following attestation bundles were made for larkpy-0.2.1.tar.gz:
Publisher:
ci-cd.yml on Benature/larkpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
larkpy-0.2.1.tar.gz -
Subject digest:
ce4f10613aa34aac72eb07b234ba9f262b8da8bf66b8ad96d6fac003e58b3b39 - Sigstore transparency entry: 183025499
- Sigstore integration time:
-
Permalink:
Benature/larkpy@48a162867f149287b1105cc1c94314e14185026f -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Benature
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@48a162867f149287b1105cc1c94314e14185026f -
Trigger Event:
push
-
Statement type:
File details
Details for the file larkpy-0.2.1-py3-none-any.whl.
File metadata
- Download URL: larkpy-0.2.1-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8472666573d063cb581e62e18a80134fe1c54aac2f409ecf24a74a3210603d9e
|
|
| MD5 |
db40bf5df71f74917dd3454f810a4433
|
|
| BLAKE2b-256 |
80cdcc7bfcbe14fe180e39d22a32be657fe62e2a3df75c7a48ec409ae338bd4a
|
Provenance
The following attestation bundles were made for larkpy-0.2.1-py3-none-any.whl:
Publisher:
ci-cd.yml on Benature/larkpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
larkpy-0.2.1-py3-none-any.whl -
Subject digest:
8472666573d063cb581e62e18a80134fe1c54aac2f409ecf24a74a3210603d9e - Sigstore transparency entry: 183025500
- Sigstore integration time:
-
Permalink:
Benature/larkpy@48a162867f149287b1105cc1c94314e14185026f -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Benature
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@48a162867f149287b1105cc1c94314e14185026f -
Trigger Event:
push
-
Statement type: