Harbor Check CLI
Install with python -m pip install ./saas/harbor-check-cli.
Login once; the token is stored with mode 0600 and reused by later commands:
harbor-check login --server 101.46.8.169 --username alice --password 'secret'
harbor-check tasks
An address without a scheme is treated as http://; use --server http://101.46.8.169:8000 when Harbor Check is listening on a non-default port.
harbor-check --server https://review.example.com tasks
harbor-check --server https://review.example.com folders
harbor-check --server https://review.example.com folder-tasks batch-name
The CLI authenticates with the server's /api/auth/login endpoint. Configure
Django with HARBOR_CHECK_AUTH_REQUIRED=1 and HARBOR_CHECK_USERS_JSON.
Values may be plaintext for local development or pbkdf2_sha256$rounds$salt$hex
hashes for deployment. Authenticated users can see all users' tasks and folders.
Use --json for machine-readable output.
For cloud hosts whose users are real SSH/system accounts, set
HARBOR_CHECK_OS_AUTH=1 on the server. The login endpoint then verifies the
same username/password against the server's SSH daemon (optionally using
HARBOR_CHECK_SSH_HOST). This lets a laptop authenticate without copying the
password into the application database.
Plain HTTP exposes the login password and review data to anyone able to observe the network path. For public access, put Django behind HTTPS, or use an SSH tunnel from the laptop:
ssh -N -L 8000:127.0.0.1:8000 alice@101.46.8.169
harbor-check login --server http://127.0.0.1:8000 --username alice
Install and use from 101.46.8.169
On a laptop with network access to the server:
python -m pip install --upgrade harbor-check-cli
harbor-check login --server http://101.46.8.169:8000 --username YOUR_SERVER_USERNAME
harbor-check tasks
harbor-check folders
harbor-check folder-tasks YOUR_FOLDER_NAME
The token is stored in ~/.config/harbor-check/credentials.json with 0600
permissions. Use --json for scripts. If the server is exposed only through
SSH, create a tunnel first:
ssh -N -L 8000:127.0.0.1:8000 YOUR_SERVER_USERNAME@101.46.8.169
harbor-check login --server http://127.0.0.1:8000 --username YOUR_SERVER_USERNAME
# Upload through the same tunnel. The CLI probes this local endpoint even if
# an older credentials file still contains the public server address.
harbor-check upload /Users/bytedance/Downloads/testing-hb-check-cli --username YOUR_SERVER_USERNAME
# An explicit override is also available:
harbor-check upload --server http://127.0.0.1:8000 /Users/bytedance/Downloads/testing-hb-check-cli --username YOUR_SERVER_USERNAME
The server must enable HARBOR_CHECK_AUTH_REQUIRED=1 and configure either
HARBOR_CHECK_USERS_JSON or HARBOR_CHECK_OS_AUTH=1.
Metadata
Release files for harbor-check-cli 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| harbor_check_cli-0.1.13.tar.gz | 6.2 kB | Without provenance | Details for harbor_check_cli-0.1.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| harbor_check_cli-0.1.13-py3-none-any.whl | Python 3 | none | any | Details for harbor_check_cli-0.1.13-py3-none-any.whl |
Total release size: 13.5 kB
Release files / harbor_check_cli-0.1.13.tar.gz
| Download URL | harbor_check_cli-0.1.13.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
310f5fa36307dcc416d32274d7b3a004b10e26eb88eb37cf2677572251461ae6
|
|
BLAKE2b-256 checksum How to use checksums |
cf1abe860974eb8fff57ca6fe0d236fbe70dc4bacbcd3ccbbb7115bcbb5e4bb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / harbor_check_cli-0.1.13-py3-none-any.whl
| Download URL | harbor_check_cli-0.1.13-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a062269d077decb3e2da5169a9b69e4f285068edc51b05503cd80a11d0c35e13
|
|
BLAKE2b-256 checksum How to use checksums |
16bd603aede0d1fd3af54eecfd5d7e5f8daab147988503abb9c391ccf47a2276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for harbor-check-cli 0.1.13
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.