trapi-cli
A gh-style command line interface for Trello.
Distribution name
trapi-cli; the installed command istrelloand the importable package istrello_cli.
Install
As a standalone CLI:
uv tool install trapi-cli # from PyPI
uv tool install -e . # from a local checkout (editable)
As a dependency of another project (to reuse the client in code):
uv add trapi-cli
from trello_cli.api import TrelloClient
from trello_cli.config import load_credentials
client = TrelloClient(*load_credentials())
client.get("/members/me")
The importable surface (TrelloClient, load_credentials, match_ref) exists
for the CLI's own use — treat it as unstable until a 1.0 release.
Setup
- Go to https://trello.com/power-ups/admin and create a (private) Power-Up
- Copy the API key
- Click the Token link next to the key to generate a user token
- Copy
.env.exampleto.env(or~/.config/trello-cli/.env) and fill both in
Verify with:
trello auth status
Usage
Boards, lists, and cards can be referenced by id, shortLink, or (partial) name.
trello board list # your boards
trello board view "My Board" # lists + card counts
trello list list -b "My Board"
trello list add "Doing" -b "My Board"
trello card list "My Board" # all cards
trello card list "My Board" -l Doing # one list
trello card view abc123XY --comments
trello card add "Fix the thing" -b "My Board" -l "To Do" -d "details" --due 2026-07-31
trello card edit abc123XY --name "New title" --clear-due
trello card move abc123XY -l Done
trello card archive abc123XY # --undo to restore
trello card comment abc123XY -m "done in #42"
trello search "invoice"
Every command takes a global --json flag for scripting:
trello --json card list "My Board" | jq '.[].name'
Metadata
Release files for trapi-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trapi_cli-0.1.0.tar.gz | 15.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trapi_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / trapi_cli-0.1.0.tar.gz
| Download URL | trapi_cli-0.1.0.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
452154218bbbbb60ce336ae6967b0b87d70d5b4aaa36b91ff46149f52965684e
|
|
BLAKE2b-256 checksum How to use checksums |
113c29656c8a0e03a2cd97860e4a94a84754b8eb724641c9ab693bf44a0f6cde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 6, 2026.
Transparency logRelease files / trapi_cli-0.1.0-py3-none-any.whl
| Download URL | trapi_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60ce72d59332a021c634c7bbdd12f437a822fcd9f36427809417b282f7109e93
|
|
BLAKE2b-256 checksum How to use checksums |
9f4f1def20b169aa6ce4f3bbafd07bcc6f023e892e9f2ebab4c83412915bc92f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 6, 2026.
Transparency log