bluethroat
Command-line client for BlueSkills, BlueGate, and BluePaper. Log in once with the Bluethroat GitHub App.
uv tool install bluethroat
bluethroat auth login
bluethroat blueskills scan https://github.com/owner/repository --ref <commit>
bluethroat clone https://github.com/owner/repository --ref <commit>
bluethroat bluegate scan https://github.com/owner/repository --ref <commit>
bluethroat bluepaper convert suspicious.docx
clone and bluegate scan are the same BlueGate scan. Neither runs git. The text report ends with a clone command pinned to the scanned commit. --json prints the scan document from either product. On the BlueGate commands, --agent prints the fenced agent report. Without a format flag, the command prints text.
bluepaper convert uploads a document, waits for the isolated pixel rebuild, prints the byte-indicator report, and writes <source stem>-safe.pdf. Use -o PATH to choose another output, --ocr-lang eng to request OCR, and --force to replace an existing regular file. --json prints the conversion and report document; the safe PDF is still written. A successful rebuild exits 0 with no indicators or 1 with indicators. A failed rebuild exits 7 and does not write a PDF.
Configuration
| Variable | Purpose |
|---|---|
BLUETHROAT_GITHUB_CLIENT_ID |
GitHub App client ID. Defaults to the Bluethroat app (Iv23liH0YU6oTHHz0i8O). |
BLUETHROAT_GITHUB_CLIENT_SECRET |
Optional, for development only. Revokes directly at GitHub instead of through BlueSkills. Do not put this in the distributed client. |
BLUETHROAT_API_URL |
BlueSkills API origin. Defaults to https://blueskills-web-hzdtf5buftehbya8.z03.azurefd.net. |
BLUETHROAT_BLUEGATE_API_URL |
BlueGate API origin. Defaults to https://bluegate.bluethroatlabs.com. |
BLUETHROAT_BLUEPAPER_API_URL |
BluePaper API origin. Defaults to https://bluepaper.bluethroatlabs.com. |
The same keys can live in ~/.config/bluethroat/config.json as github_client_id, github_client_secret, api_url, bluegate_api_url, and bluepaper_api_url. Environment variables win.
The GitHub session is stored in the operating-system credential store, or in a mode 0600 file at ~/.config/bluethroat/credentials.json when that store is unavailable.
blueskills scan, clone, bluegate scan, and bluepaper convert send Authorization: Bearer with the GitHub user access token. Each API checks it against the Bluethroat CLI GitHub App; BluePaper also binds each conversion to that GitHub user id. The access token lasts 8 hours; the CLI refreshes it with GitHub on its own, which needs no client secret for a device-flow login. auth logout asks BlueSkills (POST /auth/github/revoke) to revoke the token, since only the server holds the secret.
Metadata
Release files for bluethroat 0.1.3
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 |
|---|---|---|---|---|
| bluethroat-0.1.3.tar.gz | 17.8 kB | Without provenance | Details for bluethroat-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bluethroat-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for bluethroat-0.1.3-py3-none-any.whl |
Total release size: 41.5 kB
Release files / bluethroat-0.1.3.tar.gz
| Download URL | bluethroat-0.1.3.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c625a7950f4163f47c080f2d114d7a33bd52c4fcefa778ba754ca2fdecf0419a
|
|
BLAKE2b-256 checksum How to use checksums |
8a24004f1bcbf2b2168e835b100388c0288fc3a5499633f70e05f37ce02095df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / bluethroat-0.1.3-py3-none-any.whl
| Download URL | bluethroat-0.1.3-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7289a4c9213097ba9b5ea4bca7fe272d8a33a9b3f31dbca28a119ed34790f2eb
|
|
BLAKE2b-256 checksum How to use checksums |
7a899a72a01a2ff2cd33e5e4438f10ae1cecd4bca7cc16ce36cf694dbe5c2a90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for bluethroat 0.1.3
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.