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

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.1.tar.gz (17.4 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.1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: larkpy-0.0.1.tar.gz
  • Upload date:
  • Size: 17.4 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.1.tar.gz
Algorithm Hash digest
SHA256 ffc0af0378c42e70834d12dd479802059189e59cbafb0071be3bb704b1bcccc9
MD5 cceb2c61dfefe0062de72e0d89d18d83
BLAKE2b-256 ad788858749903024bae972b724204f512bb07add22211df08afb2952d0cfc43

See more details on using hashes here.

Provenance

The following attestation bundles were made for larkpy-0.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: larkpy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 503c5a4cfa034d7ea8ccc12f3619ead83df941ca68d3fc75d01218da7219858b
MD5 35ed43386fdb0bed815196a84f14168d
BLAKE2b-256 981672c060b6490ce5d897a184f5907a6f451cfb013d333d4f51de6ee8d066bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for larkpy-0.0.1-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