sonyci
A Sony Ci api client
Install
with pip
pip install sonyci
with git
git clone https://github.com/WGBH-MLA/sonyci.git && cd sonyci
uv sync
with docker
docker pull ghcr.io/wgbh-mla/sonyci:latest
docker run -it --rm ghcr.io/wgbh-mla/sonyci:latest
Configure
Create a file called .cred with the following contents, and add your credentials:
export CI_USERNAME=
export CI_PASSWORD=
export CI_CLIENT_ID=
export CI_CLIENT_SECRET=
export CI_WORKSPACE_ID=
Activate the variables:
source .cred
Alternate notation: (May not be available in your terminal)
. .cred
Use
Run the cli with ci
$ ci -h
Usage: ci [OPTIONS] COMMAND [ARGS]...
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version -V Show the version and exit. │
│ --verbose -v Show verbose output. │
│ --token -t PARSE_BEARER_TOKEN Sony CI token. [env var: CI_TOKEN] [default: None] │
│ --workspace-id -w TEXT Sony CI workspace ID. [env var: CI_WORKSPACE_ID] │
│ [default: None] │
│ --client-id -c TEXT Sony CI client ID. [env var: CI_CLIENT_ID] │
│ [default: None] │
│ --client-secret -s TEXT Sony CI client secret. [env var: CI_CLIENT_SECRET] │
│ [default: None] │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or │
│ customize the installation. │
│ --help -h Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────╮
│ asset Search for files in a Sony CI workspace │
│ download Download a file from Sony CI │
│ get Make a GET request to Sony CI. │
│ login Login to Sony CI. │
│ post Make a POST request to Sony CI. │
│ search Search for files in a Sony CI workspace │
│ tui │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Login
ci login
develop
pre-commit secret scanning
- Install ggshield
pip install ggshield
# or
brew install gitguardian/tap/ggshield
- Login to gitguardian
ggshield auth login
- Install the pre-commit hooks
pre-commit install
Metadata
Release files for sonyci 0.9.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 | Provenance | Actions |
|---|---|---|---|---|
| sonyci-0.9.0.tar.gz | 9.0 kB | With provenance | Details for sonyci-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonyci-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for sonyci-0.9.0-py3-none-any.whl |
Total release size: 20.1 kB
Release files / sonyci-0.9.0.tar.gz
| Download URL | sonyci-0.9.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
336dc1cad39181e8c414f21afa83102e0256bc9adf43035163b1830a7b71f3f2
|
|
BLAKE2b-256 checksum How to use checksums |
325ace2e592f322f9a99de002f72407b10639b7f3a4dadaaa1a4dc5b08a47488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 21, 2026.
Transparency logRelease files / sonyci-0.9.0-py3-none-any.whl
| Download URL | sonyci-0.9.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c801a1fc8eff9dca8b4f17f288c306701c998d875d3946ffe52f7f26536d2aa1
|
|
BLAKE2b-256 checksum How to use checksums |
c69c499749e404c04d1af38d66a64266d35430d59211c7de767e8827faf1f6ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 21, 2026.
Transparency logSecurity for sonyci 0.9.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for sonyci-0.9.0.tar.gz
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 Sep 21, 2026.
Transparency logA 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.