Skip to main content

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="标题")

Metadata

Release files for larkpy 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for larkpy 0.3.0
File Size Uploaded
larkpy-0.3.0.tar.gz 36.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for larkpy 0.3.0
File Interpreter ABI Platform
larkpy-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.8 kB

Release files / larkpy-0.3.0.tar.gz

Download URL larkpy-0.3.0.tar.gz
Size 36.8 kB
Tags Source
SHA-256 checksum
How to use checksums
119c19c8c6f716825406cdc4f8f5223f8b3b5a91d983c5883e9e1ce99b51059b
BLAKE2b-256 checksum
How to use checksums
3b3927bfe0468685652b78c4b6ef17750d90a2a8a7b32af5588c8d36812fcdc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2025.

Transparency log

Release files / larkpy-0.3.0-py3-none-any.whl

Download URL larkpy-0.3.0-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fb340c1a03fc2bda2af6e9caad6acb9bef5d3d2b66dd7ce2cffcbaa81defd09
BLAKE2b-256 checksum
How to use checksums
5a308ebb9e2081a85b5b183c4a98028acfc47e9c51a9264712102a58792decfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page