CI helper CLI for Python projects.
Add qpyci to your project (usually as a dev dependency) and call it from CI.
Install from GitHub:
python -m pip install "qpyci @ git+https://github.com/fluent-qa/qpyci.git"If you use uv:
uv pip install "qpyci @ git+https://github.com/fluent-qa/qpyci.git"Pin to a tag/commit for reproducible CI:
python -m pip install "qpyci @ git+https://github.com/fluent-qa/qpyci.git@v0.1.0"Optional: add script aliases in your project’s pyproject.toml so CI can call stable names:
[project.scripts]
ci-clean = "qpyci.commands:cleanup"
ci-badge = "qpyci.commands:generate_badge"
ci-format = "qpyci.commands:check_format"
ci = "qpyci.commands:ci"Then call them:
qpyci coverageIf the GitHub repo is private, use either an SSH remote (git+ssh://...) or an HTTPS URL with a GitHub token (PAT) available to your CI.
Show available commands:
qpyci --helpClean build artifacts (build/, dist/, caches, pycache):
qpyci cleanupGenerate coverage.svg (uses coverage-badge if available; otherwise no-op):
qpyci badgeRun tests with coverage for the current project (reads project.name from pyproject.toml; requires pytest; uses pytest-cov if installed):
qpyci coverageRun ruff autofix + format (requires uv/uvx and ruff):
qpyci check-formatRun format + tests + badge:
qpyci ci