Skip to main content

patchops CLI

Official command-line interface for PatchOps Guard.

Install

pip install patchops-cli

Usage

# remote commands (require PATCHOPS_API_KEY)
export PATCHOPS_BASE_URL=https://patchguard.ai
export PATCHOPS_API_KEY=pk_live_...

patchops health
patchops findings list --kind cve --severity critical
patchops benchmark

# local scans (no backend needed)
patchops scan secrets ./my-repo
patchops scan mlbom ./my-repo

Local scanners

  • secrets — regex scan for AWS / GitHub / Anthropic key patterns
  • mlbom — ML model reference inventory (huggingface / openai / anthropic)

These run offline and never transmit source to our servers.

License

MIT

Metadata

Release files for patchops-cli 0.1.1

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

Source distribution (sdist)

Source distribution for patchops-cli 0.1.1
File Size Uploaded Provenance
patchops_cli-0.1.1.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for patchops-cli 0.1.1
File Interpreter ABI Platform
patchops_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / patchops_cli-0.1.1.tar.gz

Download URL patchops_cli-0.1.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d051ac80b386f599cf7655be3758eef5188b55daa397d3de698396f4634a216b
BLAKE2b-256 checksum
How to use checksums
a05de0c03daad4eaecf19a3fe00e7e7ce9cbcd768440ccdd18ab124095c5e9f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / patchops_cli-0.1.1-py3-none-any.whl

Download URL patchops_cli-0.1.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8895fe74ec1309bda9d615ba4c3d5fbf90e251820590383adfe743cf133c7361
BLAKE2b-256 checksum
How to use checksums
1d4ac4c4bb95c4688a3a34657a31c11451bc9475acb42acacae5c4c91a542089
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for patchops-cli 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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