Skip to main content

cgd-verify

Quick pass/fail verification for Clarity-Gated Document (.cgd) files — optimized for CI/CD pipelines.

PyPI version License: CC BY 4.0

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

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)

Source distribution for cgd-verify 0.1.1
File Size Uploaded
cgd_verify-0.1.1.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cgd-verify 0.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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