Skip to main content

Python wrapper for larksuite/cli release binaries

Project description

lark-cli

Python wrapper for the official larksuite/cli release binary.

What it does

  • Resolves the latest GitHub release from https://github.com/larksuite/cli
  • Chooses the current platform asset automatically
  • Downloads and caches the binary during package installation
  • Runs the extracted lark-cli binary
  • Passes all CLI arguments through unchanged

Usage

lark-cli <any-args>

Example:

lark-cli api list --page 1

Local binary cache location

  • macOS/Linux: ~/.cache/lark-cli-python-wrapper/current/lark-cli
  • Windows: %LOCALAPPDATA%\lark-cli-python-wrapper\current\lark-cli.exe

Set LARK_CLI_WRAPPER_HOME to override this location.

If the cached binary is missing at runtime, lark-cli will automatically download it before execution.

If you want to see install-time download logs, install with verbose mode:

python3 -m pip install -e . -v

By default, install reuses the cached binary if it already exists. To force re-download during install:

LARK_CLI_FORCE_DOWNLOAD=1 python3 -m pip install -e . -v

Build & publish to PyPI

python3 -m pip install --upgrade build twine
python3 -m build
python3 -m twine check dist/*

Before upload, bump version in pyproject.toml (for example 0.1.4 -> 0.1.5).

Do not upload with dist/* if old files still exist in dist/, otherwise PyPI may reject duplicates.

Upload only the current version files explicitly (replace <version> with the exact value in pyproject.toml):

python3 -m twine upload \
  dist/lark_cli-<version>-py3-none-any.whl \
  dist/lark-cli-<version>.tar.gz \
  --verbose

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

lark_cli-0.1.5.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

lark_cli-0.1.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file lark_cli-0.1.5.tar.gz.

File metadata

  • Download URL: lark_cli-0.1.5.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for lark_cli-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2f627b7e72182b81a6e2d21925778acc3b4c1ae76e5dce6329c881b183bf142e
MD5 47fec9235ce2b7dcfde53c9d333f1586
BLAKE2b-256 7a20ac10789a6cc08de196496fc16b1361bdb91843d8d41ea887e2ba7ce42a3f

See more details on using hashes here.

File details

Details for the file lark_cli-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: lark_cli-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for lark_cli-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a785dbf1d2e9836e827c4ffb0339296735247e1da39a620b2358b01eaf461eb8
MD5 6be63b9137105aeae868fa36cfbc5a1e
BLAKE2b-256 c2422693ce64247decb234bcf6a9b0dcd088f1fbc5e877c3a89546d172e5bc4c

See more details on using hashes here.

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