cgd-verify
Quick pass/fail verification for Clarity-Gated Document (.cgd) files — optimized for CI/CD pipelines.
When to Use
| Tool | Use Case |
|---|---|
| cgd-verify | CI/CD pipelines, git hooks, quick checks |
| cgd-validator | Detailed reports, debugging, development |
Installation
pip install cgd-verify
CLI Usage
# Quick check - exit 0 if valid, exit 1 if invalid
cgd-verify document.cgd
# Multiple files
cgd-verify docs/*.cgd
# Silent mode (only exit code, no output)
cgd-verify document.cgd --silent
In CI/CD
# GitHub Actions
- run: pip install cgd-verify && cgd-verify docs/*.cgd
# Pre-commit hook
cgd-verify $(git diff --cached --name-only -- '*.cgd')
Python API
# Re-exports everything from cgd-validator
from cgd_verify import validate, is_valid, detect
if is_valid(content):
print('Valid')
Related
- cgd-validator - Detailed validation with warnings
- sot-verify - Quick verification for .sot files
- Clarity Gate - Full ecosystem
License
CC BY 4.0
Metadata
Release files for cgd-verify 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cgd_verify-0.1.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cgd_verify-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / cgd_verify-0.1.1.tar.gz
| Download URL | cgd_verify-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e04fc16b46ef37331f550272f116f58865cf0877f28b6d373c44e76b1181306
|
|
BLAKE2b-256 checksum How to use checksums |
9100782935df9f46ee586ef8c22f2a8ae036546d8e0996485d6d2e46ab678362
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / cgd_verify-0.1.1-py3-none-any.whl
| Download URL | cgd_verify-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80e2eefcb9028a0a867c82ef4642e6a9aacaebd95808e4523b20c5baf52d7142
|
|
BLAKE2b-256 checksum How to use checksums |
5b098a8d6cca1d1420256818880c1a8dcb0f58795f9d3208a7c168300d726a73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|