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-clibinary - 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 indist/, 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f627b7e72182b81a6e2d21925778acc3b4c1ae76e5dce6329c881b183bf142e
|
|
| MD5 |
47fec9235ce2b7dcfde53c9d333f1586
|
|
| BLAKE2b-256 |
7a20ac10789a6cc08de196496fc16b1361bdb91843d8d41ea887e2ba7ce42a3f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a785dbf1d2e9836e827c4ffb0339296735247e1da39a620b2358b01eaf461eb8
|
|
| MD5 |
6be63b9137105aeae868fa36cfbc5a1e
|
|
| BLAKE2b-256 |
c2422693ce64247decb234bcf6a9b0dcd088f1fbc5e877c3a89546d172e5bc4c
|