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.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sonyci-0.8.2.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sonyci-0.8.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.5 kB
Release files / sonyci-0.8.2.tar.gz
| Download URL | sonyci-0.8.2.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdaa2b6e117308edca8cd5f96ceddc02bd878820704624eca6ccf080304df593
|
|
BLAKE2b-256 checksum How to use checksums |
57c5e79a35c7ed9b0593d83682646e5be6b24850522dc7e8b969e9283232196e
|
| 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 16, 2026.
Transparency logRelease files / sonyci-0.8.2-py3-none-any.whl
| Download URL | sonyci-0.8.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49a27366b8c77719dad2cd5d2d26157f635768e823caa4049b4f4d322cb179b2
|
|
BLAKE2b-256 checksum How to use checksums |
f0f6dd5613c98cc4dd7ecd5b3209e68f34a6a02ab6eefca1d9daad5e95b318df
|
| 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 16, 2026.
Transparency log