Skip to main content

飞书开放平台 Python 接口 | Python SDK for Lark

Project description

lark.py

飞书开放平台 Python 接口 | Python SDK for Lark

安装 Install

pip install larkpy

快速开始 Quick Start

from larkpy import FeishuBot, FeishuMessage, FeishuBitTable, FeishuDocx

url_webhook = "https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxx"
feishu = FeishuBot(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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

larkpy-0.0.3.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

larkpy-0.0.3-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file larkpy-0.0.3.tar.gz.

File metadata

  • Download URL: larkpy-0.0.3.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for larkpy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fef01e8db69536dd27eeccaada5fe60e0a80d843e0acadc6ec484071239e1eda
MD5 d9e316aea41eea7e8a964e16481e4ba3
BLAKE2b-256 2af2042ce33c0c0a76a5e36698dd449267e80527aaf08cac4c32055973a77928

See more details on using hashes here.

Provenance

The following attestation bundles were made for larkpy-0.0.3.tar.gz:

Publisher: ci-cd.yml on Benature/larkpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file larkpy-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: larkpy-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for larkpy-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 490899096f8b048ebf898515a070ee17da3bb7114f6e8585034f9dcbf2fd5a6a
MD5 f67629fa4fc6c1be74d109a8be0a3526
BLAKE2b-256 136dff157e08c181f8a905bdd65370bcf100a55f5fbc962922f41e7dff01c697

See more details on using hashes here.

Provenance

The following attestation bundles were made for larkpy-0.0.3-py3-none-any.whl:

Publisher: ci-cd.yml on Benature/larkpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page