skillfed

codecov-cli

Codecov Command Line Interface

codecov-cli v11.3.1 1.0M downloads/30d#4,444 on PyPI84
License unclear Active released

What it is and what it does

CodecovCLI is a terminal-based tool that replaces manual Codecov interactions with command-line operations. It lets you save commit metadata, create coverage reports, and upload coverage data directly from your CI pipeline or local machine. The package wraps Codecov's API behind a set of subcommands (create-commit, create-report, do-upload, and others) that can be chained together or run individually, with most parameters auto-detected from your CI environment or git metadata when available.

The tool is designed as a modern alternative to older coverage uploaders, supporting multiple git providers (GitHub, GitLab, Bitbucket, and their enterprise variants) and allowing you to customize behavior via codecov.yml configuration files. It depends on click for CLI scaffolding, requests for HTTP communication, PyYAML for config parsing, ijson for JSON streaming, sentry-sdk for error reporting, and test-results-parser for test result handling.

Use it for:

  • Automate coverage uploads in CI/CD pipelines by chaining create-commit, create-report, and do-upload commands in a single workflow step.
  • Manually create and manage Codecov commits and reports from your local development environment without leaving the terminal.
  • Upload coverage reports from self-hosted or enterprise Codecov instances using the --enterprise-url flag.
  • Integrate coverage notifications into your CI workflow using the send-notifications command after upload completion.
  • Replace an older NodeJS-based uploader with a Python-native alternative in existing CI configurations.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A command-line interface for interacting with Codecov directly from your terminal or CI platform, enabling you to create commits, generate reports, and upload coverage data.

Yes, with a license caveat. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is widely used (top 5000 on PyPI). However, verify the actual license terms before use in proprietary or restricted projects, since the metadata does not declare one. If you are already using Codecov and need a terminal-based uploader for CI or local workflows, this is a solid choice.

Install

codecov-cli on PyPI

pip

pip install codecov-cli

uv

uv add codecov-cli

poetry

poetry add codecov-cli

Installing codecov-cli

Before you install

Low install friction with a pure Python wheel and six runtime dependencies. The package is actively maintained with a recent release and no known vulnerabilities, though the repository has a modest star count.

License in practice

License status is unclear—no SPDX identifier or raw license text is available in the package metadata. You should verify the actual license terms before adopting it in a commercial or restricted context.

Quickstart

pip install codecov-cli

from codecov_cli.commands.create_commit import create_commit

# Or use the CLI directly:
# codecovcli create-commit --sha <commit-sha> --token $CODECOV_TOKEN --git-service github

Requires Python 3.9 or later. A Codecov upload token (repository or global) is required for most commands.

Verify before relying

  • Whether the package is suitable for enterprise Codecov deployments (the description mentions enterprise-url support but does not detail compatibility).
  • The scope and maturity of the plugin system and static analysis features mentioned as 'Work in Progress'.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 6 — click, ijson, PyYAML, requests, sentry-sdk, test-results-parser
Maintenance actively maintained — 36 days since the last release
Last repo commit
First released
Downloads 1,049,784/month — #4,444 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: codecov_cli-11.3.1-py3-none-any.whl

Tags

codecov coverage upload clicommand line coverage reportingci coverage integration toolcodecov commit and report creationterminal-based coverage uploadercodecov ci workflow automationcoverage data management cli
ci-cdcoverage-reportingcli-tool

More Quality Assurance packages