Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

coho-cli

The management CLI and Python SDK for Coho: log in once, set a context, and move content through the pipeline with nouns everybody already knows.

coho login                                  # PKCE in a browser, tokens in the keyring
coho use acme                               # the account; then a project, then a ref
coho project create "Marketing site"        # trunk v0.0.x + dev/qa/stage/prod
coho type put blogPost --file blogPost.json
coho entry create -t blogPost -s hello --set title.en-US=Hello
coho branch create feature/pricing          # and switches to it
coho diff v0.0.x                            # three-dot, conflicts included
coho merge --into v0.0.x -m "New pricing"
coho ref switch v0.0.x                      # back to the trunk
coho tag create v1.4.0 --branch v0.0.x -m "Q3 catalogue"
coho promote qa v1.4.0                      # waits for the snapshot unless --no-wait
coho rollback prod                          # the previous target, conditionally
coho key create --label site-prod --ref prod    # the delivery key, shown once
coho invite create jane@example.com --role member

This repository holds the command. It is a thin layer over coho-management-sdk, the Python library, which lives in its own repository along with the API contracts both implement — so a script can import the library without installing a CLI.

Repository Import / command
The command coho-cms/coho-cli coho
The library coho-cms/coho-management-sdk-python from coho_management_sdk import Coho

The CLI speaks to Coho's BFF with a person's bearer token, exactly like a browser session does. It never sees an authoring credential, which is what makes it safe to publish.

Install

uv tool install coho-cli          # or: pipx install coho-cli

Python 3.11 or newer; uv downloads one if you have none. The package is coho-cli: coho on PyPI is an unrelated project. Install covers building from source.

Documentation

Start with the quickstart. Everything else is in docs/:

Status

Alpha. The command surface is complete for login, accounts, members, invitations, projects, roles, refs, branches, tags, content types, entries, diff/merge, environments, tiers, delivery keys, export and preview. Two things the server does not yet offer are handled locally and flagged in the docs: project listing (a local registry).

Licence

Apache-2.0. See LICENSE.

Metadata

Release files for coho-cli 2026.1.0a21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coho-cli 2026.1.0a21
File Size Uploaded Provenance
coho_cli-2026.1.0a21.tar.gz 154.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for coho-cli 2026.1.0a21
File Interpreter ABI Platform
coho_cli-2026.1.0a21-py3-none-any.whl Python 3 none any Details

Total release size: 219.6 kB

Release files / coho_cli-2026.1.0a21.tar.gz

Download URL coho_cli-2026.1.0a21.tar.gz
Size 154.5 kB
Tags Source
SHA-256 checksum
How to use checksums
65c8b70c4a170c19a5d87385b8e3ca8d5bcd6f3e9655f495212da04e6cfa2935
BLAKE2b-256 checksum
How to use checksums
562bb9bed345e7d3cb10d77aa86b0ede695c7b3fa53944509943f1b2c1999376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Release files / coho_cli-2026.1.0a21-py3-none-any.whl

Download URL coho_cli-2026.1.0a21-py3-none-any.whl
Size 65.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fc716b86d1bb80bbfd2d59d6673e3cc3b82342f1ab5e87e53219454d24b0cad
BLAKE2b-256 checksum
How to use checksums
f74119fde54ef6d3b5cb02a1d6358775be85771fb637e385d108a92be35df1a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Security for coho-cli 2026.1.0a21

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.

Select from 2 files

Attestation for coho_cli-2026.1.0a21.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 Oct 24, 2026.

Transparency log

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.

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