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.0a22

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.0a22
File Size Uploaded Provenance
coho_cli-2026.1.0a22.tar.gz 157.5 kB With provenance Details

Built distribution (wheel)

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

Total release size: 223.0 kB

Release files / coho_cli-2026.1.0a22.tar.gz

Download URL coho_cli-2026.1.0a22.tar.gz
Size 157.5 kB
Tags Source
SHA-256 checksum
How to use checksums
70f336056af37596c43f5ede102165cf7a5a334ccd4f53a9624eb346daac9100
BLAKE2b-256 checksum
How to use checksums
36ace3430a1cc0d37706b87772179c11400e6cbd23a2091c4bab5776913a2f88
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.0a22-py3-none-any.whl

Download URL coho_cli-2026.1.0a22-py3-none-any.whl
Size 65.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e98726bf91b79e9eda4335967386672cd50ad952a6809b5d5ae83337084d53b0
BLAKE2b-256 checksum
How to use checksums
f644340114147ad02f2e65c27b5bd1d16e90007865b50307497b6aa2c30c0bbc
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.0a22

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.0a22.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