Skip to main content

deploy codecov

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

  1. Install ggshield
pip install ggshield
# or
brew install gitguardian/tap/ggshield
  1. Login to gitguardian
ggshield auth login
  1. Install the pre-commit hooks
pre-commit install

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sonyci-0.7.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sonyci-0.7.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file sonyci-0.7.1.tar.gz.

File metadata

  • Download URL: sonyci-0.7.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sonyci-0.7.1.tar.gz
Algorithm Hash digest
SHA256 3cc327f5049a88ca5f77ed31765add2c157df44aa2e7daed0815bff26f58b6a0
MD5 b0fe74f91e7d8c850b9a7af57886b8f5
BLAKE2b-256 49bb2cee425fbf1a700ad45219fa3daff7218d2ec6a9cce612de247210d4526f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sonyci-0.7.1.tar.gz:

Publisher: publish.yml on WGBH-MLA/sonyci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sonyci-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: sonyci-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sonyci-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f1decd7bf19a2346694f5042e67557c8e62b0e6b6641f190fc185493272e673
MD5 663985c029347d68d61f21da18a76f29
BLAKE2b-256 accacc3d03d193680f9a8832f27d3ede0cd95cb0479d4bc7c56a1fa01673e827

See more details on using hashes here.

Provenance

The following attestation bundles were made for sonyci-0.7.1-py3-none-any.whl:

Publisher: publish.yml on WGBH-MLA/sonyci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.8.1

2 files

0.8.0

2 files

This release

0.7.1 This release

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page