A Sony Ci api client
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sonyci-0.6.0.tar.gz.
File metadata
- Download URL: sonyci-0.6.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82e7fba9be3189994149c2ec044feaf4978d1ef557f35a3b9f2eb3f85394e727
|
|
| MD5 |
f1540a3613a71d97237f0a00f161eb8c
|
|
| BLAKE2b-256 |
fe14792b3f9d114f58aaeb5ed283fb4e5d657b12b189bbd735fc1f73bc6c7f27
|
Provenance
The following attestation bundles were made for sonyci-0.6.0.tar.gz:
Publisher:
publish.yml on WGBH-MLA/sonyci
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sonyci-0.6.0.tar.gz -
Subject digest:
82e7fba9be3189994149c2ec044feaf4978d1ef557f35a3b9f2eb3f85394e727 - Sigstore transparency entry: 1219801830
- Sigstore integration time:
-
Permalink:
WGBH-MLA/sonyci@11ece50dfb016813d4be32b884da114608c0c269 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/WGBH-MLA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@11ece50dfb016813d4be32b884da114608c0c269 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sonyci-0.6.0-py3-none-any.whl.
File metadata
- Download URL: sonyci-0.6.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a467d1d4a2a45674a6395e82a7b594f3118c245b1e7da98f4cab3cab6f696985
|
|
| MD5 |
64d73a7d01efebc51eb1c8ea2588b01c
|
|
| BLAKE2b-256 |
bfe444811c338b96d938596d341970c371fcc5da5bb04f44008cd761d1198464
|
Provenance
The following attestation bundles were made for sonyci-0.6.0-py3-none-any.whl:
Publisher:
publish.yml on WGBH-MLA/sonyci
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sonyci-0.6.0-py3-none-any.whl -
Subject digest:
a467d1d4a2a45674a6395e82a7b594f3118c245b1e7da98f4cab3cab6f696985 - Sigstore transparency entry: 1219801871
- Sigstore integration time:
-
Permalink:
WGBH-MLA/sonyci@11ece50dfb016813d4be32b884da114608c0c269 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/WGBH-MLA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@11ece50dfb016813d4be32b884da114608c0c269 -
Trigger Event:
push
-
Statement type: